• Home
  • Raw
  • Download

Lines Matching refs:iov_len

23 	copy = min(bytes, iov->iov_len - skip);  in copy_to_iter_iovec()
33 copy = min(bytes, iov->iov_len); in copy_to_iter_iovec()
41 if (skip == iov->iov_len) { in copy_to_iter_iovec()
68 copy = min(bytes, iov->iov_len - skip); in copy_from_iter_iovec()
78 copy = min(bytes, iov->iov_len); in copy_from_iter_iovec()
86 if (skip == iov->iov_len) { in copy_from_iter_iovec()
115 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec()
131 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec()
145 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec()
158 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec()
167 if (skip == iov->iov_len) { in copy_page_to_iter_iovec()
196 copy = min(bytes, iov->iov_len - skip); in copy_page_from_iter_iovec()
212 copy = min(bytes, iov->iov_len); in copy_page_from_iter_iovec()
226 copy = min(bytes, iov->iov_len - skip); in copy_page_from_iter_iovec()
239 copy = min(bytes, iov->iov_len); in copy_page_from_iter_iovec()
248 if (skip == iov->iov_len) { in copy_page_from_iter_iovec()
275 copy = min(bytes, iov->iov_len - skip); in zero_iovec()
285 copy = min(bytes, iov->iov_len); in zero_iovec()
292 if (skip == iov->iov_len) { in zero_iovec()
310 int copy = min(bytes, iov->iov_len - base); in __iovec_copy_from_user_inatomic()
367 while (bytes || unlikely(i->count && !iov->iov_len)) { in advance_iovec()
370 copy = min(bytes, iov->iov_len - base); in advance_iovec()
375 if (iov->iov_len == base) { in advance_iovec()
400 bytes = min(bytes, i->iov->iov_len - i->iov_offset); in iov_iter_fault_in_readable()
418 n = iov->iov_len - i->iov_offset; in alignment_iovec()
423 while (size > (++iov)->iov_len) { in alignment_iovec()
424 res |= (unsigned long)iov->iov_base | iov->iov_len; in alignment_iovec()
425 size -= iov->iov_len; in alignment_iovec()
457 len = iov->iov_len - offset; in get_pages_iovec()
486 len = iov->iov_len - offset; in get_pages_alloc_iovec()
521 size_t len = iov->iov_len - offset; in iov_iter_npages_iovec()
916 return min(i->count, i->iov->iov_len - i->iov_offset); in iov_iter_single_seg_count()