/linux-6.1.9/include/linux/ |
D | uio.h | 38 struct iov_iter { struct 66 static inline enum iter_type iov_iter_type(const struct iov_iter *i) in iov_iter_type() argument 71 static inline void iov_iter_save_state(struct iov_iter *iter, in iov_iter_save_state() 79 static inline bool iter_is_ubuf(const struct iov_iter *i) in iter_is_ubuf() 84 static inline bool iter_is_iovec(const struct iov_iter *i) in iter_is_iovec() 89 static inline bool iov_iter_is_kvec(const struct iov_iter *i) in iov_iter_is_kvec() 94 static inline bool iov_iter_is_bvec(const struct iov_iter *i) in iov_iter_is_bvec() 99 static inline bool iov_iter_is_pipe(const struct iov_iter *i) in iov_iter_is_pipe() 104 static inline bool iov_iter_is_discard(const struct iov_iter *i) in iov_iter_is_discard() 109 static inline bool iov_iter_is_xarray(const struct iov_iter *i) in iov_iter_is_xarray() [all …]
|
D | crash_dump.h | 27 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, 137 ssize_t read_from_oldmem(struct iov_iter *iter, size_t count, 140 static inline ssize_t read_from_oldmem(struct iov_iter *iter, size_t count, in read_from_oldmem()
|
D | dax.h | 43 void *addr, size_t bytes, struct iov_iter *iter); 68 void *addr, size_t bytes, struct iov_iter *i); 121 pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) in dax_recovery_write() 231 size_t bytes, struct iov_iter *i); 233 size_t bytes, struct iov_iter *i); 240 ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter,
|
D | iomap.h | 18 struct iov_iter; 227 ssize_t iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *from, 353 ssize_t iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, 356 struct iomap_dio *__iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
|
D | io_uring.h | 40 struct iov_iter *iter, void *ioucmd); 69 struct iov_iter *iter, void *ioucmd) in io_uring_cmd_import_fixed()
|
D | fs.h | 69 struct iov_iter; 380 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter); 397 int (*swap_rw)(struct kiocb *iocb, struct iov_iter *iter); 2106 struct iov_iter; 2114 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *); 2115 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *); 2197 struct iov_iter *iter) in call_read_iter() 2203 struct iov_iter *iter) in call_write_iter() 3155 extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *); 3160 ssize_t filemap_read(struct kiocb *iocb, struct iov_iter *to, [all …]
|
/linux-6.1.9/lib/ |
D | iov_iter.c | 196 static bool sanity(const struct iov_iter *i) in sanity() 273 static struct page *append_pipe(struct iov_iter *i, size_t size, in append_pipe() 306 struct iov_iter *i) in copy_page_to_iter_pipe() 352 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_readable() 395 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_writeable() 424 void iov_iter_init(struct iov_iter *i, unsigned int direction, in iov_iter_init() 429 *i = (struct iov_iter) { in iov_iter_init() 443 static inline unsigned int pipe_npages(const struct iov_iter *i, int *npages) in pipe_npages() 459 struct iov_iter *i) in copy_pipe_to_iter() 490 struct iov_iter *i, __wsum *sump) in csum_and_copy_to_pipe_iter() [all …]
|
/linux-6.1.9/arch/x86/kernel/ |
D | crash_dump_64.c | 15 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.1.9/fs/cifs/ |
D | cifsfs.h | 97 extern ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to); 98 extern ssize_t cifs_direct_readv(struct kiocb *iocb, struct iov_iter *to); 99 extern ssize_t cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to); 100 extern ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from); 101 extern ssize_t cifs_direct_writev(struct kiocb *iocb, struct iov_iter *from); 102 extern ssize_t cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from);
|
/linux-6.1.9/block/ |
D | blk-map.c | 17 struct iov_iter iter; 21 static struct bio_map_data *bio_alloc_map_data(struct iov_iter *data, in bio_alloc_map_data() 46 static int bio_copy_from_iter(struct bio *bio, struct iov_iter *iter) in bio_copy_from_iter() 77 static int bio_copy_to_iter(struct bio *bio, struct iov_iter iter) in bio_copy_to_iter() 130 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov() 265 static int bio_map_user_iov(struct request *rq, struct iov_iter *iter, in bio_map_user_iov() 552 static int blk_rq_map_user_bvec(struct request *rq, const struct iov_iter *iter) in blk_rq_map_user_bvec() 573 bio_iov_bvec_set(bio, (struct iov_iter *)iter); in blk_rq_map_user_bvec() 624 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov() 629 struct iov_iter i; in blk_rq_map_user_iov() [all …]
|
D | fops.c | 46 struct iov_iter *iter) in blkdev_dio_unaligned() 55 struct iov_iter *iter, unsigned int nr_pages) in __blkdev_direct_IO_simple() 170 static ssize_t __blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, in __blkdev_direct_IO() 295 struct iov_iter *iter, in __blkdev_direct_IO_async() 358 static ssize_t blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in blkdev_direct_IO() 510 static ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from) in blkdev_write_iter() 549 static ssize_t blkdev_read_iter(struct kiocb *iocb, struct iov_iter *to) in blkdev_read_iter()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | maccess.h | 7 struct iov_iter; 11 size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count);
|
/linux-6.1.9/fs/ext2/ |
D | file.c | 33 static ssize_t ext2_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_dax_read_iter() 49 static ssize_t ext2_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_dax_write_iter() 164 static ssize_t ext2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_file_read_iter() 173 static ssize_t ext2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_file_write_iter()
|
/linux-6.1.9/fs/orangefs/ |
D | orangefs-bufmap.h | 29 int orangefs_bufmap_copy_from_iovec(struct iov_iter *iter, 33 int orangefs_bufmap_copy_to_iovec(struct iov_iter *iter,
|
/linux-6.1.9/net/core/ |
D | datagram.c | 404 struct iov_iter *i)); 407 struct iov_iter *to, int len, bool fault_short, in __skb_datagram_iter() 409 struct iov_iter *), void *data) in __skb_datagram_iter() argument 502 struct iov_iter *to, int len, in skb_copy_and_hash_datagram_iter() 511 void *data __always_unused, struct iov_iter *i) in simple_copy_to_iter() 524 struct iov_iter *to, int len) in skb_copy_datagram_iter() 542 struct iov_iter *from, in skb_copy_datagram_from_iter() 614 struct sk_buff *skb, struct iov_iter *from, in __zerocopy_sg_from_iter() 699 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *from) in zerocopy_sg_from_iter() 721 struct iov_iter *to, int len, in skb_copy_and_csum_datagram()
|
/linux-6.1.9/fs/ext4/ |
D | file.c | 55 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() 185 ext4_unaligned_io(struct inode *inode, struct iov_iter *from, loff_t pos) in ext4_unaligned_io() 229 struct iov_iter *from) in ext4_generic_write_checks() 256 static ssize_t ext4_write_checks(struct kiocb *iocb, struct iov_iter *from) in ext4_write_checks() 271 struct iov_iter *from) in ext4_buffered_write_iter() 437 static ssize_t ext4_dio_write_checks(struct kiocb *iocb, struct iov_iter *from, in ext4_dio_write_checks() 486 static ssize_t ext4_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dio_write_iter() [all …]
|
/linux-6.1.9/drivers/vhost/ |
D | vsock.c | 112 struct iov_iter iov_iter; in vhost_transport_do_send_pkt() local 168 iov_iter_init(&iov_iter, READ, &vq->iov[out], in, iov_len); in vhost_transport_do_send_pkt() 202 nbytes = copy_to_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter); in vhost_transport_do_send_pkt() 210 &iov_iter); in vhost_transport_do_send_pkt() 360 struct iov_iter iov_iter; in vhost_vsock_alloc_pkt() local 374 iov_iter_init(&iov_iter, WRITE, vq->iov, out, len); in vhost_vsock_alloc_pkt() 376 nbytes = copy_from_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter); in vhost_vsock_alloc_pkt() 404 nbytes = copy_from_iter(pkt->buf, pkt->len, &iov_iter); in vhost_vsock_alloc_pkt() 908 static ssize_t vhost_vsock_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) in vhost_vsock_chr_read_iter() 919 struct iov_iter *from) in vhost_vsock_chr_write_iter()
|
D | scsi.c | 232 struct iov_iter out_iter; 546 struct iov_iter iov_iter; in vhost_scsi_complete_cmd_work() local 566 iov_iter_init(&iov_iter, READ, &cmd->tvc_resp_iov, in vhost_scsi_complete_cmd_work() 568 ret = copy_to_iter(&v_rsp, sizeof(v_rsp), &iov_iter); in vhost_scsi_complete_cmd_work() 641 struct iov_iter *iter, in vhost_scsi_map_to_sgl() 667 vhost_scsi_calc_sgls(struct iov_iter *iter, size_t bytes, int max_sgls) in vhost_scsi_calc_sgls() 688 struct iov_iter *iter, in vhost_scsi_iov_to_sgl() 711 size_t prot_bytes, struct iov_iter *prot_iter, in vhost_scsi_mapal() 712 size_t data_bytes, struct iov_iter *data_iter) in vhost_scsi_mapal() 935 struct iov_iter in_iter, prot_iter, data_iter; in vhost_scsi_handle_vq() [all …]
|
/linux-6.1.9/include/net/9p/ |
D | transport.h | 55 struct iov_iter *uidata, struct iov_iter *uodata,
|
D | client.h | 178 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.1.9/mm/ |
D | process_vm_access.c | 30 struct iov_iter *iter, in process_vm_rw_pages() 72 struct iov_iter *iter, in process_vm_rw_single_vec() 150 static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, in process_vm_rw_core() 264 struct iov_iter iter; in process_vm_rw()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_file.c | 220 struct iov_iter *to) in xfs_file_dio_read() 244 struct iov_iter *to) in xfs_file_dax_read() 267 struct iov_iter *to) in xfs_file_buffered_read() 286 struct iov_iter *to) in xfs_file_read_iter() 319 struct iov_iter *from, in xfs_file_write_checks() 521 struct iov_iter *from) in xfs_file_dio_write_aligned() 572 struct iov_iter *from) in xfs_file_dio_write_unaligned() 644 struct iov_iter *from) in xfs_file_dio_write() 661 struct iov_iter *from) in xfs_file_dax_write() 702 struct iov_iter *from) in xfs_file_buffered_write() [all …]
|
/linux-6.1.9/fs/ |
D | read_write.c | 382 struct iov_iter iter; in new_sync_read() 411 struct iov_iter iter; in __kernel_read() 484 struct iov_iter iter; in new_sync_write() 499 ssize_t __kernel_write_iter(struct file *file, struct iov_iter *from, loff_t *pos) in __kernel_write_iter() 535 struct iov_iter iter; in __kernel_write() 720 static ssize_t do_iter_readv_writev(struct file *filp, struct iov_iter *iter, in do_iter_readv_writev() 743 static ssize_t do_loop_readv_writev(struct file *filp, struct iov_iter *iter, in do_loop_readv_writev() 777 static ssize_t do_iter_read(struct file *file, struct iov_iter *iter, in do_iter_read() 806 struct iov_iter *iter) in vfs_iocb_iter_read() 833 ssize_t vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos, in vfs_iter_read() [all …]
|
/linux-6.1.9/fs/configfs/ |
D | file.c | 80 static ssize_t configfs_read_iter(struct kiocb *iocb, struct iov_iter *to) in configfs_read_iter() 106 static ssize_t configfs_bin_read_iter(struct kiocb *iocb, struct iov_iter *to) in configfs_bin_read_iter() 182 struct iov_iter *from) in fill_write_buffer() 220 static ssize_t configfs_write_iter(struct kiocb *iocb, struct iov_iter *from) in configfs_write_iter() 237 struct iov_iter *from) in configfs_bin_write_iter()
|
/linux-6.1.9/net/qrtr/ |
D | tun.c | 59 static ssize_t qrtr_tun_read_iter(struct kiocb *iocb, struct iov_iter *to) in qrtr_tun_read_iter() 85 static ssize_t qrtr_tun_write_iter(struct kiocb *iocb, struct iov_iter *from) in qrtr_tun_write_iter()
|