Home
last modified time | relevance | path

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

12345678

/linux/include/linux/
A Duio.h36 struct iov_iter { struct
134 size_t bytes, struct iov_iter *i);
136 void iov_iter_revert(struct iov_iter *i, size_t bytes);
141 struct iov_iter *i);
143 struct iov_iter *i);
253 const void *dup_iter(struct iov_iter *new, struct iov_iter *old, gfp_t flags);
297 __wsum *csum, struct iov_iter *i) in csum_and_copy_from_iter_full()
306 struct iov_iter *i);
313 struct iov_iter *i);
316 struct iov_iter *i, bool compat);
[all …]
A Ddax.h33 struct iov_iter *);
36 struct iov_iter *);
195 size_t bytes, struct iov_iter *i);
197 size_t bytes, struct iov_iter *i);
202 ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter,
A Diomap.h18 struct iov_iter;
221 ssize_t iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *from,
340 ssize_t iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
343 struct iomap_dio *__iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
A Dfs.h67 struct iov_iter;
399 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
2067 struct iov_iter;
2074 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
2075 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
2154 struct iov_iter *iter) in call_read_iter()
2160 struct iov_iter *iter) in call_write_iter()
3219 struct iov_iter *iter);
3221 struct iov_iter *iter);
3263 struct block_device *bdev, struct iov_iter *iter,
[all …]
A Dnetfs.h209 struct iov_iter *iter,
217 struct iov_iter *iter,
/linux/lib/
A Diov_iter.c174 struct iov_iter *i) in copy_page_to_iter_iovec()
258 struct iov_iter *i) in copy_page_from_iter_iovec()
385 struct iov_iter *i) in copy_page_to_iter_pipe()
514 *i = (struct iov_iter) { in iov_iter_init()
596 struct iov_iter *i) in copy_pipe_to_iter()
687 struct iov_iter *i) in copy_mc_pipe_to_iter()
849 struct iov_iter *i) in __copy_page_to_iter()
872 struct iov_iter *i) in copy_page_to_iter()
897 struct iov_iter *i) in copy_page_from_iter()
1177 *i = (struct iov_iter){ in iov_iter_kvec()
[all …]
/linux/fs/cifs/
A Dcifsfs.h97 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/block/
A 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()
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()
233 static int bio_map_user_iov(struct request *rq, struct iov_iter *iter, in bio_map_user_iov()
523 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov()
528 struct iov_iter i; in blk_rq_map_user_iov()
570 struct iov_iter i; in blk_rq_map_user()
A Dfops.c56 struct iov_iter *iter, unsigned int nr_pages) in __blkdev_direct_IO_simple()
185 static ssize_t __blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, in __blkdev_direct_IO()
310 struct iov_iter *iter, in __blkdev_direct_IO_async()
373 static ssize_t blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in blkdev_direct_IO()
526 static ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from) in blkdev_write_iter()
565 static ssize_t blkdev_read_iter(struct kiocb *iocb, struct iov_iter *to) in blkdev_read_iter()
/linux/net/core/
A Ddatagram.c410 struct iov_iter *i));
413 struct iov_iter *to, int len, bool fault_short, in __skb_datagram_iter()
415 struct iov_iter *), void *data) in __skb_datagram_iter() argument
508 struct iov_iter *to, int len, in skb_copy_and_hash_datagram_iter()
517 void *data __always_unused, struct iov_iter *i) in simple_copy_to_iter()
530 struct iov_iter *to, int len) in skb_copy_datagram_iter()
548 struct iov_iter *from, in skb_copy_datagram_from_iter()
620 struct iov_iter *from, size_t length) in __zerocopy_sg_from_iter()
700 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *from) in zerocopy_sg_from_iter()
722 struct iov_iter *to, int len, in skb_copy_and_csum_datagram()
A Ddatagram.h10 struct iov_iter;
13 struct iov_iter *from, size_t length);
/linux/fs/ext2/
A Dfile.c33 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/drivers/vhost/
A Dvsock.c112 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()
905 static ssize_t vhost_vsock_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) in vhost_vsock_chr_read_iter()
916 struct iov_iter *from) in vhost_vsock_chr_write_iter()
A Dscsi.c226 struct iov_iter out_iter;
541 struct iov_iter iov_iter; in vhost_scsi_complete_cmd_work() local
636 struct iov_iter *iter, in vhost_scsi_map_to_sgl()
685 struct iov_iter *iter, in vhost_scsi_iov_to_sgl()
708 size_t prot_bytes, struct iov_iter *prot_iter, in vhost_scsi_mapal()
709 size_t data_bytes, struct iov_iter *data_iter) in vhost_scsi_mapal()
932 struct iov_iter in_iter, prot_iter, data_iter; in vhost_scsi_handle_vq()
1139 struct iov_iter iov_iter; in vhost_scsi_send_tmf_resp() local
1148 ret = copy_to_iter(&rsp, sizeof(rsp), &iov_iter); in vhost_scsi_send_tmf_resp()
1231 struct iov_iter iov_iter; in vhost_scsi_send_an_resp() local
[all …]
/linux/fs/ext4/
A Dfile.c52 static ssize_t ext4_dio_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dio_read_iter()
85 static ssize_t ext4_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dax_read_iter()
113 static ssize_t ext4_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_file_read_iter()
168 ext4_unaligned_io(struct inode *inode, struct iov_iter *from, loff_t pos) in ext4_unaligned_io()
212 struct iov_iter *from) in ext4_generic_write_checks()
239 static ssize_t ext4_write_checks(struct kiocb *iocb, struct iov_iter *from) in ext4_write_checks()
254 struct iov_iter *from) in ext4_buffered_write_iter()
422 static ssize_t ext4_dio_write_checks(struct kiocb *iocb, struct iov_iter *from, in ext4_dio_write_checks()
471 static ssize_t ext4_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dio_write_iter()
614 ext4_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dax_write_iter()
[all …]
/linux/include/net/9p/
A Dclient.h177 struct iov_iter;
205 int p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err);
206 int p9_client_read_once(struct p9_fid *fid, u64 offset, struct iov_iter *to,
208 int p9_client_write(struct p9_fid *fid, u64 offset, struct iov_iter *from, int *err);
A Dtransport.h50 struct iov_iter *uidata, struct iov_iter *uodata,
/linux/fs/orangefs/
A 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/mm/
A Dprocess_vm_access.c30 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/fs/xfs/
A Dxfs_file.c247 struct iov_iter *to) in xfs_file_dio_read()
271 struct iov_iter *to) in xfs_file_dax_read()
294 struct iov_iter *to) in xfs_file_buffered_read()
313 struct iov_iter *to) in xfs_file_read_iter()
346 struct iov_iter *from, in xfs_file_write_checks()
549 struct iov_iter *from) in xfs_file_dio_write_aligned()
600 struct iov_iter *from) in xfs_file_dio_write_unaligned()
672 struct iov_iter *from) in xfs_file_dio_write()
689 struct iov_iter *from) in xfs_file_dax_write()
730 struct iov_iter *from) in xfs_file_buffered_write()
[all …]
/linux/fs/
A Dread_write.c393 struct iov_iter iter; in new_sync_read()
422 struct iov_iter iter; in __kernel_read()
496 struct iov_iter iter; in new_sync_write()
518 struct iov_iter iter; in __kernel_write()
767 static ssize_t do_iter_read(struct file *file, struct iov_iter *iter, in do_iter_read()
796 struct iov_iter *iter) in vfs_iocb_iter_read()
832 static ssize_t do_iter_write(struct file *file, struct iov_iter *iter, in do_iter_write()
860 struct iov_iter *iter) in vfs_iocb_iter_write()
901 struct iov_iter iter; in vfs_readv()
918 struct iov_iter iter; in vfs_writev()
[all …]
/linux/fs/configfs/
A Dfile.c80 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/fs/9p/
A Dvfs_addr.c37 struct iov_iter to; in v9fs_req_issue_op()
170 struct iov_iter from; in v9fs_vfs_write_folio_locked()
252 v9fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in v9fs_direct_IO()
A Dxattr.c24 struct iov_iter to; in v9fs_fid_xattr_get()
109 struct iov_iter from; in v9fs_fid_xattr_set()
/linux/net/qrtr/
A Dtun.c59 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()

Completed in 67 milliseconds

12345678