Lines Matching refs:iov_len
86 size_t partlen = min(iov->iov[iov->i].iov_len, len); in vringh_kiov_advance()
89 iov->iov[iov->i].iov_len -= partlen; in vringh_kiov_advance()
92 if (!iov->iov[iov->i].iov_len) { in vringh_kiov_advance()
94 iov->iov[iov->i].iov_len = iov->consumed; in vringh_kiov_advance()
119 partlen = min(iov->iov[iov->i].iov_len, len); in vringh_iov_xfer()
127 iov->iov[iov->i].iov_len -= partlen; in vringh_iov_xfer()
130 if (!iov->iov[iov->i].iov_len) { in vringh_iov_xfer()
132 iov->iov[iov->i].iov_len = iov->consumed; in vringh_iov_xfer()
410 iov->iov[iov->used].iov_len = len; in __vringh_iov()
734 BUILD_BUG_ON(offsetof(struct iovec, iov_len) != in vringh_getdesc_user()
735 offsetof(struct kvec, iov_len)); in vringh_getdesc_user()
738 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_len) in vringh_getdesc_user()
739 != sizeof(((struct kvec *)NULL)->iov_len)); in vringh_getdesc_user()