diff options
author | bryanv <bryanv@FreeBSD.org> | 2014-01-18 18:36:41 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2014-01-18 18:36:41 +0000 |
commit | ef8dde25f6ddbaeffa47fc0925b18eddfff83bfc (patch) | |
tree | 694907fe149beec229ad06fbcf9c99d355251870 /sys/sys/sglist.h | |
parent | 84f240d84540546ebb7cad7ad3b71ad86b149250 (diff) | |
download | FreeBSD-src-ef8dde25f6ddbaeffa47fc0925b18eddfff83bfc.zip FreeBSD-src-ef8dde25f6ddbaeffa47fc0925b18eddfff83bfc.tar.gz |
MFC r260581: Add sglist_append_bio(9) to append a struct bio's data to
a sglist
Diffstat (limited to 'sys/sys/sglist.h')
-rw-r--r-- | sys/sys/sglist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/sglist.h b/sys/sys/sglist.h index 7c17baa..c712f63 100644 --- a/sys/sys/sglist.h +++ b/sys/sys/sglist.h @@ -53,6 +53,7 @@ struct sglist { u_short sg_maxseg; }; +struct bio; struct mbuf; struct uio; @@ -83,6 +84,7 @@ sglist_hold(struct sglist *sg) struct sglist *sglist_alloc(int nsegs, int mflags); int sglist_append(struct sglist *sg, void *buf, size_t len); +int sglist_append_bio(struct sglist *sg, struct bio *bp); int sglist_append_mbuf(struct sglist *sg, struct mbuf *m0); int sglist_append_phys(struct sglist *sg, vm_paddr_t paddr, size_t len); |