Lines Matching defs:i
90 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_readable()
133 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_writeable()
162 void iov_iter_init(struct iov_iter *i, unsigned int direction, in iov_iter_init()
179 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in _copy_to_iter()
234 size_t _copy_mc_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in _copy_mc_to_iter()
247 size_t __copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in __copy_from_iter()
253 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in _copy_from_iter()
271 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) in _copy_from_iter_nocache()
314 size_t _copy_from_iter_flushcache(void *addr, size_t bytes, struct iov_iter *i) in _copy_from_iter_flushcache()
350 struct iov_iter *i) in copy_page_to_iter()
379 struct iov_iter *i) in copy_page_to_iter_nofault()
412 struct iov_iter *i) in copy_page_from_iter()
453 size_t iov_iter_zero(size_t bytes, struct iov_iter *i) in iov_iter_zero()
461 size_t bytes, struct iov_iter *i) in copy_page_from_iter_atomic()
493 static void iov_iter_bvec_advance(struct iov_iter *i, size_t size) in iov_iter_bvec_advance()
513 static void iov_iter_iovec_advance(struct iov_iter *i, size_t size) in iov_iter_iovec_advance()
532 static void iov_iter_folioq_advance(struct iov_iter *i, size_t size) in iov_iter_folioq_advance()
565 void iov_iter_advance(struct iov_iter *i, size_t size) in iov_iter_advance()
585 static void iov_iter_folioq_revert(struct iov_iter *i, size_t unroll) in iov_iter_folioq_revert()
611 void iov_iter_revert(struct iov_iter *i, size_t unroll) in iov_iter_revert()
664 size_t iov_iter_single_seg_count(const struct iov_iter *i) in iov_iter_single_seg_count()
679 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, in iov_iter_kvec()
695 void iov_iter_bvec(struct iov_iter *i, unsigned int direction, in iov_iter_bvec()
725 void iov_iter_folio_queue(struct iov_iter *i, unsigned int direction, in iov_iter_folio_queue()
754 void iov_iter_xarray(struct iov_iter *i, unsigned int direction, in iov_iter_xarray()
778 void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count) in iov_iter_discard()
790 static bool iov_iter_aligned_iovec(const struct iov_iter *i, unsigned addr_mask, in iov_iter_aligned_iovec()
815 static bool iov_iter_aligned_bvec(const struct iov_iter *i, unsigned addr_mask, in iov_iter_aligned_bvec()
850 bool iov_iter_is_aligned(const struct iov_iter *i, unsigned addr_mask, in iov_iter_is_aligned()
885 static unsigned long iov_iter_alignment_iovec(const struct iov_iter *i) in iov_iter_alignment_iovec()
907 static unsigned long iov_iter_alignment_bvec(const struct iov_iter *i) in iov_iter_alignment_bvec()
928 unsigned long iov_iter_alignment(const struct iov_iter *i) in iov_iter_alignment()
954 unsigned long iov_iter_gap_alignment(const struct iov_iter *i) in iov_iter_gap_alignment()
1085 static ssize_t iter_xarray_get_pages(struct iov_iter *i, in iter_xarray_get_pages()
1112 static unsigned long first_iovec_segment(const struct iov_iter *i, size_t *size) in first_iovec_segment()
1134 static struct page *first_bvec_segment(const struct iov_iter *i, in first_bvec_segment()
1149 static ssize_t __iov_iter_get_pages_alloc(struct iov_iter *i, in __iov_iter_get_pages_alloc()
1212 ssize_t iov_iter_get_pages2(struct iov_iter *i, struct page **pages, in iov_iter_get_pages2()
1223 ssize_t iov_iter_get_pages_alloc2(struct iov_iter *i, in iov_iter_get_pages_alloc2()
1239 static int iov_npages(const struct iov_iter *i, int maxpages) in iov_npages()
1259 static int bvec_npages(const struct iov_iter *i, int maxpages) in bvec_npages()
1277 int iov_iter_npages(const struct iov_iter *i, int maxpages) in iov_iter_npages()
1327 u32 i; in copy_compat_iovec_from_user() local
1425 struct iovec **iovp, struct iov_iter *i, in __import_iovec_ubuf()
1447 struct iov_iter *i, bool compat) in __import_iovec()
1519 struct iovec **iovp, struct iov_iter *i) in import_iovec()
1526 int import_ubuf(int rw, void __user *buf, size_t len, struct iov_iter *i) in import_ubuf()
1550 void iov_iter_restore(struct iov_iter *i, struct iov_iter_state *state) in iov_iter_restore()
1580 static ssize_t iov_iter_extract_folioq_pages(struct iov_iter *i, in iov_iter_extract_folioq_pages()
1642 static ssize_t iov_iter_extract_xarray_pages(struct iov_iter *i, in iov_iter_extract_xarray_pages()
1688 static ssize_t iov_iter_extract_bvec_pages(struct iov_iter *i, in iov_iter_extract_bvec_pages()
1731 static ssize_t iov_iter_extract_kvec_pages(struct iov_iter *i, in iov_iter_extract_kvec_pages()
1795 static ssize_t iov_iter_extract_user_pages(struct iov_iter *i, in iov_iter_extract_user_pages()
1871 ssize_t iov_iter_extract_pages(struct iov_iter *i, in iov_iter_extract_pages()