unsigned iolist_count(const iolist_t *iolist)
Count number of entries in an iolist_t.
size_t iolist_size(const iolist_t *iolist)
Sum up number of bytes in iolist.
size_t iolist_to_iovec(const iolist_t *iolist, struct iovec *iov, unsigned *count)
Create struct iovec from iolist.
iolist structure definition
void * iol_base
ptr to this list entries data
size of data pointet to by ptr
iolist_t * iol_next
ptr to next list entry
Structure for scatter/gather I/O.