/fs/ |
D | io_uring.c | 307 struct kiocb rw; 811 struct kiocb *kiocb = &req->rw; in io_do_iopoll() local 825 ret = kiocb->ki_filp->f_op->iopoll(kiocb, spin); in io_do_iopoll() 958 static void io_complete_rw(struct kiocb *kiocb, long res, long res2) in io_complete_rw() argument 960 struct io_kiocb *req = container_of(kiocb, struct io_kiocb, rw); in io_complete_rw() 962 if (kiocb->ki_flags & IOCB_WRITE) in io_complete_rw() 971 static void io_complete_rw_iopoll(struct kiocb *kiocb, long res, long res2) in io_complete_rw_iopoll() argument 973 struct io_kiocb *req = container_of(kiocb, struct io_kiocb, rw); in io_complete_rw_iopoll() 975 if (kiocb->ki_flags & IOCB_WRITE) in io_complete_rw_iopoll() 1083 struct kiocb *kiocb = &req->rw; in io_prep_rw() local [all …]
|
D | aio.c | 200 struct kiocb rw; 561 void kiocb_set_cancel_fn(struct kiocb *iocb, kiocb_cancel_fn *cancel) in kiocb_set_cancel_fn() 1421 static void aio_complete_rw(struct kiocb *kiocb, long res, long res2) in aio_complete_rw() argument 1423 struct aio_kiocb *iocb = container_of(kiocb, struct aio_kiocb, rw); in aio_complete_rw() 1428 if (kiocb->ki_flags & IOCB_WRITE) { in aio_complete_rw() 1429 struct inode *inode = file_inode(kiocb->ki_filp); in aio_complete_rw() 1437 file_end_write(kiocb->ki_filp); in aio_complete_rw() 1445 static int aio_prep_rw(struct kiocb *req, const struct iocb *iocb) in aio_prep_rw() 1500 static inline void aio_rw_done(struct kiocb *req, ssize_t ret) in aio_rw_done() 1520 static int aio_read(struct kiocb *req, const struct iocb *iocb, in aio_read() [all …]
|
D | read_write.c | 406 struct kiocb kiocb; in new_sync_read() local 410 init_sync_kiocb(&kiocb, filp); in new_sync_read() 411 kiocb.ki_pos = (ppos ? *ppos : 0); in new_sync_read() 414 ret = call_read_iter(filp, &kiocb, &iter); in new_sync_read() 417 *ppos = kiocb.ki_pos; in new_sync_read() 477 struct kiocb kiocb; in new_sync_write() local 481 init_sync_kiocb(&kiocb, filp); in new_sync_write() 482 kiocb.ki_pos = (ppos ? *ppos : 0); in new_sync_write() 485 ret = call_write_iter(filp, &kiocb, &iter); in new_sync_write() 488 *ppos = kiocb.ki_pos; in new_sync_write() [all …]
|
D | block_dev.c | 181 static unsigned int dio_bio_write_op(struct kiocb *iocb) in dio_bio_write_op() 202 __blkdev_direct_IO_simple(struct kiocb *iocb, struct iov_iter *iter, in __blkdev_direct_IO_simple() 277 struct kiocb *iocb; 290 static int blkdev_iopoll(struct kiocb *kiocb, bool wait) in blkdev_iopoll() argument 292 struct block_device *bdev = I_BDEV(kiocb->ki_filp->f_mapping->host); in blkdev_iopoll() 295 return blk_poll(q, READ_ONCE(kiocb->ki_cookie), wait); in blkdev_iopoll() 308 struct kiocb *iocb = dio->iocb; in blkdev_bio_end_io() 338 __blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, int nr_pages) in __blkdev_direct_IO() 466 blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in blkdev_direct_IO() 1967 ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from) in blkdev_write_iter() [all …]
|
D | splice.c | 300 struct kiocb kiocb; in generic_file_splice_read() local 305 init_sync_kiocb(&kiocb, in); in generic_file_splice_read() 306 kiocb.ki_pos = *ppos; in generic_file_splice_read() 307 ret = call_read_iter(in, &kiocb, &to); in generic_file_splice_read() 309 *ppos = kiocb.ki_pos; in generic_file_splice_read()
|
D | direct-io.c | 141 struct kiocb *iocb; /* kiocb */ 1169 do_blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, in do_blockdev_direct_IO() 1399 ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, in __blockdev_direct_IO()
|
/fs/cifs/ |
D | cifsfs.h | 105 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);
|
/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() 163 static ssize_t ext2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_file_read_iter() 172 static ssize_t ext2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_file_write_iter()
|
/fs/iomap/ |
D | direct-io.c | 27 struct kiocb *iocb; 52 int iomap_dio_iopoll(struct kiocb *kiocb, bool spin) in iomap_dio_iopoll() argument 54 struct request_queue *q = READ_ONCE(kiocb->private); in iomap_dio_iopoll() 58 return blk_poll(q, READ_ONCE(kiocb->ki_cookie), spin); in iomap_dio_iopoll() 77 struct kiocb *iocb = dio->iocb; in iomap_dio_complete() 132 struct kiocb *iocb = dio->iocb; in iomap_dio_complete_work() 402 iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, in iomap_dio_rw()
|
/fs/fuse/ |
D | cuse.c | 93 static ssize_t cuse_read_iter(struct kiocb *kiocb, struct iov_iter *to) in cuse_read_iter() argument 95 struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb); in cuse_read_iter() 101 static ssize_t cuse_write_iter(struct kiocb *kiocb, struct iov_iter *from) in cuse_write_iter() argument 103 struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb); in cuse_write_iter()
|
D | file.c | 986 static ssize_t fuse_cache_read_iter(struct kiocb *iocb, struct iov_iter *to) in fuse_cache_read_iter() 1029 static unsigned int fuse_write_flags(struct kiocb *iocb) in fuse_write_flags() 1044 struct kiocb *iocb = ia->io->iocb; in fuse_send_write() 1086 struct kiocb *iocb, struct inode *inode, in fuse_send_write_pages() 1201 static ssize_t fuse_perform_write(struct kiocb *iocb, in fuse_perform_write() 1256 static ssize_t fuse_cache_write_iter(struct kiocb *iocb, struct iov_iter *from) in fuse_cache_write_iter() 1508 static ssize_t fuse_direct_IO(struct kiocb *iocb, struct iov_iter *iter); 1510 static ssize_t fuse_direct_read_iter(struct kiocb *iocb, struct iov_iter *to) in fuse_direct_read_iter() 1525 static ssize_t fuse_direct_write_iter(struct kiocb *iocb, struct iov_iter *from) in fuse_direct_write_iter() 1550 static ssize_t fuse_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in fuse_file_read_iter() [all …]
|
/fs/xfs/ |
D | xfs_file.c | 176 struct kiocb *iocb, in xfs_file_dio_aio_read() 199 struct kiocb *iocb, in xfs_file_dax_read() 227 struct kiocb *iocb, in xfs_file_buffered_aio_read() 249 struct kiocb *iocb, in xfs_file_read_iter() 282 struct kiocb *iocb, in xfs_file_aio_write_checks() 371 struct kiocb *iocb, in xfs_dio_write_end_io() 477 struct kiocb *iocb, in xfs_file_dio_aio_write() 572 struct kiocb *iocb, in xfs_file_dax_write() 618 struct kiocb *iocb, in xfs_file_buffered_aio_write() 694 struct kiocb *iocb, in xfs_file_write_iter()
|
/fs/ext4/ |
D | file.c | 38 static ssize_t ext4_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_dax_read_iter() 65 static ssize_t ext4_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext4_file_read_iter() 160 static ssize_t ext4_write_checks(struct kiocb *iocb, struct iov_iter *from) in ext4_write_checks() 188 ext4_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dax_write_iter() 218 ext4_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_file_write_iter()
|
/fs/9p/ |
D | vfs_file.c | 383 v9fs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in v9fs_file_read_iter() 408 v9fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in v9fs_file_write_iter() 581 v9fs_mmap_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in v9fs_mmap_file_read_iter() 596 v9fs_mmap_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in v9fs_mmap_file_write_iter()
|
/fs/udf/ |
D | file.c | 108 static ssize_t udf_adinicb_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in udf_adinicb_direct_IO() 136 static ssize_t udf_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in udf_file_write_iter()
|
/fs/sdcardfs/ |
D | mmap.c | 68 static ssize_t sdcardfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in sdcardfs_direct_IO()
|
D | file.c | 378 ssize_t sdcardfs_read_iter(struct kiocb *iocb, struct iov_iter *iter) in sdcardfs_read_iter() 405 ssize_t sdcardfs_write_iter(struct kiocb *iocb, struct iov_iter *iter) in sdcardfs_write_iter()
|
/fs/coda/ |
D | file.c | 38 coda_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in coda_file_read_iter() 63 coda_file_write_iter(struct kiocb *iocb, struct iov_iter *to) in coda_file_write_iter()
|
/fs/nfs/ |
D | direct.c | 73 struct kiocb * iocb; /* controlling i/o request */ 264 ssize_t nfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in nfs_direct_IO() 542 ssize_t nfs_file_direct_read(struct kiocb *iocb, struct iov_iter *iter) in nfs_file_direct_read() 955 ssize_t nfs_file_direct_write(struct kiocb *iocb, struct iov_iter *iter) in nfs_file_direct_write()
|
D | file.c | 155 nfs_file_read(struct kiocb *iocb, struct iov_iter *to) in nfs_file_read() 593 ssize_t nfs_file_write(struct kiocb *iocb, struct iov_iter *from) in nfs_file_write()
|
/fs/ocfs2/ |
D | aops.h | 55 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked()
|
/fs/overlayfs/ |
D | file.c | 211 static rwf_t ovl_iocb_to_rwf(struct kiocb *iocb) in ovl_iocb_to_rwf() 228 static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *iter) in ovl_read_iter() 254 static ssize_t ovl_write_iter(struct kiocb *iocb, struct iov_iter *iter) in ovl_write_iter()
|
/fs/orangefs/ |
D | file.c | 310 static ssize_t orangefs_file_read_iter(struct kiocb *iocb, in orangefs_file_read_iter() 342 static ssize_t orangefs_file_write_iter(struct kiocb *iocb, in orangefs_file_write_iter()
|
/fs/gfs2/ |
D | file.c | 746 static ssize_t gfs2_file_direct_read(struct kiocb *iocb, struct iov_iter *to) in gfs2_file_direct_read() 770 static ssize_t gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from) in gfs2_file_direct_write() 806 static ssize_t gfs2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in gfs2_file_read_iter() 831 static ssize_t gfs2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in gfs2_file_write_iter()
|
/fs/ceph/ |
D | file.c | 582 static ssize_t ceph_sync_read(struct kiocb *iocb, struct iov_iter *to, in ceph_sync_read() 728 struct kiocb *iocb; 926 ceph_direct_read_write(struct kiocb *iocb, struct iov_iter *iter, in ceph_direct_read_write() 1129 ceph_sync_write(struct kiocb *iocb, struct iov_iter *from, loff_t pos, in ceph_sync_write() 1255 static ssize_t ceph_read_iter(struct kiocb *iocb, struct iov_iter *to) in ceph_read_iter() 1411 static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from) in ceph_write_iter()
|