/linux-6.6.21/include/uapi/linux/ |
D | aio_abi.h | 73 struct iocb { struct 75 __u64 aio_data; /* data to be returned in event's data */ 99 /* flags for the "struct iocb" */ argument 100 __u32 aio_flags; 106 __u32 aio_resfd;
|
/linux-6.6.21/fs/ext2/ |
D | file.c | 35 static ssize_t ext2_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_dax_read_iter() 51 static ssize_t ext2_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_dax_write_iter() 166 static ssize_t ext2_dio_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_dio_read_iter() 181 static int ext2_dio_write_end_io(struct kiocb *iocb, ssize_t size, in ext2_dio_write_end_io() 212 static ssize_t ext2_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_dio_write_iter() 281 static ssize_t ext2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in ext2_file_read_iter() 293 static ssize_t ext2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext2_file_write_iter()
|
/linux-6.6.21/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() 243 static ssize_t ext4_generic_write_checks(struct kiocb *iocb, in ext4_generic_write_checks() 271 static ssize_t ext4_write_checks(struct kiocb *iocb, struct iov_iter *from) in ext4_write_checks() 285 static ssize_t ext4_buffered_write_iter(struct kiocb *iocb, in ext4_buffered_write_iter() 374 static int ext4_dio_write_end_io(struct kiocb *iocb, ssize_t size, in ext4_dio_write_end_io() 421 static ssize_t ext4_dio_write_checks(struct kiocb *iocb, struct iov_iter *from, in ext4_dio_write_checks() 498 static ssize_t ext4_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) in ext4_dio_write_iter() [all …]
|
/linux-6.6.21/fs/ocfs2/ |
D | aops.h | 51 #define ocfs2_iocb_is_rw_locked(iocb) \ argument 53 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked() 73 #define ocfs2_iocb_clear_rw_locked(iocb) \ argument 75 #define ocfs2_iocb_rw_locked_level(iocb) \ argument
|
/linux-6.6.21/block/ |
D | fops.c | 27 static blk_opf_t dio_bio_write_op(struct kiocb *iocb) in dio_bio_write_op() 46 static ssize_t __blkdev_direct_IO_simple(struct kiocb *iocb, in __blkdev_direct_IO_simple() 111 struct kiocb *iocb; member 132 struct kiocb *iocb = dio->iocb; in blkdev_bio_end_io() local 162 static ssize_t __blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, in __blkdev_direct_IO() 279 struct kiocb *iocb = dio->iocb; in blkdev_bio_end_io_async() local 301 static ssize_t __blkdev_direct_IO_async(struct kiocb *iocb, in __blkdev_direct_IO_async() 366 static ssize_t blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in blkdev_direct_IO() 609 blkdev_direct_write(struct kiocb *iocb, struct iov_iter *from) in blkdev_direct_write() 632 static ssize_t blkdev_buffered_write(struct kiocb *iocb, struct iov_iter *from) in blkdev_buffered_write() [all …]
|
/linux-6.6.21/fs/xfs/ |
D | xfs_file.c | 202 struct kiocb *iocb, in xfs_ilock_iocb() 219 struct kiocb *iocb, in xfs_ilock_iocb_for_write() 256 struct kiocb *iocb, in xfs_file_dio_read() 280 struct kiocb *iocb, in xfs_file_dax_read() 303 struct kiocb *iocb, in xfs_file_buffered_read() 322 struct kiocb *iocb, in xfs_file_read_iter() 383 struct kiocb *iocb, in xfs_file_write_checks() 490 struct kiocb *iocb, in xfs_dio_write_end_io() 585 struct kiocb *iocb, in xfs_file_dio_write_aligned() 636 struct kiocb *iocb, in xfs_file_dio_write_unaligned() [all …]
|
/linux-6.6.21/fs/iomap/ |
D | direct-io.c | 31 struct kiocb *iocb; member 67 struct kiocb *iocb = dio->iocb; in iomap_dio_submit_bio() local 86 struct kiocb *iocb = dio->iocb; in iomap_dio_complete() local 144 struct kiocb *iocb = dio->iocb; in iomap_dio_complete_work() local 163 struct kiocb *iocb = dio->iocb; in iomap_dio_bio_end_io() local 540 __iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, in __iomap_dio_rw() 742 iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, in iomap_dio_rw()
|
/linux-6.6.21/fs/ |
D | aio.c | 591 void kiocb_set_cancel_fn(struct kiocb *iocb, kiocb_cancel_fn *cancel) in kiocb_set_cancel_fn() 1106 static inline void iocb_destroy(struct aio_kiocb *iocb) in iocb_destroy() 1119 static void aio_complete(struct aio_kiocb *iocb) in aio_complete() 1190 static inline void iocb_put(struct aio_kiocb *iocb) in iocb_put() 1437 static void aio_remove_iocb(struct aio_kiocb *iocb) in aio_remove_iocb() 1449 struct aio_kiocb *iocb = container_of(kiocb, struct aio_kiocb, rw); in aio_complete_rw() local 1466 static int aio_prep_rw(struct kiocb *req, const struct iocb *iocb) in aio_prep_rw() 1500 static ssize_t aio_setup_rw(int rw, const struct iocb *iocb, in aio_setup_rw() 1536 static int aio_read(struct kiocb *req, const struct iocb *iocb, in aio_read() 1563 static int aio_write(struct kiocb *req, const struct iocb *iocb, in aio_write() [all …]
|
/linux-6.6.21/fs/zonefs/ |
D | file.c | 344 static int zonefs_file_write_dio_end_io(struct kiocb *iocb, ssize_t size, in zonefs_file_write_dio_end_io() 412 static ssize_t zonefs_write_checks(struct kiocb *iocb, struct iov_iter *from) in zonefs_write_checks() 456 static ssize_t zonefs_file_dio_write(struct kiocb *iocb, struct iov_iter *from) in zonefs_file_dio_write() 541 static ssize_t zonefs_file_buffered_write(struct kiocb *iocb, in zonefs_file_buffered_write() 577 static ssize_t zonefs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in zonefs_file_write_iter() 602 static int zonefs_file_read_dio_end_io(struct kiocb *iocb, ssize_t size, in zonefs_file_read_dio_end_io() 617 static ssize_t zonefs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in zonefs_file_read_iter()
|
/linux-6.6.21/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() 220 static ssize_t configfs_write_iter(struct kiocb *iocb, struct iov_iter *from) in configfs_write_iter() 236 static ssize_t configfs_bin_write_iter(struct kiocb *iocb, in configfs_bin_write_iter()
|
/linux-6.6.21/fs/overlayfs/ |
D | file.c | 19 struct kiocb iocb; member 289 struct kiocb *iocb = &aio_req->iocb; in ovl_aio_cleanup_handler() local 303 static void ovl_aio_rw_complete(struct kiocb *iocb, long res) in ovl_aio_rw_complete() 313 static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *iter) in ovl_read_iter() 362 static ssize_t ovl_write_iter(struct kiocb *iocb, struct iov_iter *iter) in ovl_write_iter()
|
/linux-6.6.21/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()
|
/linux-6.6.21/mm/ |
D | filemap.c | 2422 static int filemap_update_page(struct kiocb *iocb, in filemap_update_page() 2523 static int filemap_readahead(struct kiocb *iocb, struct file *file, in filemap_readahead() 2535 static int filemap_get_pages(struct kiocb *iocb, size_t count, in filemap_get_pages() 2617 ssize_t filemap_read(struct kiocb *iocb, struct iov_iter *iter, in filemap_read() 2735 int kiocb_write_and_wait(struct kiocb *iocb, size_t count) in kiocb_write_and_wait() 2750 int kiocb_invalidate_pages(struct kiocb *iocb, size_t count) in kiocb_invalidate_pages() 2799 generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter) in generic_file_read_iter() 2902 struct kiocb iocb; in filemap_splice_read() local 3874 void kiocb_invalidate_post_direct_write(struct kiocb *iocb, size_t count) in kiocb_invalidate_post_direct_write() 3886 generic_file_direct_write(struct kiocb *iocb, struct iov_iter *from) in generic_file_direct_write() [all …]
|
D | page_io.c | 237 struct kiocb iocb; member 257 static void sio_write_complete(struct kiocb *iocb, long ret) in sio_write_complete() 401 static void sio_read_complete(struct kiocb *iocb, long ret) in sio_read_complete()
|
/linux-6.6.21/fs/gfs2/ |
D | file.c | 778 struct kiocb *iocb, in should_fault_in_pages() 809 static ssize_t gfs2_file_direct_read(struct kiocb *iocb, struct iov_iter *to, in gfs2_file_direct_read() 872 static ssize_t gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from, in gfs2_file_direct_write() 947 static ssize_t gfs2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in gfs2_file_read_iter() 1008 static ssize_t gfs2_file_buffered_write(struct kiocb *iocb, in gfs2_file_buffered_write() 1097 static ssize_t gfs2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in gfs2_file_write_iter()
|
/linux-6.6.21/fs/cachefiles/ |
D | io.c | 18 struct kiocb iocb; member 45 static void cachefiles_read_complete(struct kiocb *iocb, long ret) in cachefiles_read_complete() 254 static void cachefiles_write_complete(struct kiocb *iocb, long ret) in cachefiles_write_complete()
|
/linux-6.6.21/drivers/nvme/target/ |
D | io-cmd-file.c | 79 struct kiocb *iocb = &req->f.iocb; in nvmet_file_submit_bvec() local 103 static void nvmet_file_io_done(struct kiocb *iocb, long ret) in nvmet_file_io_done()
|
/linux-6.6.21/drivers/usb/gadget/legacy/ |
D | inode.c | 434 struct kiocb *iocb; member 443 static int ep_aio_cancel(struct kiocb *iocb) in ep_aio_cancel() 466 struct kiocb *iocb = priv->iocb; in ep_user_copy_worker() local 485 struct kiocb *iocb = req->context; in ep_aio_complete() local 522 static ssize_t ep_aio(struct kiocb *iocb, in ep_aio() 575 ep_read_iter(struct kiocb *iocb, struct iov_iter *to) in ep_read_iter() 634 ep_write_iter(struct kiocb *iocb, struct iov_iter *from) in ep_write_iter()
|
/linux-6.6.21/fs/orangefs/ |
D | file.c | 323 static ssize_t orangefs_file_read_iter(struct kiocb *iocb, in orangefs_file_read_iter() 360 static ssize_t orangefs_file_write_iter(struct kiocb *iocb, in orangefs_file_write_iter()
|
/linux-6.6.21/fs/coda/ |
D | file.c | 41 coda_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in coda_file_read_iter() 66 coda_file_write_iter(struct kiocb *iocb, struct iov_iter *to) in coda_file_write_iter()
|
/linux-6.6.21/drivers/gpu/drm/display/ |
D | drm_dp_aux_dev.c | 146 static ssize_t auxdev_read_iter(struct kiocb *iocb, struct iov_iter *to) in auxdev_read_iter() 189 static ssize_t auxdev_write_iter(struct kiocb *iocb, struct iov_iter *from) in auxdev_write_iter()
|
/linux-6.6.21/fs/fuse/ |
D | file.c | 1012 static ssize_t fuse_cache_read_iter(struct kiocb *iocb, struct iov_iter *to) in fuse_cache_read_iter() 1055 static unsigned int fuse_write_flags(struct kiocb *iocb) in fuse_write_flags() 1070 struct kiocb *iocb = ia->io->iocb; in fuse_send_write() local 1114 struct kiocb *iocb, struct inode *inode, in fuse_send_write_pages() 1246 static ssize_t fuse_perform_write(struct kiocb *iocb, struct iov_iter *ii) in fuse_perform_write() 1301 static ssize_t fuse_cache_write_iter(struct kiocb *iocb, struct iov_iter *from) in fuse_cache_write_iter() 1545 static ssize_t fuse_direct_read_iter(struct kiocb *iocb, struct iov_iter *to) in fuse_direct_read_iter() 1560 static bool fuse_direct_write_extending_i_size(struct kiocb *iocb, in fuse_direct_write_extending_i_size() 1568 static ssize_t fuse_direct_write_iter(struct kiocb *iocb, struct iov_iter *from) in fuse_direct_write_iter() 1621 static ssize_t fuse_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in fuse_file_read_iter() [all …]
|
/linux-6.6.21/fs/btrfs/ |
D | file.c | 1128 static int btrfs_write_check(struct kiocb *iocb, struct iov_iter *from, in btrfs_write_check() 1175 static noinline ssize_t btrfs_buffered_write(struct kiocb *iocb, in btrfs_buffered_write() 1453 static ssize_t btrfs_direct_write(struct kiocb *iocb, struct iov_iter *from) in btrfs_direct_write() 1627 static ssize_t btrfs_encoded_write(struct kiocb *iocb, struct iov_iter *from, in btrfs_encoded_write() 1658 ssize_t btrfs_do_write_iter(struct kiocb *iocb, struct iov_iter *from, in btrfs_do_write_iter() 1698 static ssize_t btrfs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in btrfs_file_write_iter() 3741 static ssize_t btrfs_direct_read(struct kiocb *iocb, struct iov_iter *to) in btrfs_direct_read() 3807 static ssize_t btrfs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in btrfs_file_read_iter()
|
/linux-6.6.21/fs/9p/ |
D | vfs_file.c | 353 v9fs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in v9fs_file_read_iter() 406 v9fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in v9fs_file_write_iter()
|
/linux-6.6.21/fs/nfs/ |
D | direct.c | 140 int nfs_swap_rw(struct kiocb *iocb, struct iov_iter *iter) in nfs_swap_rw() 417 ssize_t nfs_file_direct_read(struct kiocb *iocb, struct iov_iter *iter, in nfs_file_direct_read() 948 ssize_t nfs_file_direct_write(struct kiocb *iocb, struct iov_iter *iter, in nfs_file_direct_write()
|