Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/include/linux/
Duio.h35 struct iov_iter { struct
59 static inline enum iter_type iov_iter_type(const struct iov_iter *i) in iov_iter_type() argument
64 static inline void iov_iter_save_state(struct iov_iter *iter, in iov_iter_save_state()
72 static inline bool iter_is_iovec(const struct iov_iter *i) in iter_is_iovec()
77 static inline bool iov_iter_is_kvec(const struct iov_iter *i) in iov_iter_is_kvec()
82 static inline bool iov_iter_is_bvec(const struct iov_iter *i) in iov_iter_is_bvec()
87 static inline bool iov_iter_is_pipe(const struct iov_iter *i) in iov_iter_is_pipe()
92 static inline bool iov_iter_is_discard(const struct iov_iter *i) in iov_iter_is_discard()
97 static inline unsigned char iov_iter_rw(const struct iov_iter *i) in iov_iter_rw()
119 static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) in iov_iter_iovec()
[all …]
Ddax.h33 struct iov_iter *);
36 struct iov_iter *);
224 size_t bytes, struct iov_iter *i);
226 size_t bytes, struct iov_iter *i);
231 ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter,
Diomap.h18 struct iov_iter;
156 ssize_t iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *from,
259 ssize_t iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
262 struct iomap_dio *__iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
Dfs.h65 struct iov_iter;
398 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
1835 struct iov_iter;
1842 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1843 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1911 struct iov_iter *iter) in call_read_iter()
1917 struct iov_iter *iter) in call_write_iter()
2991 extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *);
2996 struct iov_iter *to, ssize_t already_read);
2997 extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *);
[all …]
/kernel/linux/linux-5.10/lib/
Diov_iter.c165 struct iov_iter *i) in copy_page_to_iter_iovec()
249 struct iov_iter *i) in copy_page_from_iter_iovec()
333 static bool sanity(const struct iov_iter *i) in sanity()
376 struct iov_iter *i) in copy_page_to_iter_pipe()
431 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes) in iov_iter_fault_in_readable()
449 void iov_iter_init(struct iov_iter *i, unsigned int direction, in iov_iter_init()
482 static inline void data_start(const struct iov_iter *i, in data_start()
498 static size_t push_pipe(struct iov_iter *i, size_t size, in push_pipe()
548 struct iov_iter *i) in copy_pipe_to_iter()
584 struct iov_iter *i) in csum_and_copy_to_pipe_iter()
[all …]
/kernel/linux/linux-5.10/fs/cifs/
Dcifsfs.h105 extern ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to);
106 extern ssize_t cifs_direct_readv(struct kiocb *iocb, struct iov_iter *to);
107 extern ssize_t cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to);
108 extern ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from);
109 extern ssize_t cifs_direct_writev(struct kiocb *iocb, struct iov_iter *from);
110 extern ssize_t cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from);
/kernel/linux/linux-5.10/net/core/
Ddatagram.h10 struct iov_iter;
13 struct iov_iter *from, size_t length);
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()
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()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/fs/ext2/
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()
165 static ssize_t ext2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_file_read_iter()
174 static ssize_t ext2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_file_write_iter()
/kernel/linux/linux-5.10/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()
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()
131 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov()
243 static int bio_map_user_iov(struct request *rq, struct iov_iter *iter, in bio_map_user_iov()
580 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov()
585 struct iov_iter i; in blk_rq_map_user_iov()
625 struct iov_iter i; in blk_rq_map_user()
/kernel/linux/linux-5.10/include/net/9p/
Dclient.h172 struct iov_iter;
200 int p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err);
201 int p9_client_read_once(struct p9_fid *fid, u64 offset, struct iov_iter *to,
203 int p9_client_write(struct p9_fid *fid, u64 offset, struct iov_iter *from, int *err);
Dtransport.h49 struct iov_iter *, struct iov_iter *, int , int, int);
/kernel/linux/linux-5.10/fs/ext4/
Dfile.c52 static ssize_t ext4_dio_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dio_read_iter()
86 static ssize_t ext4_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dax_read_iter()
114 static ssize_t ext4_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_file_read_iter()
169 ext4_unaligned_io(struct inode *inode, struct iov_iter *from, loff_t pos) in ext4_unaligned_io()
213 struct iov_iter *from) in ext4_generic_write_checks()
240 static ssize_t ext4_write_checks(struct kiocb *iocb, struct iov_iter *from) in ext4_write_checks()
255 struct iov_iter *from) in ext4_buffered_write_iter()
423 static ssize_t ext4_dio_write_checks(struct kiocb *iocb, struct iov_iter *from, in ext4_dio_write_checks()
472 static ssize_t ext4_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dio_write_iter()
620 ext4_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dax_write_iter()
[all …]
/kernel/linux/linux-5.10/mm/
Dprocess_vm_access.c31 struct iov_iter *iter, in process_vm_rw_pages()
73 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()
/kernel/linux/linux-5.10/drivers/vhost/
Dvsock.c102 struct iov_iter iov_iter; in vhost_transport_do_send_pkt() local
157 iov_iter_init(&iov_iter, READ, &vq->iov[out], in, iov_len); in vhost_transport_do_send_pkt()
169 nbytes = copy_to_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter); in vhost_transport_do_send_pkt()
177 &iov_iter); in vhost_transport_do_send_pkt()
325 struct iov_iter iov_iter; in vhost_vsock_alloc_pkt() local
339 iov_iter_init(&iov_iter, WRITE, vq->iov, out, len); in vhost_vsock_alloc_pkt()
341 nbytes = copy_from_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter); in vhost_vsock_alloc_pkt()
370 nbytes = copy_from_iter(pkt->buf, pkt->len, &iov_iter); in vhost_vsock_alloc_pkt()
Dscsi.c240 struct iov_iter out_iter;
557 struct iov_iter iov_iter; in vhost_scsi_complete_cmd_work() local
577 iov_iter_init(&iov_iter, READ, &cmd->tvc_resp_iov, in vhost_scsi_complete_cmd_work()
579 ret = copy_to_iter(&v_rsp, sizeof(v_rsp), &iov_iter); in vhost_scsi_complete_cmd_work()
652 struct iov_iter *iter, in vhost_scsi_map_to_sgl()
680 vhost_scsi_calc_sgls(struct iov_iter *iter, size_t bytes, int max_sgls) in vhost_scsi_calc_sgls()
701 struct iov_iter *iter, in vhost_scsi_iov_to_sgl()
724 size_t prot_bytes, struct iov_iter *prot_iter, in vhost_scsi_mapal()
725 size_t data_bytes, struct iov_iter *data_iter) in vhost_scsi_mapal()
952 struct iov_iter in_iter, prot_iter, data_iter; in vhost_scsi_handle_vq()
[all …]
/kernel/linux/linux-5.10/fs/
Dread_write.c403 struct iov_iter iter; in new_sync_read()
432 struct iov_iter iter; in __kernel_read()
506 struct iov_iter iter; in new_sync_write()
528 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()
842 static ssize_t do_iter_write(struct file *file, struct iov_iter *iter, in do_iter_write()
[all …]
/kernel/linux/linux-5.10/fs/9p/
Dvfs_addr.c43 struct iov_iter to; in v9fs_fid_readpage()
153 struct iov_iter from; in v9fs_vfs_writepage_locked()
235 v9fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in v9fs_direct_IO()
Dxattr.c32 struct iov_iter to; in v9fs_fid_xattr_get()
107 struct iov_iter from; in v9fs_fid_xattr_set()
/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_local.c79 ssize_t hmdfs_do_read_iter(struct file *file, struct iov_iter *iter, in hmdfs_do_read_iter()
94 static ssize_t hmdfs_local_read_iter(struct kiocb *iocb, struct iov_iter *iter) in hmdfs_local_read_iter()
115 ssize_t hmdfs_do_write_iter(struct file *file, struct iov_iter *iter, in hmdfs_do_write_iter()
142 ssize_t hmdfs_local_write_iter(struct kiocb *iocb, struct iov_iter *iter) in hmdfs_local_write_iter()
Dfile_remote.h24 struct iov_iter *iter);
/kernel/linux/linux-5.10/net/qrtr/
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()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_file.c222 struct iov_iter *to) in xfs_file_dio_aio_read()
251 struct iov_iter *to) in xfs_file_dax_read()
279 struct iov_iter *to) in xfs_file_buffered_aio_read()
301 struct iov_iter *to) in xfs_file_read_iter()
334 struct iov_iter *from, in xfs_file_aio_write_checks()
529 struct iov_iter *from) in xfs_file_dio_aio_write()
621 struct iov_iter *from) in xfs_file_dax_write()
667 struct iov_iter *from) in xfs_file_buffered_aio_write()
744 struct iov_iter *from) in xfs_file_write_iter()
/kernel/linux/linux-5.10/drivers/char/
Drandom.c444 static ssize_t get_random_bytes_user(struct iov_iter *iter) in get_random_bytes_user()
1218 struct iov_iter iter; in SYSCALL_DEFINE3()
1252 static ssize_t write_pool_user(struct iov_iter *iter) in write_pool_user()
1280 static ssize_t random_write_iter(struct kiocb *kiocb, struct iov_iter *iter) in random_write_iter()
1285 static ssize_t urandom_read_iter(struct kiocb *kiocb, struct iov_iter *iter) in urandom_read_iter()
1302 static ssize_t random_read_iter(struct kiocb *kiocb, struct iov_iter *iter) in random_read_iter()
1338 struct iov_iter iter; in random_ioctl()

12345678