Home
last modified time | relevance | path

Searched refs:iov_iter (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/linux-6.12.1/include/linux/
Duio.h43 struct iov_iter { struct
85 static inline const struct iovec *iter_iov(const struct iov_iter *iter) in iter_iov() argument
95 static inline enum iter_type iov_iter_type(const struct iov_iter *i) in iov_iter_type()
100 static inline void iov_iter_save_state(struct iov_iter *iter, in iov_iter_save_state()
108 static inline bool iter_is_ubuf(const struct iov_iter *i) in iter_is_ubuf()
113 static inline bool iter_is_iovec(const struct iov_iter *i) in iter_is_iovec()
118 static inline bool iov_iter_is_kvec(const struct iov_iter *i) in iov_iter_is_kvec()
123 static inline bool iov_iter_is_bvec(const struct iov_iter *i) in iov_iter_is_bvec()
128 static inline bool iov_iter_is_discard(const struct iov_iter *i) in iov_iter_is_discard()
133 static inline bool iov_iter_is_folioq(const struct iov_iter *i) in iov_iter_is_folioq()
[all …]
Dnetfs.h177 struct iov_iter io_iter; /* Iterator for this subrequest */
242 struct iov_iter iter; /* Unencrypted-side iterator */
243 struct iov_iter io_iter; /* I/O (Encrypted-side) iterator */
340 struct iov_iter *iter,
348 struct iov_iter *iter,
398 ssize_t netfs_unbuffered_read_iter_locked(struct kiocb *iocb, struct iov_iter *iter);
399 ssize_t netfs_unbuffered_read_iter(struct kiocb *iocb, struct iov_iter *iter);
400 ssize_t netfs_buffered_read_iter(struct kiocb *iocb, struct iov_iter *iter);
401 ssize_t netfs_file_read_iter(struct kiocb *iocb, struct iov_iter *iter);
404 ssize_t netfs_perform_write(struct kiocb *iocb, struct iov_iter *iter,
[all …]
Diov_iter.h24 size_t iterate_ubuf(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_ubuf()
41 size_t iterate_iovec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_iovec()
75 size_t iterate_kvec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_kvec()
109 size_t iterate_bvec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_bvec()
148 size_t iterate_folioq(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_folioq()
202 size_t iterate_xarray(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_xarray()
255 size_t iterate_discard(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_discard()
291 size_t iterate_and_advance2(struct iov_iter *iter, size_t len, void *priv, in iterate_and_advance2()
325 size_t iterate_and_advance(struct iov_iter *iter, size_t len, void *priv, in iterate_and_advance()
360 size_t iterate_and_advance_kernel(struct iov_iter *iter, size_t len, void *priv, in iterate_and_advance_kernel()
Dcrash_dump.h27 ssize_t copy_oldmem_page(struct iov_iter *i, unsigned long pfn, size_t csize,
29 ssize_t copy_oldmem_page_encrypted(struct iov_iter *iter, unsigned long pfn,
139 ssize_t read_from_oldmem(struct iov_iter *iter, size_t count,
142 static inline ssize_t read_from_oldmem(struct iov_iter *iter, size_t count, in read_from_oldmem()
Ddax.h43 void *addr, size_t bytes, struct iov_iter *iter);
70 void *addr, size_t bytes, struct iov_iter *i);
125 pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) in dax_recovery_write()
234 size_t bytes, struct iov_iter *i);
236 size_t bytes, struct iov_iter *i);
243 ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter,
Dbacking-file.h28 ssize_t backing_file_read_iter(struct file *file, struct iov_iter *iter,
31 ssize_t backing_file_write_iter(struct file *file, struct iov_iter *iter,
/linux-6.12.1/lib/
Diov_iter.c90 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()
167 *i = (struct iov_iter) { 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()
[all …]
Dkunit_iov_iter.c77 struct iov_iter *iter, int dir, in iov_kunit_load_kvec()
105 struct iov_iter iter; in iov_kunit_copy_to_kvec()
155 struct iov_iter iter; in iov_kunit_copy_from_kvec()
221 struct iov_iter *iter, int dir, in iov_kunit_load_bvec()
264 struct iov_iter iter; in iov_kunit_copy_to_bvec()
318 struct iov_iter iter; in iov_kunit_copy_from_bvec()
383 struct iov_iter *iter, int dir, in iov_kunit_load_folioq()
422 struct iov_iter iter; in iov_kunit_copy_to_folioq()
484 struct iov_iter iter; in iov_kunit_copy_from_folioq()
551 struct iov_iter *iter, int dir, in iov_kunit_load_xarray()
[all …]
/linux-6.12.1/arch/x86/kernel/
Dcrash_dump_64.c15 static ssize_t __copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, in __copy_oldmem_page()
38 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, in copy_oldmem_page()
49 ssize_t copy_oldmem_page_encrypted(struct iov_iter *iter, unsigned long pfn, in copy_oldmem_page_encrypted()
58 struct iov_iter iter; in elfcorehdr_read()
/linux-6.12.1/fs/btrfs/
Dfile.h11 struct iov_iter;
34 ssize_t btrfs_do_write_iter(struct kiocb *iocb, struct iov_iter *from,
47 int btrfs_write_check(struct kiocb *iocb, struct iov_iter *from, size_t count);
48 ssize_t btrfs_buffered_write(struct kiocb *iocb, struct iov_iter *i);
Ddirect-io.h11 ssize_t btrfs_direct_write(struct kiocb *iocb, struct iov_iter *from);
12 ssize_t btrfs_direct_read(struct kiocb *iocb, struct iov_iter *to);
/linux-6.12.1/sound/core/
Dmemory.c26 struct iov_iter iter; in copy_to_user_fromio()
44 int copy_to_iter_fromio(struct iov_iter *dst, const void __iomem *src, in copy_to_iter_fromio()
78 struct iov_iter iter; in copy_from_user_toio()
96 int copy_from_iter_toio(void __iomem *dst, struct iov_iter *src, size_t count) in copy_from_iter_toio()
/linux-6.12.1/block/
Dblk-map.c17 struct iov_iter iter;
21 static struct bio_map_data *bio_alloc_map_data(struct iov_iter *data, in bio_alloc_map_data()
48 static int bio_copy_from_iter(struct bio *bio, struct iov_iter *iter) in bio_copy_from_iter()
79 static int bio_copy_to_iter(struct bio *bio, struct iov_iter iter) in bio_copy_to_iter()
132 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov()
214 struct iov_iter iter2 = *iter; in bio_copy_user_iov()
272 static int bio_map_user_iov(struct request *rq, struct iov_iter *iter, in bio_map_user_iov()
562 static int blk_rq_map_user_bvec(struct request *rq, const struct iov_iter *iter) in blk_rq_map_user_bvec()
577 bio_iov_bvec_set(bio, (struct iov_iter *)iter); in blk_rq_map_user_bvec()
610 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov()
[all …]
/linux-6.12.1/fs/netfs/
Diterator.c36 ssize_t netfs_extract_user_iter(struct iov_iter *orig, size_t orig_len, in netfs_extract_user_iter()
37 struct iov_iter *new, in netfs_extract_user_iter()
109 static size_t netfs_limit_bvec(const struct iov_iter *iter, size_t start_offset, in netfs_limit_bvec()
151 static size_t netfs_limit_xarray(const struct iov_iter *iter, size_t start_offset, in netfs_limit_xarray()
196 static size_t netfs_limit_folioq(const struct iov_iter *iter, size_t start_offset, in netfs_limit_folioq()
239 size_t netfs_limit_iter(const struct iov_iter *iter, size_t start_offset, in netfs_limit_iter()
/linux-6.12.1/net/core/
Ddatagram.c386 struct iov_iter *i));
389 struct iov_iter *to, int len, bool fault_short, in __skb_datagram_iter()
391 struct iov_iter *), void *data) in __skb_datagram_iter() argument
486 struct iov_iter *i) in hash_and_copy_to_iter()
513 struct iov_iter *to, int len, in skb_copy_and_hash_datagram_iter()
522 void *data __always_unused, struct iov_iter *i) in simple_copy_to_iter()
535 struct iov_iter *to, int len) in skb_copy_datagram_iter()
553 struct iov_iter *from, in skb_copy_datagram_from_iter()
625 struct iov_iter *from, size_t length) in zerocopy_fill_skb_from_iter()
696 struct sk_buff *skb, struct iov_iter *from, in __zerocopy_sg_from_iter()
[all …]
/linux-6.12.1/fs/ext2/
Dfile.c35 static ssize_t ext2_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_dax_read_iter()
51 static ssize_t ext2_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_dax_write_iter()
166 static ssize_t ext2_dio_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_dio_read_iter()
212 static ssize_t ext2_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_dio_write_iter()
281 static ssize_t ext2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_file_read_iter()
293 static ssize_t ext2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_file_write_iter()
/linux-6.12.1/fs/bcachefs/
Dfs-io-direct.h6 ssize_t bch2_direct_write(struct kiocb *, struct iov_iter *);
7 ssize_t bch2_read_iter(struct kiocb *, struct iov_iter *);
/linux-6.12.1/fs/ext4/
Dfile.c55 static bool ext4_should_use_dio(struct kiocb *iocb, struct iov_iter *iter) in ext4_should_use_dio()
69 static ssize_t ext4_dio_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dio_read_iter()
102 static ssize_t ext4_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dax_read_iter()
130 static ssize_t ext4_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_file_read_iter()
196 ext4_unaligned_io(struct inode *inode, struct iov_iter *from, loff_t pos) in ext4_unaligned_io()
244 struct iov_iter *from) in ext4_generic_write_checks()
271 static ssize_t ext4_write_checks(struct kiocb *iocb, struct iov_iter *from) in ext4_write_checks()
286 struct iov_iter *from) in ext4_buffered_write_iter()
421 static ssize_t ext4_dio_write_checks(struct kiocb *iocb, struct iov_iter *from, in ext4_dio_write_checks()
498 static ssize_t ext4_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dio_write_iter()
[all …]
/linux-6.12.1/drivers/vhost/
Dvsock.c112 struct iov_iter iov_iter; in vhost_transport_do_send_pkt() local
159 iov_iter_init(&iov_iter, ITER_DEST, &vq->iov[out], in, iov_len); in vhost_transport_do_send_pkt()
195 nbytes = copy_to_iter(hdr, sizeof(*hdr), &iov_iter); in vhost_transport_do_send_pkt()
204 &iov_iter, in vhost_transport_do_send_pkt()
334 struct iov_iter iov_iter; in vhost_vsock_alloc_skb() local
352 iov_iter_init(&iov_iter, ITER_SOURCE, vq->iov, out, len); in vhost_vsock_alloc_skb()
355 nbytes = copy_from_iter(hdr, sizeof(*hdr), &iov_iter); in vhost_vsock_alloc_skb()
378 nbytes = copy_from_iter(skb->data, payload_len, &iov_iter); in vhost_vsock_alloc_skb()
887 static ssize_t vhost_vsock_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) in vhost_vsock_chr_read_iter()
898 struct iov_iter *from) in vhost_vsock_chr_write_iter()
/linux-6.12.1/fs/smb/client/
Dcifsfs.h97 extern ssize_t cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to);
98 extern ssize_t cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from);
99 ssize_t cifs_file_write_iter(struct kiocb *iocb, struct iov_iter *from);
100 ssize_t cifs_loose_read_iter(struct kiocb *iocb, struct iov_iter *iter);
/linux-6.12.1/arch/s390/include/asm/
Dmaccess.h10 struct iov_iter;
14 size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count);
/linux-6.12.1/fs/orangefs/
Dorangefs-bufmap.h29 int orangefs_bufmap_copy_from_iovec(struct iov_iter *iter,
33 int orangefs_bufmap_copy_to_iovec(struct iov_iter *iter,
/linux-6.12.1/include/net/9p/
Dtransport.h55 struct iov_iter *uidata, struct iov_iter *uodata,
Dclient.h178 struct iov_iter;
206 int p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err);
207 int p9_client_read_once(struct p9_fid *fid, u64 offset, struct iov_iter *to,
209 int p9_client_write(struct p9_fid *fid, u64 offset, struct iov_iter *from, int *err);
/linux-6.12.1/mm/
Dprocess_vm_access.c30 struct iov_iter *iter, in process_vm_rw_pages()
75 struct iov_iter *iter, in process_vm_rw_single_vec()
151 static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, in process_vm_rw_core()
265 struct iov_iter iter; in process_vm_rw()

12345678910>>...12