Searched refs:iov_pos (Results 1 - 2 of 2) sorted by relevance

/fuchsia/zircon/kernel/lib/iovec/
H A Diovec.c37 ssize_t iovec_to_membuf (uint8_t *buf, uint buf_len, const iovec_t *iov, uint iov_cnt, uint iov_pos) argument
47 if (iov_pos >= iov->iov_len) {
48 iov_pos -= iov->iov_len; /* skip whole chunks */
53 size_t to_copy = (size_t) (iov->iov_len - iov_pos);
60 memcpy (buf + buf_pos, (uint8_t *)iov->iov_base + iov_pos, to_copy);
70 iov_pos = 0; /* it is only possible to have fully copied iovec here */
/fuchsia/zircon/kernel/lib/libc/include/
H A Diovec.h24 const iovec_t *iov, uint iov_cnt, uint iov_pos);

Completed in 23 milliseconds