Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/sglist.h
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | struct sglist { | ||||
| struct sglist_seg *sg_segs; | struct sglist_seg *sg_segs; | ||||
| u_int sg_refs; | u_int sg_refs; | ||||
| u_short sg_nseg; | u_short sg_nseg; | ||||
| u_short sg_maxseg; | u_short sg_maxseg; | ||||
| }; | }; | ||||
| struct bio; | struct bio; | ||||
| struct mbuf; | struct mbuf; | ||||
| struct thread; | |||||
| struct uio; | struct uio; | ||||
| static __inline void | static __inline void | ||||
| sglist_init(struct sglist *sg, u_short maxsegs, struct sglist_seg *segs) | sglist_init(struct sglist *sg, u_short maxsegs, struct sglist_seg *segs) | ||||
| { | { | ||||
| sg->sg_segs = segs; | sg->sg_segs = segs; | ||||
| sg->sg_nseg = 0; | sg->sg_nseg = 0; | ||||
| ▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines | |||||