Lines Matching defs:i
18 #define iterate_buf(i, n, base, len, off, __p, STEP) { \ argument
28 #define iterate_iovec(i, n, base, len, off, __p, STEP) { \ argument
49 #define iterate_bvec(i, n, base, len, off, p, STEP) { \ argument
77 #define iterate_xarray(i, n, base, len, __off, STEP) { \ argument
117 #define __iterate_and_advance(i, n, base, len, off, I, K) { \ argument
159 #define iterate_and_advance(i, n, base, len, off, I, K) \ argument
212 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_readable()
255 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_writeable()
284 void iov_iter_init(struct iov_iter *i, unsigned int direction, in iov_iter_init()
310 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in _copy_to_iter()
359 size_t _copy_mc_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in _copy_mc_to_iter()
375 static void *memcpy_from_iter(struct iov_iter *i, void *to, const void *from, in memcpy_from_iter()
383 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in _copy_from_iter()
399 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) in _copy_from_iter_nocache()
430 size_t _copy_from_iter_flushcache(void *addr, size_t bytes, struct iov_iter *i) in _copy_from_iter_flushcache()
469 struct iov_iter *i) in copy_page_to_iter()
498 struct iov_iter *i) in copy_page_to_iter_nofault()
532 struct iov_iter *i) in copy_page_from_iter()
558 size_t iov_iter_zero(size_t bytes, struct iov_iter *i) in iov_iter_zero()
570 size_t bytes, struct iov_iter *i) in copy_page_from_iter_atomic()
603 static void iov_iter_bvec_advance(struct iov_iter *i, size_t size) in iov_iter_bvec_advance()
623 static void iov_iter_iovec_advance(struct iov_iter *i, size_t size) in iov_iter_iovec_advance()
642 void iov_iter_advance(struct iov_iter *i, size_t size) in iov_iter_advance()
660 void iov_iter_revert(struct iov_iter *i, size_t unroll) in iov_iter_revert()
710 size_t iov_iter_single_seg_count(const struct iov_iter *i) in iov_iter_single_seg_count()
722 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, in iov_iter_kvec()
739 void iov_iter_bvec(struct iov_iter *i, unsigned int direction, in iov_iter_bvec()
769 void iov_iter_xarray(struct iov_iter *i, unsigned int direction, in iov_iter_xarray()
794 void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count) in iov_iter_discard()
807 static bool iov_iter_aligned_iovec(const struct iov_iter *i, unsigned addr_mask, in iov_iter_aligned_iovec()
832 static bool iov_iter_aligned_bvec(const struct iov_iter *i, unsigned addr_mask, in iov_iter_aligned_bvec()
866 bool iov_iter_is_aligned(const struct iov_iter *i, unsigned addr_mask, in iov_iter_is_aligned()
894 static unsigned long iov_iter_alignment_iovec(const struct iov_iter *i) in iov_iter_alignment_iovec()
917 static unsigned long iov_iter_alignment_bvec(const struct iov_iter *i) in iov_iter_alignment_bvec()
937 unsigned long iov_iter_alignment(const struct iov_iter *i) in iov_iter_alignment()
960 unsigned long iov_iter_gap_alignment(const struct iov_iter *i) in iov_iter_gap_alignment()
1032 static ssize_t iter_xarray_get_pages(struct iov_iter *i, in iter_xarray_get_pages()
1059 static unsigned long first_iovec_segment(const struct iov_iter *i, size_t *size) in first_iovec_segment()
1081 static struct page *first_bvec_segment(const struct iov_iter *i, in first_bvec_segment()
1096 static ssize_t __iov_iter_get_pages_alloc(struct iov_iter *i, in __iov_iter_get_pages_alloc()
1157 ssize_t iov_iter_get_pages2(struct iov_iter *i, struct page **pages, in iov_iter_get_pages2()
1168 ssize_t iov_iter_get_pages_alloc2(struct iov_iter *i, in iov_iter_get_pages_alloc2()
1185 struct iov_iter *i) in csum_and_copy_from_iter()
1206 struct iov_iter *i) in csum_and_copy_to_iter()
1238 struct iov_iter *i) in hash_and_copy_to_iter()
1256 static int iov_npages(const struct iov_iter *i, int maxpages) in iov_npages()
1276 static int bvec_npages(const struct iov_iter *i, int maxpages) in bvec_npages()
1294 int iov_iter_npages(const struct iov_iter *i, int maxpages) in iov_iter_npages()
1338 int ret = -EFAULT, i; in copy_compat_iovec_from_user() local
1436 struct iovec **iovp, struct iov_iter *i, in __import_iovec_ubuf()
1458 struct iov_iter *i, bool compat) in __import_iovec()
1530 struct iovec **iovp, struct iov_iter *i) in import_iovec()
1538 struct iovec *iov, struct iov_iter *i) in import_single_range()
1550 int import_ubuf(int rw, void __user *buf, size_t len, struct iov_iter *i) in import_ubuf()
1574 void iov_iter_restore(struct iov_iter *i, struct iov_iter_state *state) in iov_iter_restore()
1604 static ssize_t iov_iter_extract_xarray_pages(struct iov_iter *i, in iov_iter_extract_xarray_pages()
1650 static ssize_t iov_iter_extract_bvec_pages(struct iov_iter *i, in iov_iter_extract_bvec_pages()
1693 static ssize_t iov_iter_extract_kvec_pages(struct iov_iter *i, in iov_iter_extract_kvec_pages()
1757 static ssize_t iov_iter_extract_user_pages(struct iov_iter *i, in iov_iter_extract_user_pages()
1833 ssize_t iov_iter_extract_pages(struct iov_iter *i, in iov_iter_extract_pages()