diff options
author | jhb <jhb@FreeBSD.org> | 2016-05-20 23:28:43 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-05-20 23:28:43 +0000 |
commit | ca492fdb2dc89b23ef0fefb029dea1b73243396e (patch) | |
tree | 7491ae1dc744661bd8c6d437c0366e366a27891f /lib/libc/stdio/setbuffer.c | |
parent | 5a01e6efad18c418c1020e4161d57790f994b24f (diff) | |
download | FreeBSD-src-ca492fdb2dc89b23ef0fefb029dea1b73243396e.zip FreeBSD-src-ca492fdb2dc89b23ef0fefb029dea1b73243396e.tar.gz |
Add sglist functions for working with arrays of VM pages.
sglist_count_vmpages() determines the number of segments required for
a buffer described by an array of VM pages. sglist_append_vmpages()
adds the segments described by such a buffer to an sglist. The latter
function is largely pulled from sglist_append_bio(), and
sglist_append_bio() now uses sglist_append_vmpages().
Reviewed by: kib
Sponsored by: Chelsio Communications
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions