Searched refs:iov_iter (Results 1 - 127 of 127) sorted by relevance

/linux-4.4.14/include/linux/
H A Duio.h28 struct iov_iter { struct
57 static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) iov_iter_iovec()
76 struct iov_iter *i, unsigned long offset, size_t bytes);
77 void iov_iter_advance(struct iov_iter *i, size_t bytes);
78 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes);
79 int iov_iter_fault_in_multipages_readable(struct iov_iter *i, size_t bytes);
80 size_t iov_iter_single_seg_count(const struct iov_iter *i);
82 struct iov_iter *i);
84 struct iov_iter *i);
85 size_t copy_to_iter(void *addr, size_t bytes, struct iov_iter *i);
86 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
87 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
88 size_t iov_iter_zero(size_t bytes, struct iov_iter *);
89 unsigned long iov_iter_alignment(const struct iov_iter *i);
90 void iov_iter_init(struct iov_iter *i, int direction, const struct iovec *iov,
92 void iov_iter_kvec(struct iov_iter *i, int direction, const struct kvec *kvec,
94 void iov_iter_bvec(struct iov_iter *i, int direction, const struct bio_vec *bvec,
96 ssize_t iov_iter_get_pages(struct iov_iter *i, struct page **pages,
98 ssize_t iov_iter_get_pages_alloc(struct iov_iter *i, struct page ***pages,
100 int iov_iter_npages(const struct iov_iter *i, int maxpages);
102 const void *dup_iter(struct iov_iter *new, struct iov_iter *old, gfp_t flags);
104 static inline size_t iov_iter_count(struct iov_iter *i) iov_iter_count()
109 static inline bool iter_is_iovec(struct iov_iter *i) iter_is_iovec()
120 #define iov_iter_rw(i) ((0 ? (struct iov_iter *)0 : (i))->type & RW_MASK)
123 * Cap the iov_iter by given limit; note that the second argument is
125 * greater than the amount of data in iov_iter is fine - it'll just do
128 static inline void iov_iter_truncate(struct iov_iter *i, u64 count) iov_iter_truncate()
144 static inline void iov_iter_reexpand(struct iov_iter *i, size_t count) iov_iter_reexpand()
148 size_t csum_and_copy_to_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
149 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
153 struct iovec **iov, struct iov_iter *i);
159 struct iovec **iov, struct iov_iter *i);
163 struct iovec *iov, struct iov_iter *i);
H A Dpmem.h46 struct iov_iter *i) arch_copy_from_iter_pmem()
101 size_t bytes, struct iov_iter *i) default_copy_from_iter_pmem()
159 struct iov_iter *i) copy_from_iter_pmem()
H A Ddax.h8 ssize_t dax_do_io(struct kiocb *, struct inode *, struct iov_iter *, loff_t,
H A Dnfs_fs.h454 extern ssize_t nfs_direct_IO(struct kiocb *, struct iov_iter *, loff_t);
456 struct iov_iter *iter,
459 struct iov_iter *iter);
H A Dfs.h54 struct iov_iter;
393 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter, loff_t offset);
1608 struct iov_iter;
1615 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1616 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
2633 extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *);
2634 extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *);
2635 extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *);
2636 extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *);
2637 extern ssize_t generic_file_direct_write(struct kiocb *, struct iov_iter *, loff_t);
2638 extern ssize_t generic_perform_write(struct file *, struct iov_iter *, loff_t);
2640 ssize_t vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos);
2641 ssize_t vfs_iter_write(struct file *file, struct iov_iter *iter, loff_t *ppos);
2644 extern ssize_t blkdev_read_iter(struct kiocb *iocb, struct iov_iter *to);
2645 extern ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from);
2697 struct block_device *bdev, struct iov_iter *iter,
2704 struct iov_iter *iter, loff_t offset, blockdev_direct_IO()
H A Dbio.h488 const struct iov_iter *, gfp_t);
518 const struct iov_iter *,
H A Dsocket.h50 struct iov_iter msg_iter; /* data */
H A Dskbuff.h160 struct iov_iter;
2655 struct iov_iter *from, int copy) skb_add_data()
2840 struct iov_iter *to, int size); skb_copy_datagram_msg()
2849 struct iov_iter *from, int len);
2850 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *frm);
H A Dblkdev.h814 struct rq_map_data *, const struct iov_iter *,
/linux-4.4.14/lib/
H A Diov_iter.c139 struct iov_iter *i) copy_page_to_iter_iovec()
220 struct iov_iter *i) copy_page_from_iter_iovec()
301 * Fault in the first iovec of the given iov_iter, to a maximum length
309 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes) iov_iter_fault_in_readable()
321 * Fault in one or more iovecs of the given iov_iter, to a maximum length of
327 int iov_iter_fault_in_multipages_readable(struct iov_iter *i, size_t bytes) iov_iter_fault_in_multipages_readable()
346 void iov_iter_init(struct iov_iter *i, int direction, iov_iter_init()
386 size_t copy_to_iter(void *addr, size_t bytes, struct iov_iter *i) copy_to_iter()
407 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) copy_from_iter()
428 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) copy_from_iter_nocache()
450 struct iov_iter *i) copy_page_to_iter()
463 struct iov_iter *i) copy_page_from_iter()
475 size_t iov_iter_zero(size_t bytes, struct iov_iter *i) iov_iter_zero()
494 struct iov_iter *i, unsigned long offset, size_t bytes) iov_iter_copy_from_user_atomic()
509 void iov_iter_advance(struct iov_iter *i, size_t size) iov_iter_advance()
516 * Return the count of just the current iov_iter segment.
518 size_t iov_iter_single_seg_count(const struct iov_iter *i) iov_iter_single_seg_count()
529 void iov_iter_kvec(struct iov_iter *i, int direction, iov_iter_kvec()
542 void iov_iter_bvec(struct iov_iter *i, int direction, iov_iter_bvec()
555 unsigned long iov_iter_alignment(const struct iov_iter *i) iov_iter_alignment()
572 ssize_t iov_iter_get_pages(struct iov_iter *i, iov_iter_get_pages()
617 ssize_t iov_iter_get_pages_alloc(struct iov_iter *i, iov_iter_get_pages_alloc()
664 struct iov_iter *i) csum_and_copy_from_iter()
708 struct iov_iter *i) csum_and_copy_to_iter()
751 int iov_iter_npages(const struct iov_iter *i, int maxpages) iov_iter_npages()
781 const void *dup_iter(struct iov_iter *new, struct iov_iter *old, gfp_t flags) dup_iter()
798 struct iovec **iov, struct iov_iter *i) import_iovec()
821 struct iovec **iov, struct iov_iter *i) compat_import_iovec()
840 struct iovec *iov, struct iov_iter *i) import_single_range()
H A DMakefile27 gcd.o lcm.o list_sort.o uuid.o flex_array.o iov_iter.o clz_ctz.o \
/linux-4.4.14/include/net/9p/
H A Dtransport.h64 struct iov_iter *, struct iov_iter *, int , int, int);
H A Dclient.h214 struct iov_iter;
241 int p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err);
242 int p9_client_write(struct p9_fid *fid, u64 offset, struct iov_iter *from, int *err);
/linux-4.4.14/fs/cifs/
H A Dcifsfs.h94 extern ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to);
95 extern ssize_t cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to);
96 extern ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from);
97 extern ssize_t cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from);
H A Dfile.c2423 wdata_fill_from_iovec(struct cifs_writedata *wdata, struct iov_iter *from, wdata_fill_from_iovec()
2465 cifs_write_from_iter(loff_t offset, size_t len, struct iov_iter *from, cifs_write_from_iter()
2473 struct iov_iter saved_from; cifs_write_from_iter()
2484 memcpy(&saved_from, from, sizeof(struct iov_iter)); cifs_write_from_iter()
2547 sizeof(struct iov_iter)); cifs_write_from_iter()
2562 ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from) cifs_user_writev()
2571 struct iov_iter saved_from; cifs_user_writev()
2592 memcpy(&saved_from, from, sizeof(struct iov_iter)); cifs_user_writev()
2626 struct iov_iter tmp_from; cifs_user_writev()
2632 sizeof(struct iov_iter)); cifs_user_writev()
2661 cifs_writev(struct kiocb *iocb, struct iov_iter *from) cifs_writev()
2700 cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from) cifs_strict_writev()
2825 cifs_readdata_to_iov(struct cifs_readdata *rdata, struct iov_iter *iter) cifs_readdata_to_iov()
2971 ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to) cifs_user_readv()
3076 cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to) cifs_strict_readv()
3857 cifs_direct_io(struct kiocb *iocb, struct iov_iter *iter, loff_t pos) cifs_direct_io()
H A Dcifsfs.c750 cifs_loose_read_iter(struct kiocb *iocb, struct iov_iter *iter) cifs_loose_read_iter()
762 static ssize_t cifs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) cifs_file_write_iter()
/linux-4.4.14/net/rds/
H A Dtcp.h75 int rds_tcp_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to);
H A Dmessage.c267 int rds_message_copy_from_user(struct rds_message *rm, struct iov_iter *from) rds_message_copy_from_user()
310 int rds_message_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) rds_message_inc_copy_to_user()
H A Dib.h371 int rds_ib_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to);
H A Diw.h331 int rds_iw_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to);
H A Dtcp_recv.c62 int rds_tcp_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) rds_tcp_inc_copy_to_user()
H A Drds.h449 int (*inc_copy_to_user)(struct rds_incoming *inc, struct iov_iter *to);
678 int rds_message_copy_from_user(struct rds_message *rm, struct iov_iter *from);
687 int rds_message_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to);
H A Drecv.c417 struct iov_iter save; rds_recvmsg()
H A Dib_recv.c519 int rds_ib_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) rds_ib_inc_copy_to_user()
H A Diw_recv.c306 int rds_iw_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) rds_iw_inc_copy_to_user()
/linux-4.4.14/mm/
H A Dprocess_vm_access.c36 struct iov_iter *iter, process_vm_rw_pages()
79 struct iov_iter *iter, process_vm_rw_single_vec()
141 static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, process_vm_rw_core()
258 struct iov_iter iter; process_vm_rw()
316 struct iov_iter iter; compat_process_vm_rw()
H A Dfilemap.c1529 struct iov_iter *iter, ssize_t written) do_generic_file_read()
1756 generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter) generic_file_read_iter()
1775 struct iov_iter data = *iter; generic_file_read_iter()
2328 inline ssize_t generic_write_checks(struct kiocb *iocb, struct iov_iter *from) generic_write_checks()
2399 generic_file_direct_write(struct kiocb *iocb, struct iov_iter *from, loff_t pos) generic_file_direct_write()
2407 struct iov_iter data; generic_file_direct_write()
2489 struct iov_iter *i, loff_t pos) generic_perform_write()
2581 * @from: iov_iter with data to write
2595 ssize_t __generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from) __generic_file_write_iter()
2673 * @from: iov_iter with data to write
2679 ssize_t generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from) generic_file_write_iter()
H A Dpage_io.c268 struct iov_iter from; __swap_writepage()
H A Dshmem.c1535 static ssize_t shmem_file_read_iter(struct kiocb *iocb, struct iov_iter *to) shmem_file_read_iter()
/linux-4.4.14/arch/x86/include/asm/
H A Dpmem.h94 static inline bool __iter_needs_pmem_wb(struct iov_iter *i) __iter_needs_pmem_wb()
109 struct iov_iter *i) arch_copy_from_iter_pmem()
/linux-4.4.14/fs/ncpfs/
H A Dfile.c101 ncp_file_read_iter(struct kiocb *iocb, struct iov_iter *to) ncp_file_read_iter()
168 ncp_file_write_iter(struct kiocb *iocb, struct iov_iter *from) ncp_file_write_iter()
H A Dncplib_kernel.h56 struct iov_iter *, int *, void *bounce, __u32 bouncelen);
H A Dncplib_kernel.c1004 __u32 offset, __u16 to_read, struct iov_iter *to, ncp_read_bounce()
/linux-4.4.14/fs/9p/
H A Dxattr.c32 struct iov_iter to; v9fs_fid_xattr_get()
109 struct iov_iter from; v9fs_fid_xattr_set()
H A Dvfs_addr.c56 struct iov_iter to; v9fs_fid_readpage()
165 struct iov_iter from; v9fs_vfs_writepage_locked()
248 v9fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t pos) v9fs_direct_IO()
H A Dvfs_file.c382 v9fs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) v9fs_file_read_iter()
407 v9fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) v9fs_file_write_iter()
575 v9fs_mmap_file_read_iter(struct kiocb *iocb, struct iov_iter *to) v9fs_mmap_file_read_iter()
590 v9fs_mmap_file_write_iter(struct kiocb *iocb, struct iov_iter *from) v9fs_mmap_file_write_iter()
H A Dvfs_dir.c134 struct iov_iter to; v9fs_dir_readdir()
/linux-4.4.14/fs/coda/
H A Dfile.c30 coda_file_read_iter(struct kiocb *iocb, struct iov_iter *to) coda_file_read_iter()
62 coda_file_write_iter(struct kiocb *iocb, struct iov_iter *to) coda_file_write_iter()
/linux-4.4.14/include/crypto/
H A Dif_alg.h78 int af_alg_make_sg(struct af_alg_sgl *sgl, struct iov_iter *iter, int len);
/linux-4.4.14/block/
H A Dblk-map.c83 const struct iov_iter *iter, gfp_t gfp_mask) blk_rq_map_user_iov()
87 struct iov_iter i; blk_rq_map_user_iov()
148 struct iov_iter i; blk_rq_map_user()
H A Dbio.c993 struct iov_iter iter;
1008 * bio_copy_from_iter - copy all pages from iov_iter to bio
1010 * @iter: iov_iter as source
1012 * Copy all pages from iov_iter to bio.
1015 static int bio_copy_from_iter(struct bio *bio, struct iov_iter iter) bio_copy_from_iter()
1039 * bio_copy_to_iter - copy all pages from bio to iov_iter
1041 * @iter: iov_iter as destination
1043 * Copy all pages from bio to iov_iter.
1046 static int bio_copy_to_iter(struct bio *bio, struct iov_iter iter) bio_copy_to_iter()
1122 const struct iov_iter *iter, bio_copy_user_iov()
1160 * We need to do a deep copy of the iov_iter including the iovecs. bio_copy_user_iov()
1250 const struct iov_iter *iter, bio_map_user_iov()
1259 struct iov_iter i; bio_map_user_iov()
H A Dscsi_ioctl.c335 struct iov_iter i; sg_io()
/linux-4.4.14/net/core/
H A Ddatagram.c356 struct iov_iter *to, int len) skb_copy_datagram_iter()
435 * skb_copy_datagram_from_iter - Copy a datagram from an iov_iter.
444 struct iov_iter *from, skb_copy_datagram_from_iter()
516 * zerocopy_sg_from_iter - Build a zerocopy datagram from an iov_iter
525 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *from) zerocopy_sg_from_iter()
570 struct iov_iter *to, int len, skb_copy_and_csum_datagram()
/linux-4.4.14/net/9p/
H A Dprotocol.c73 pdu_write_u(struct p9_fcall *pdu, struct iov_iter *from, size_t size) pdu_write_u()
76 struct iov_iter i = *from; pdu_write_u()
444 struct iov_iter *from = p9pdu_vwritef()
445 va_arg(ap, struct iov_iter *); p9pdu_vwritef()
H A Dtrans_virtio.c316 struct iov_iter *data, p9_get_mapped_pages()
397 struct iov_iter *uidata, struct iov_iter *uodata, p9_virtio_zc_request()
H A Dclient.c559 struct iov_iter *uidata, int in_hdrlen) p9_check_zc_errors()
815 struct iov_iter *uidata, p9_client_zc_rpc()
816 struct iov_iter *uodata, p9_client_zc_rpc()
1539 p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err) p9_client_read()
1619 p9_client_write(struct p9_fid *fid, u64 offset, struct iov_iter *from, int *err) p9_client_write()
2064 struct iov_iter to; p9_client_readdir()
/linux-4.4.14/security/keys/
H A Dcompat.c34 struct iov_iter from; compat_keyctl_instantiate_key_iov()
H A Dinternal.h246 struct iov_iter;
248 struct iov_iter *,
H A Dkeyctl.c1004 struct iov_iter *from, keyctl_instantiate_key_common()
1092 struct iov_iter from; keyctl_instantiate_key()
1121 struct iov_iter from; keyctl_instantiate_key_iov()
/linux-4.4.14/fs/ceph/
H A Dfile.c41 static size_t dio_get_pagev_size(const struct iov_iter *it) dio_get_pagev_size()
66 dio_get_pages_alloc(const struct iov_iter *it, size_t nbytes, dio_get_pages_alloc()
69 struct iov_iter tmp_it = *it; dio_get_pages_alloc()
497 static ssize_t ceph_sync_read(struct kiocb *iocb, struct iov_iter *i, ceph_sync_read()
623 ceph_sync_direct_write(struct kiocb *iocb, struct iov_iter *from, loff_t pos, ceph_sync_direct_write()
739 ceph_sync_write(struct kiocb *iocb, struct iov_iter *from, loff_t pos, ceph_sync_write()
867 static ssize_t ceph_read_iter(struct kiocb *iocb, struct iov_iter *to) ceph_read_iter()
997 static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from) ceph_write_iter()
1072 struct iov_iter data; ceph_write_iter()
H A Daddr.c1210 static ssize_t ceph_direct_io(struct kiocb *iocb, struct iov_iter *iter, ceph_direct_io()
/linux-4.4.14/fs/
H A Dread_write.c25 typedef ssize_t (*iter_fn_t)(struct kiocb *, struct iov_iter *);
332 ssize_t vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos) vfs_iter_read()
352 ssize_t vfs_iter_write(struct file *file, struct iov_iter *iter, loff_t *ppos) vfs_iter_write()
415 struct iov_iter iter; new_sync_read()
471 struct iov_iter iter; new_sync_write()
655 static ssize_t do_iter_readv_writev(struct file *filp, struct iov_iter *iter, do_iter_readv_writev()
671 static ssize_t do_loop_readv_writev(struct file *filp, struct iov_iter *iter, do_loop_readv_writev()
781 struct iov_iter iter; do_readv_writev()
955 struct iov_iter iter; compat_do_readv_writev()
H A Daio.c1382 typedef ssize_t (rw_iter_op)(struct kiocb *, struct iov_iter *);
1387 struct iov_iter *iter) aio_setup_vectored_rw()
1412 struct iov_iter iter; aio_run_iocb()
H A Ddirect-io.c98 struct iov_iter *iter;
1109 struct block_device *bdev, struct iov_iter *iter, do_blockdev_direct_IO()
1324 struct block_device *bdev, struct iov_iter *iter, __blockdev_direct_IO()
H A Ddax.c108 static ssize_t dax_io(struct inode *inode, struct iov_iter *iter, dax_io()
210 struct iov_iter *iter, loff_t pos, get_block_t get_block, dax_do_io()
H A Dpipe.c235 pipe_read(struct kiocb *iocb, struct iov_iter *to) pipe_read()
344 pipe_write(struct kiocb *iocb, struct iov_iter *from) pipe_write()
H A Dblock_dev.c160 blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t offset) blkdev_direct_IO()
1637 ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from) blkdev_write_iter()
1669 ssize_t blkdev_read_iter(struct kiocb *iocb, struct iov_iter *to) blkdev_read_iter()
H A Dsplice.c977 struct iov_iter from; iter_file_splice_write()
1560 struct iov_iter iter; vmsplice_to_user()
/linux-4.4.14/drivers/bluetooth/
H A Dhci_vhci.c170 struct iov_iter *from) vhci_get_user()
294 static ssize_t vhci_write(struct kiocb *iocb, struct iov_iter *from) vhci_write()
/linux-4.4.14/fs/udf/
H A Dfile.c102 static ssize_t udf_adinicb_direct_IO(struct kiocb *iocb, struct iov_iter *iter, udf_adinicb_direct_IO()
117 static ssize_t udf_file_write_iter(struct kiocb *iocb, struct iov_iter *from) udf_file_write_iter()
H A Dinode.c217 static ssize_t udf_direct_IO(struct kiocb *iocb, struct iov_iter *iter, udf_direct_IO()
/linux-4.4.14/arch/s390/hypfs/
H A Dinode.c142 static ssize_t hypfs_read_iter(struct kiocb *iocb, struct iov_iter *to) hypfs_read_iter()
162 static ssize_t hypfs_write_iter(struct kiocb *iocb, struct iov_iter *from) hypfs_write_iter()
/linux-4.4.14/drivers/net/
H A Dmacvtap.c711 struct iov_iter *from, int noblock) macvtap_get_user()
757 struct iov_iter i; macvtap_get_user()
848 static ssize_t macvtap_write_iter(struct kiocb *iocb, struct iov_iter *from) macvtap_write_iter()
859 struct iov_iter *iter) macvtap_put_user()
911 struct iov_iter *to, macvtap_do_read()
954 static ssize_t macvtap_read_iter(struct kiocb *iocb, struct iov_iter *to) macvtap_read_iter()
H A Dtun.c1085 void *msg_control, struct iov_iter *from, tun_get_user()
1138 struct iov_iter i = *from; tun_get_user()
1272 static ssize_t tun_chr_write_iter(struct kiocb *iocb, struct iov_iter *from) tun_chr_write_iter()
1292 struct iov_iter *iter) tun_put_user()
1402 struct iov_iter *to, tun_do_read()
1429 static ssize_t tun_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) tun_chr_read_iter()
/linux-4.4.14/fs/fuse/
H A Dfile.c904 static ssize_t fuse_file_read_iter(struct kiocb *iocb, struct iov_iter *to) fuse_file_read_iter()
1024 struct iov_iter *ii, loff_t pos) fuse_fill_write_pages()
1096 struct iov_iter *ii, loff_t pos) fuse_perform_write()
1151 static ssize_t fuse_file_write_iter(struct kiocb *iocb, struct iov_iter *from) fuse_file_write_iter()
1235 static inline unsigned long fuse_get_user_addr(const struct iov_iter *ii) fuse_get_user_addr()
1240 static inline size_t fuse_get_frag_size(const struct iov_iter *ii, fuse_get_frag_size()
1246 static int fuse_get_user_pages(struct fuse_req *req, struct iov_iter *ii, fuse_get_user_pages()
1301 static inline int fuse_iter_npages(const struct iov_iter *ii_p) fuse_iter_npages()
1306 ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter, fuse_direct_io()
1389 struct iov_iter *iter, __fuse_direct_read()
1406 static ssize_t fuse_direct_read_iter(struct kiocb *iocb, struct iov_iter *to) fuse_direct_read_iter()
1412 static ssize_t fuse_direct_write_iter(struct kiocb *iocb, struct iov_iter *from) fuse_direct_write_iter()
2262 struct iov_iter ii; fuse_ioctl_copy_user()
2784 fuse_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t offset) fuse_direct_IO()
H A Dcuse.c91 static ssize_t cuse_read_iter(struct kiocb *kiocb, struct iov_iter *to) cuse_read_iter()
99 static ssize_t cuse_write_iter(struct kiocb *kiocb, struct iov_iter *from) cuse_write_iter()
H A Ddev.c699 struct iov_iter *iter;
711 struct iov_iter *iter) fuse_copy_init()
1348 static ssize_t fuse_dev_read(struct kiocb *iocb, struct iov_iter *to) fuse_dev_read()
1958 static ssize_t fuse_dev_write(struct kiocb *iocb, struct iov_iter *from) fuse_dev_write()
H A Dfuse_i.h937 ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter,
/linux-4.4.14/drivers/vhost/
H A Dscsi.c537 struct iov_iter iov_iter; vhost_scsi_complete_cmd_work() local
560 iov_iter_init(&iov_iter, READ, cmd->tvc_resp_iov, vhost_scsi_complete_cmd_work()
562 ret = copy_to_iter(&v_rsp, sizeof(v_rsp), &iov_iter); vhost_scsi_complete_cmd_work()
681 vhost_scsi_calc_sgls(struct iov_iter *iter, size_t bytes, int max_sgls) vhost_scsi_calc_sgls()
702 struct iov_iter *iter, vhost_scsi_iov_to_sgl()
729 size_t prot_bytes, struct iov_iter *prot_iter, vhost_scsi_mapal()
730 size_t data_bytes, struct iov_iter *data_iter) vhost_scsi_mapal()
853 struct iov_iter out_iter, in_iter, prot_iter, data_iter; vhost_scsi_handle_vq()
H A Dnet.c540 struct iov_iter fixup; handle_rx()
H A Dvhost.c1244 struct iov_iter from; get_indirect()
/linux-4.4.14/fs/nfs/
H A Ddirect.c259 ssize_t nfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t pos) nfs_direct_IO()
475 struct iov_iter *iter, nfs_direct_read_schedule_iovec()
570 ssize_t nfs_file_direct_read(struct kiocb *iocb, struct iov_iter *iter, nfs_file_direct_read()
861 struct iov_iter *iter, nfs_direct_write_schedule_iovec()
961 ssize_t nfs_file_direct_write(struct kiocb *iocb, struct iov_iter *iter) nfs_file_direct_write()
H A Dinternal.h363 ssize_t nfs_file_read(struct kiocb *, struct iov_iter *);
367 ssize_t nfs_file_write(struct kiocb *, struct iov_iter *);
H A Dfile.c161 nfs_file_read(struct kiocb *iocb, struct iov_iter *to) nfs_file_read()
651 ssize_t nfs_file_write(struct kiocb *iocb, struct iov_iter *from) nfs_file_write()
/linux-4.4.14/drivers/char/
H A Dmem.c610 static ssize_t read_iter_null(struct kiocb *iocb, struct iov_iter *to) read_iter_null()
615 static ssize_t write_iter_null(struct kiocb *iocb, struct iov_iter *from) write_iter_null()
634 static ssize_t read_iter_zero(struct kiocb *iocb, struct iov_iter *iter) read_iter_zero()
/linux-4.4.14/fs/xfs/
H A Dxfs_file.c289 struct iov_iter *to) xfs_file_read_iter()
582 struct iov_iter *from, xfs_file_aio_write_checks()
703 struct iov_iter *from) xfs_file_dio_aio_write()
716 struct iov_iter data; xfs_file_dio_aio_write()
818 struct iov_iter *from) xfs_file_buffered_aio_write()
877 struct iov_iter *from) xfs_file_write_iter()
H A Dxfs_aops.c1673 struct iov_iter *iter, xfs_vm_do_dio()
1695 struct iov_iter *iter, xfs_vm_direct_IO()
/linux-4.4.14/drivers/target/
H A Dtarget_core_file.c254 struct iov_iter iter; fd_do_rw()
363 struct iov_iter iter; fd_execute_write_same()
/linux-4.4.14/fs/ext4/
H A Dfile.c77 ext4_unaligned_aio(struct inode *inode, struct iov_iter *from, loff_t pos) ext4_unaligned_aio()
92 ext4_file_write_iter(struct kiocb *iocb, struct iov_iter *from) ext4_file_write_iter()
H A Dindirect.c647 ssize_t ext4_ind_direct_IO(struct kiocb *iocb, struct iov_iter *iter, ext4_ind_direct_IO()
H A Dinode.c3144 static ssize_t ext4_ext_direct_IO(struct kiocb *iocb, struct iov_iter *iter, ext4_ext_direct_IO()
3284 static ssize_t ext4_direct_IO(struct kiocb *iocb, struct iov_iter *iter, ext4_direct_IO()
H A Dext4.h2527 extern ssize_t ext4_ind_direct_IO(struct kiocb *iocb, struct iov_iter *iter,
/linux-4.4.14/crypto/
H A Daf_alg.c394 int af_alg_make_sg(struct af_alg_sgl *sgl, struct iov_iter *iter, int len) af_alg_make_sg()
/linux-4.4.14/fs/jfs/
H A Dinode.c334 static ssize_t jfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, jfs_direct_IO()
/linux-4.4.14/net/sctp/
H A Dchunk.c167 struct iov_iter *from) sctp_datamsg_from_user()
H A Dsm_make_chunk.c1495 struct iov_iter *from) sctp_user_addto_chunk()
/linux-4.4.14/fs/ecryptfs/
H A Dfile.c47 struct iov_iter *to) ecryptfs_read_update_atime()
/linux-4.4.14/fs/ntfs/
H A Dfile.c332 struct iov_iter *from) ntfs_prepare_file_for_write()
1701 unsigned ofs, struct iov_iter *i, size_t bytes) ntfs_copy_from_user_iter()
1705 struct iov_iter data = *i; ntfs_copy_from_user_iter()
1742 * @i: iov_iter with data to write
1745 static ssize_t ntfs_perform_write(struct file *file, struct iov_iter *i, ntfs_perform_write()
1934 * @from: iov_iter with data to write
1940 static ssize_t ntfs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) ntfs_file_write_iter()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dlclient.h84 struct iov_iter *cui_iter;
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Drw26.c362 static ssize_t ll_direct_IO_26(struct kiocb *iocb, struct iov_iter *iter, ll_direct_IO_26()
H A Dvvp_io.c215 struct iov_iter i; vvp_mmap_locks()
H A Dllite_internal.h889 struct iov_iter *via_iter;
H A Dfile.c1184 static ssize_t ll_file_read_iter(struct kiocb *iocb, struct iov_iter *to) ll_file_read_iter()
1208 static ssize_t ll_file_write_iter(struct kiocb *iocb, struct iov_iter *from) ll_file_write_iter()
/linux-4.4.14/drivers/block/
H A Dloop.c263 struct iov_iter i; lo_write_bvec()
340 struct iov_iter i; lo_read_simple()
369 struct iov_iter i; lo_read_transfer()
479 struct iov_iter iter; lo_rw_aio()
/linux-4.4.14/fs/hfsplus/
H A Dinode.c125 static ssize_t hfsplus_direct_IO(struct kiocb *iocb, struct iov_iter *iter, hfsplus_direct_IO()
/linux-4.4.14/fs/hugetlbfs/
H A Dinode.c210 struct iov_iter *to, unsigned long size) hugetlbfs_read_actor()
242 static ssize_t hugetlbfs_read_iter(struct kiocb *iocb, struct iov_iter *to) hugetlbfs_read_iter()
/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dinode.c435 struct iov_iter to;
574 ep_read_iter(struct kiocb *iocb, struct iov_iter *to) ep_read_iter()
633 ep_write_iter(struct kiocb *iocb, struct iov_iter *from) ep_write_iter()
/linux-4.4.14/fs/hfs/
H A Dinode.c127 static ssize_t hfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, hfs_direct_IO()
/linux-4.4.14/net/
H A Dsocket.c116 static ssize_t sock_read_iter(struct kiocb *iocb, struct iov_iter *to);
117 static ssize_t sock_write_iter(struct kiocb *iocb, struct iov_iter *from);
781 static ssize_t sock_read_iter(struct kiocb *iocb, struct iov_iter *to) sock_read_iter()
803 static ssize_t sock_write_iter(struct kiocb *iocb, struct iov_iter *from) sock_write_iter()
/linux-4.4.14/fs/afs/
H A Dwrite.c627 ssize_t afs_file_write(struct kiocb *iocb, struct iov_iter *from) afs_file_write()
H A Dinternal.h750 extern ssize_t afs_file_write(struct kiocb *, struct iov_iter *);
/linux-4.4.14/fs/btrfs/
H A Dfile.c412 struct iov_iter *i) btrfs_copy_from_user()
1480 struct iov_iter *i, __btrfs_buffered_write()
1695 struct iov_iter *from, __btrfs_direct_write()
1754 struct iov_iter *from) btrfs_file_write_iter()
H A Dinode.c8408 const struct iov_iter *iter, loff_t offset) check_direct_IO()
8440 static ssize_t btrfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, btrfs_direct_IO()
/linux-4.4.14/fs/f2fs/
H A Ddata.c1546 static int check_direct_IO(struct inode *inode, struct iov_iter *iter, check_direct_IO()
1560 static ssize_t f2fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, f2fs_direct_IO()
H A Dfile.c1687 static ssize_t f2fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) f2fs_file_write_iter()
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_fs.c148 struct iov_iter data;
903 static ssize_t ffs_epfile_write_iter(struct kiocb *kiocb, struct iov_iter *from) ffs_epfile_write_iter()
939 static ssize_t ffs_epfile_read_iter(struct kiocb *kiocb, struct iov_iter *to) ffs_epfile_read_iter()
/linux-4.4.14/net/tipc/
H A Dsocket.c677 struct iov_iter save = msg->msg_iter; tipc_sendmcast()
871 struct iov_iter save; __tipc_sendmsg()
1029 struct iov_iter save; __tipc_send_stream()
/linux-4.4.14/include/net/
H A Dsock.h1802 struct iov_iter *from, char *to, skb_do_copy_data_nocache()
1820 struct iov_iter *from, int copy) skb_add_data_nocache()
1832 static inline int skb_copy_to_page_nocache(struct sock *sk, struct iov_iter *from, skb_copy_to_page_nocache()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dfile_ops.c87 static ssize_t hfi1_write_iter(struct kiocb *, struct iov_iter *);
438 static ssize_t hfi1_write_iter(struct kiocb *kiocb, struct iov_iter *from) hfi1_write_iter()
/linux-4.4.14/fs/ocfs2/
H A Daops.c791 struct iov_iter *iter, ocfs2_direct_IO_write()
982 static ssize_t ocfs2_direct_IO(struct kiocb *iocb, struct iov_iter *iter, ocfs2_direct_IO()
H A Dfile.c2265 struct iov_iter *from) ocfs2_file_write_iter()
2468 struct iov_iter *to) ocfs2_file_read_iter()
/linux-4.4.14/fs/gfs2/
H A Daops.c1045 static ssize_t gfs2_direct_IO(struct kiocb *iocb, struct iov_iter *iter, gfs2_direct_IO()
H A Dfile.c700 static ssize_t gfs2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) gfs2_file_write_iter()
/linux-4.4.14/fs/nilfs2/
H A Dinode.c308 nilfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t offset) nilfs_direct_IO()
/linux-4.4.14/fs/affs/
H A Dfile.c392 affs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t offset) affs_direct_IO()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_file_ops.c56 static ssize_t ipath_write_iter(struct kiocb *, struct iov_iter *from);
2420 static ssize_t ipath_write_iter(struct kiocb *iocb, struct iov_iter *from) ipath_write_iter()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c60 static ssize_t qib_write_iter(struct kiocb *, struct iov_iter *);
2262 static ssize_t qib_write_iter(struct kiocb *iocb, struct iov_iter *from) qib_write_iter()
/linux-4.4.14/sound/core/
H A Dpcm_native.c3081 static ssize_t snd_pcm_readv(struct kiocb *iocb, struct iov_iter *to) snd_pcm_readv()
3117 static ssize_t snd_pcm_writev(struct kiocb *iocb, struct iov_iter *from) snd_pcm_writev()
/linux-4.4.14/include/net/sctp/
H A Dstructs.h538 struct iov_iter *);
655 struct iov_iter *from);
/linux-4.4.14/fs/fat/
H A Dinode.c241 static ssize_t fat_direct_IO(struct kiocb *iocb, struct iov_iter *iter, fat_direct_IO()
/linux-4.4.14/fs/exofs/
H A Dinode.c963 static ssize_t exofs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, exofs_direct_IO()
/linux-4.4.14/fs/ext2/
H A Dinode.c855 ext2_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t offset) ext2_direct_IO()
/linux-4.4.14/fs/ubifs/
H A Dfile.c1433 static ssize_t ubifs_write_iter(struct kiocb *iocb, struct iov_iter *from) ubifs_write_iter()
/linux-4.4.14/drivers/scsi/
H A Dsg.c1756 struct iov_iter i; sg_start_req()
/linux-4.4.14/drivers/net/ppp/
H A Dppp_generic.c424 struct iov_iter to; ppp_read()
/linux-4.4.14/kernel/printk/
H A Dprintk.c615 static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from) devkmsg_write()
/linux-4.4.14/fs/reiserfs/
H A Dinode.c3281 static ssize_t reiserfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, reiserfs_direct_IO()

Completed in 5066 milliseconds