Provides linked-list scatter / gather IO. More...
Provides linked-list scatter / gather IO.
|iolist scatter / gather IO |
|iolist structure definition More...|
|typedef struct iolist||iolist_t|
|iolist forward declaration |
|unsigned||iolist_count (const iolist_t *iolist)|
|Count number of entries in an iolist_t. More...|
|size_t||iolist_size (const iolist_t *iolist)|
|Sum up number of bytes in iolist. More...|
|size_t||iolist_to_iovec (const iolist_t *iolist, struct iovec *iov, unsigned *count)|
|Create struct iovec from iolist. More...|
|unsigned iolist_count||(||const iolist_t *||iolist||)|
Count number of entries in an iolist_t.
|[in]||iolist||iolist to count|
Sum up number of bytes in iolist.
This function returns the summed ip lenght values of all entries in
|[in]||iolist||iolist to sum up|
Create struct iovec from iolist.
This function fills an array of struct iovecs with the contents of
iolist. It will write the number of used array entries into
The caller must ensure that
iov p points to an array of size >= count!
|[in]||iolist||iolist to read from|
|[out]||iov||ptr to array of struct iovec that will be filled|
|[out]||count||number of elements in |