Lines Matching refs:iov_len

32 		len = min(n, __p->iov_len - skip);		\
39 if (skip < __p->iov_len) \
225 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_readable()
268 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_writeable()
633 if (likely(size < iov->iov_len)) in iov_iter_iovec_advance()
635 size -= iov->iov_len; in iov_iter_iovec_advance()
694 size_t n = (--iov)->iov_len; in iov_iter_revert()
714 return min(i->count, iter_iov(i)->iov_len - i->iov_offset); in iov_iter_single_seg_count()
816 size_t len = iov->iov_len - skip; in iov_iter_aligned_iovec()
903 size_t len = iov->iov_len - skip; in iov_iter_alignment_iovec()
975 if (iov->iov_len) { in iov_iter_gap_alignment()
979 v = base + iov->iov_len; in iov_iter_gap_alignment()
980 if (size <= iov->iov_len) in iov_iter_gap_alignment()
982 size -= iov->iov_len; in iov_iter_gap_alignment()
1069 size_t len = iov->iov_len - skip; in first_iovec_segment()
1264 size_t len = min(p->iov_len - skip, size); in iov_npages()
1347 unsafe_get_user(len, &uiov[i].iov_len, uaccess_end); in copy_compat_iovec_from_user()
1356 iov[i].iov_len = len; in copy_compat_iovec_from_user()
1377 unsafe_get_user(len, &uiov->iov_len, uaccess_end); in copy_iovec_from_user()
1386 iov->iov_len = len; in copy_iovec_from_user()
1449 ret = import_ubuf(type, iov->iov_base, iov->iov_len, i); in __import_iovec_ubuf()
1482 ssize_t len = (ssize_t)iov[seg].iov_len; in __import_iovec()
1493 iov[seg].iov_len = len; in __import_iovec()
1707 size = min(maxsize, i->kvec->iov_len - skip); in iov_iter_extract_kvec_pages()