Lines Matching full:skip
99 size_t skip; in fault_in_iov_iter_readable() local
102 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_readable()
103 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_readable()
108 ret = fault_in_readable(p->iov_base + skip, len); in fault_in_iov_iter_readable()
142 size_t skip; in fault_in_iov_iter_writeable() local
145 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_writeable()
146 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_writeable()
151 ret = fault_in_safe_writeable(p->iov_base + skip, len); in fault_in_iov_iter_writeable()
795 size_t skip = i->iov_offset; in iov_iter_aligned_iovec() local
798 size_t len = iov->iov_len - skip; in iov_iter_aligned_iovec()
804 if ((unsigned long)(iov->iov_base + skip) & addr_mask) in iov_iter_aligned_iovec()
809 skip = 0; in iov_iter_aligned_iovec()
819 unsigned skip = i->iov_offset; in iov_iter_aligned_bvec() local
829 if ((unsigned long)(bvec->bv_offset + skip) & addr_mask) in iov_iter_aligned_bvec()
834 skip = 0; in iov_iter_aligned_bvec()
890 size_t skip = i->iov_offset; in iov_iter_alignment_iovec() local
893 size_t len = iov->iov_len - skip; in iov_iter_alignment_iovec()
895 res |= (unsigned long)iov->iov_base + skip; in iov_iter_alignment_iovec()
902 skip = 0; in iov_iter_alignment_iovec()
912 unsigned skip = i->iov_offset; in iov_iter_alignment_bvec() local
915 size_t len = bvec->bv_len - skip; in iov_iter_alignment_bvec()
916 res |= (unsigned long)bvec->bv_offset + skip; in iov_iter_alignment_bvec()
922 skip = 0; in iov_iter_alignment_bvec()
1114 size_t skip; in first_iovec_segment() local
1120 for (k = 0, skip = i->iov_offset; k < i->nr_segs; k++, skip = 0) { in first_iovec_segment()
1122 size_t len = iov->iov_len - skip; in first_iovec_segment()
1128 return (unsigned long)iov->iov_base + skip; in first_iovec_segment()
1138 size_t skip = i->iov_offset, len; in first_bvec_segment() local
1140 len = i->bvec->bv_len - skip; in first_bvec_segment()
1143 skip += i->bvec->bv_offset; in first_bvec_segment()
1144 page = i->bvec->bv_page + skip / PAGE_SIZE; in first_bvec_segment()
1145 *start = skip % PAGE_SIZE; in first_bvec_segment()
1241 size_t skip = i->iov_offset, size = i->count; in iov_npages() local
1245 for (p = iter_iov(i); size; skip = 0, p++) { in iov_npages()
1246 unsigned offs = offset_in_page(p->iov_base + skip); in iov_npages()
1247 size_t len = min(p->iov_len - skip, size); in iov_npages()
1261 size_t skip = i->iov_offset, size = i->count; in bvec_npages() local
1265 for (p = i->bvec; size; skip = 0, p++) { in bvec_npages()
1266 unsigned offs = (p->bv_offset + skip) % PAGE_SIZE; in bvec_npages()
1267 size_t len = min(p->bv_len - skip, size); in bvec_npages()
1695 size_t skip = i->iov_offset, offset, size; in iov_iter_extract_bvec_pages() local
1701 size = min(maxsize, i->bvec->bv_len - skip); in iov_iter_extract_bvec_pages()
1707 skip = 0; in iov_iter_extract_bvec_pages()
1710 skip += i->bvec->bv_offset; in iov_iter_extract_bvec_pages()
1711 page = i->bvec->bv_page + skip / PAGE_SIZE; in iov_iter_extract_bvec_pages()
1712 offset = skip % PAGE_SIZE; in iov_iter_extract_bvec_pages()
1739 size_t skip = i->iov_offset, offset, len, size; in iov_iter_extract_kvec_pages() local
1745 size = min(maxsize, i->kvec->iov_len - skip); in iov_iter_extract_kvec_pages()
1751 skip = 0; in iov_iter_extract_kvec_pages()
1754 kaddr = i->kvec->iov_base + skip; in iov_iter_extract_kvec_pages()