kiocb 144 arch/s390/hypfs/inode.c static ssize_t hypfs_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 164 arch/s390/hypfs/inode.c static ssize_t hypfs_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 1039 crypto/af_alg.c struct kiocb *iocb = areq->iocb; kiocb 503 drivers/block/loop.c static void lo_rw_aio_complete(struct kiocb *iocb, long ret, long ret2) kiocb 72 drivers/block/loop.h struct kiocb iocb; kiocb 279 drivers/bluetooth/hci_vhci.c static ssize_t vhci_write(struct kiocb *iocb, struct iov_iter *from) kiocb 681 drivers/char/mem.c static ssize_t read_iter_null(struct kiocb *iocb, struct iov_iter *to) kiocb 686 drivers/char/mem.c static ssize_t write_iter_null(struct kiocb *iocb, struct iov_iter *from) kiocb 705 drivers/char/mem.c static ssize_t read_iter_zero(struct kiocb *iocb, struct iov_iter *iter) kiocb 146 drivers/gpu/drm/drm_dp_aux_dev.c static ssize_t auxdev_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 193 drivers/gpu/drm/drm_dp_aux_dev.c static ssize_t auxdev_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 76 drivers/infiniband/hw/hfi1/file_ops.c static ssize_t hfi1_write_iter(struct kiocb *kiocb, struct iov_iter *from); kiocb 302 drivers/infiniband/hw/hfi1/file_ops.c static ssize_t hfi1_write_iter(struct kiocb *kiocb, struct iov_iter *from) kiocb 304 drivers/infiniband/hw/hfi1/file_ops.c struct hfi1_filedata *fd = kiocb->ki_filp->private_data; kiocb 60 drivers/infiniband/hw/qib/qib_file_ops.c static ssize_t qib_write_iter(struct kiocb *, struct iov_iter *); kiocb 2242 drivers/infiniband/hw/qib/qib_file_ops.c static ssize_t qib_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 758 drivers/net/tap.c static ssize_t tap_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 874 drivers/net/tap.c static ssize_t tap_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 2025 drivers/net/tun.c static ssize_t tun_chr_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 2251 drivers/net/tun.c static ssize_t tun_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 93 drivers/nvme/target/io-cmd-file.c struct kiocb *iocb = &req->f.iocb; kiocb 94 drivers/nvme/target/io-cmd-file.c ssize_t (*call_iter)(struct kiocb *iocb, struct iov_iter *iter); kiocb 117 drivers/nvme/target/io-cmd-file.c static void nvmet_file_io_done(struct kiocb *iocb, long ret, long ret2) kiocb 154 drivers/nvme/target/io-cmd-file.c memset(&req->f.iocb, 0, sizeof(struct kiocb)); kiocb 301 drivers/nvme/target/nvmet.h struct kiocb iocb; kiocb 170 drivers/rpmsg/rpmsg_char.c static ssize_t rpmsg_eptdev_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 217 drivers/rpmsg/rpmsg_char.c static ssize_t rpmsg_eptdev_write_iter(struct kiocb *iocb, kiocb 287 drivers/staging/android/ashmem.c static ssize_t ashmem_read_iter(struct kiocb *iocb, struct iov_iter *iter) kiocb 3233 drivers/staging/exfat/exfat_super.c static ssize_t exfat_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 243 drivers/target/target_core_file.c struct kiocb iocb; kiocb 246 drivers/target/target_core_file.c static void cmd_rw_aio_complete(struct kiocb *iocb, long ret, long ret2) kiocb 216 drivers/usb/gadget/function/f_fs.c struct kiocb *kiocb; kiocb 824 drivers/usb/gadget/function/f_fs.c bool kiocb_has_eventfd = io_data->kiocb->ki_flags & IOCB_EVENTFD; kiocb 836 drivers/usb/gadget/function/f_fs.c io_data->kiocb->ki_complete(io_data->kiocb, ret, ret); kiocb 1162 drivers/usb/gadget/function/f_fs.c static int ffs_aio_cancel(struct kiocb *kiocb) kiocb 1164 drivers/usb/gadget/function/f_fs.c struct ffs_io_data *io_data = kiocb->private; kiocb 1165 drivers/usb/gadget/function/f_fs.c struct ffs_epfile *epfile = kiocb->ki_filp->private_data; kiocb 1183 drivers/usb/gadget/function/f_fs.c static ssize_t ffs_epfile_write_iter(struct kiocb *kiocb, struct iov_iter *from) kiocb 1190 drivers/usb/gadget/function/f_fs.c if (!is_sync_kiocb(kiocb)) { kiocb 1201 drivers/usb/gadget/function/f_fs.c p->kiocb = kiocb; kiocb 1205 drivers/usb/gadget/function/f_fs.c kiocb->private = p; kiocb 1208 drivers/usb/gadget/function/f_fs.c kiocb_set_cancel_fn(kiocb, ffs_aio_cancel); kiocb 1210 drivers/usb/gadget/function/f_fs.c res = ffs_epfile_io(kiocb->ki_filp, p); kiocb 1220 drivers/usb/gadget/function/f_fs.c static ssize_t ffs_epfile_read_iter(struct kiocb *kiocb, struct iov_iter *to) kiocb 1227 drivers/usb/gadget/function/f_fs.c if (!is_sync_kiocb(kiocb)) { kiocb 1238 drivers/usb/gadget/function/f_fs.c p->kiocb = kiocb; kiocb 1251 drivers/usb/gadget/function/f_fs.c kiocb->private = p; kiocb 1254 drivers/usb/gadget/function/f_fs.c kiocb_set_cancel_fn(kiocb, ffs_aio_cancel); kiocb 1256 drivers/usb/gadget/function/f_fs.c res = ffs_epfile_io(kiocb->ki_filp, p); kiocb 430 drivers/usb/gadget/legacy/inode.c struct kiocb *iocb; kiocb 439 drivers/usb/gadget/legacy/inode.c static int ep_aio_cancel(struct kiocb *iocb) kiocb 462 drivers/usb/gadget/legacy/inode.c struct kiocb *iocb = priv->iocb; kiocb 481 drivers/usb/gadget/legacy/inode.c struct kiocb *iocb = req->context; kiocb 520 drivers/usb/gadget/legacy/inode.c static ssize_t ep_aio(struct kiocb *iocb, kiocb 573 drivers/usb/gadget/legacy/inode.c ep_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 632 drivers/usb/gadget/legacy/inode.c ep_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 1754 drivers/vhost/net.c static ssize_t vhost_net_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 1764 drivers/vhost/net.c static ssize_t vhost_net_chr_write_iter(struct kiocb *iocb, kiocb 235 fs/9p/vfs_addr.c v9fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 383 fs/9p/vfs_file.c v9fs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 408 fs/9p/vfs_file.c v9fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 581 fs/9p/vfs_file.c v9fs_mmap_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 596 fs/9p/vfs_file.c v9fs_mmap_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 393 fs/affs/file.c affs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 1346 fs/afs/internal.h extern ssize_t afs_file_write(struct kiocb *, struct iov_iter *); kiocb 731 fs/afs/write.c ssize_t afs_file_write(struct kiocb *iocb, struct iov_iter *from) kiocb 201 fs/aio.c struct kiocb rw; kiocb 562 fs/aio.c void kiocb_set_cancel_fn(struct kiocb *iocb, kiocb_cancel_fn *cancel) kiocb 1422 fs/aio.c static void aio_complete_rw(struct kiocb *kiocb, long res, long res2) kiocb 1424 fs/aio.c struct aio_kiocb *iocb = container_of(kiocb, struct aio_kiocb, rw); kiocb 1429 fs/aio.c if (kiocb->ki_flags & IOCB_WRITE) { kiocb 1430 fs/aio.c struct inode *inode = file_inode(kiocb->ki_filp); kiocb 1438 fs/aio.c file_end_write(kiocb->ki_filp); kiocb 1446 fs/aio.c static int aio_prep_rw(struct kiocb *req, const struct iocb *iocb) kiocb 1501 fs/aio.c static inline void aio_rw_done(struct kiocb *req, ssize_t ret) kiocb 1521 fs/aio.c static int aio_read(struct kiocb *req, const struct iocb *iocb, kiocb 1549 fs/aio.c static int aio_write(struct kiocb *req, const struct iocb *iocb, kiocb 1662 fs/aio.c static int aio_poll_cancel(struct kiocb *iocb) kiocb 2013 fs/aio.c struct aio_kiocb *kiocb; kiocb 2029 fs/aio.c list_for_each_entry(kiocb, &ctx->active_reqs, ki_list) { kiocb 2030 fs/aio.c if (kiocb->ki_res.obj == obj) { kiocb 2031 fs/aio.c ret = kiocb->ki_cancel(&kiocb->rw); kiocb 2032 fs/aio.c list_del_init(&kiocb->ki_list); kiocb 182 fs/block_dev.c static unsigned int dio_bio_write_op(struct kiocb *iocb) kiocb 203 fs/block_dev.c __blkdev_direct_IO_simple(struct kiocb *iocb, struct iov_iter *iter, kiocb 278 fs/block_dev.c struct kiocb *iocb; kiocb 291 fs/block_dev.c static int blkdev_iopoll(struct kiocb *kiocb, bool wait) kiocb 293 fs/block_dev.c struct block_device *bdev = I_BDEV(kiocb->ki_filp->f_mapping->host); kiocb 296 fs/block_dev.c return blk_poll(q, READ_ONCE(kiocb->ki_cookie), wait); kiocb 309 fs/block_dev.c struct kiocb *iocb = dio->iocb; kiocb 339 fs/block_dev.c __blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter, int nr_pages) kiocb 467 fs/block_dev.c blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 1968 fs/block_dev.c ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 2003 fs/block_dev.c ssize_t blkdev_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 1585 fs/btrfs/file.c static noinline ssize_t btrfs_buffered_write(struct kiocb *iocb, kiocb 1827 fs/btrfs/file.c static ssize_t __btrfs_direct_write(struct kiocb *iocb, struct iov_iter *from) kiocb 1885 fs/btrfs/file.c static ssize_t btrfs_file_write_iter(struct kiocb *iocb, kiocb 8734 fs/btrfs/inode.c static ssize_t btrfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 1389 fs/ceph/addr.c static ssize_t ceph_direct_io(struct kiocb *iocb, struct iov_iter *iter) kiocb 582 fs/ceph/file.c static ssize_t ceph_sync_read(struct kiocb *iocb, struct iov_iter *to, kiocb 728 fs/ceph/file.c struct kiocb *iocb; kiocb 926 fs/ceph/file.c ceph_direct_read_write(struct kiocb *iocb, struct iov_iter *iter, kiocb 1129 fs/ceph/file.c ceph_sync_write(struct kiocb *iocb, struct iov_iter *from, loff_t pos, kiocb 1255 fs/ceph/file.c static ssize_t ceph_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 1411 fs/ceph/file.c static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 886 fs/cifs/cifsfs.c cifs_loose_read_iter(struct kiocb *iocb, struct iov_iter *iter) kiocb 901 fs/cifs/cifsfs.c static ssize_t cifs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 105 fs/cifs/cifsfs.h extern ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to); kiocb 106 fs/cifs/cifsfs.h extern ssize_t cifs_direct_readv(struct kiocb *iocb, struct iov_iter *to); kiocb 107 fs/cifs/cifsfs.h extern ssize_t cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to); kiocb 108 fs/cifs/cifsfs.h extern ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from); kiocb 109 fs/cifs/cifsfs.h extern ssize_t cifs_direct_writev(struct kiocb *iocb, struct iov_iter *from); kiocb 110 fs/cifs/cifsfs.h extern ssize_t cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from); kiocb 1288 fs/cifs/cifsglob.h struct kiocb *iocb; kiocb 3068 fs/cifs/file.c struct kiocb *iocb, struct iov_iter *from, bool direct) kiocb 3171 fs/cifs/file.c ssize_t cifs_direct_writev(struct kiocb *iocb, struct iov_iter *from) kiocb 3176 fs/cifs/file.c ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from) kiocb 3182 fs/cifs/file.c cifs_writev(struct kiocb *iocb, struct iov_iter *from) kiocb 3218 fs/cifs/file.c cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from) kiocb 3792 fs/cifs/file.c struct kiocb *iocb, struct iov_iter *to, bool direct) kiocb 3894 fs/cifs/file.c ssize_t cifs_direct_readv(struct kiocb *iocb, struct iov_iter *to) kiocb 3899 fs/cifs/file.c ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to) kiocb 3905 fs/cifs/file.c cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to) kiocb 4735 fs/cifs/file.c cifs_direct_io(struct kiocb *iocb, struct iov_iter *iter) kiocb 38 fs/coda/file.c coda_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 63 fs/coda/file.c coda_file_write_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 1195 fs/dax.c dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter, kiocb 140 fs/direct-io.c struct kiocb *iocb; /* kiocb */ kiocb 1164 fs/direct-io.c do_blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, kiocb 1394 fs/direct-io.c ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, kiocb 32 fs/ecryptfs/file.c static ssize_t ecryptfs_read_update_atime(struct kiocb *iocb, kiocb 33 fs/ext2/file.c static ssize_t ext2_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 49 fs/ext2/file.c static ssize_t ext2_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 163 fs/ext2/file.c static ssize_t ext2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 172 fs/ext2/file.c static ssize_t ext2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 939 fs/ext2/inode.c ext2_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 38 fs/ext4/file.c static ssize_t ext4_dax_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 66 fs/ext4/file.c static ssize_t ext4_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 161 fs/ext4/file.c static ssize_t ext4_write_checks(struct kiocb *iocb, struct iov_iter *from) kiocb 189 fs/ext4/file.c ext4_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 220 fs/ext4/file.c ext4_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 3627 fs/ext4/inode.c static int ext4_end_io_dio(struct kiocb *iocb, loff_t offset, kiocb 3676 fs/ext4/inode.c static ssize_t ext4_direct_IO_write(struct kiocb *iocb, struct iov_iter *iter) kiocb 3833 fs/ext4/inode.c static ssize_t ext4_direct_IO_read(struct kiocb *iocb, struct iov_iter *iter) kiocb 3863 fs/ext4/inode.c static ssize_t ext4_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 1069 fs/f2fs/data.c int f2fs_preallocate_blocks(struct kiocb *iocb, struct iov_iter *from) kiocb 2811 fs/f2fs/data.c static ssize_t f2fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 3216 fs/f2fs/f2fs.h int f2fs_preallocate_blocks(struct kiocb *iocb, struct iov_iter *from); kiocb 3694 fs/f2fs/f2fs.h struct kiocb *iocb, struct iov_iter *iter) kiocb 3705 fs/f2fs/f2fs.h struct kiocb *iocb, struct iov_iter *iter) kiocb 3715 fs/f2fs/f2fs.h struct kiocb *iocb, struct iov_iter *iter) kiocb 3313 fs/f2fs/file.c static ssize_t f2fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 260 fs/fat/inode.c static ssize_t fat_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 93 fs/fuse/cuse.c static ssize_t cuse_read_iter(struct kiocb *kiocb, struct iov_iter *to) kiocb 95 fs/fuse/cuse.c struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb); kiocb 101 fs/fuse/cuse.c static ssize_t cuse_write_iter(struct kiocb *kiocb, struct iov_iter *from) kiocb 103 fs/fuse/cuse.c struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb); kiocb 1316 fs/fuse/dev.c static ssize_t fuse_dev_read(struct kiocb *iocb, struct iov_iter *to) kiocb 1920 fs/fuse/dev.c static ssize_t fuse_dev_write(struct kiocb *iocb, struct iov_iter *from) kiocb 998 fs/fuse/file.c static ssize_t fuse_cache_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 1041 fs/fuse/file.c static unsigned int fuse_write_flags(struct kiocb *iocb) kiocb 1056 fs/fuse/file.c struct kiocb *iocb = ia->io->iocb; kiocb 1098 fs/fuse/file.c struct kiocb *iocb, struct inode *inode, kiocb 1213 fs/fuse/file.c static ssize_t fuse_perform_write(struct kiocb *iocb, kiocb 1268 fs/fuse/file.c static ssize_t fuse_cache_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 1523 fs/fuse/file.c static ssize_t fuse_direct_IO(struct kiocb *iocb, struct iov_iter *iter); kiocb 1525 fs/fuse/file.c static ssize_t fuse_direct_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 1540 fs/fuse/file.c static ssize_t fuse_direct_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 1565 fs/fuse/file.c static ssize_t fuse_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 1579 fs/fuse/file.c static ssize_t fuse_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 3062 fs/fuse/file.c fuse_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 278 fs/fuse/fuse_i.h struct kiocb *iocb; kiocb 746 fs/gfs2/file.c static ssize_t gfs2_file_direct_read(struct kiocb *iocb, struct iov_iter *to) kiocb 770 fs/gfs2/file.c static ssize_t gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from) kiocb 806 fs/gfs2/file.c static ssize_t gfs2_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 831 fs/gfs2/file.c static ssize_t gfs2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 129 fs/hfs/inode.c static ssize_t hfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 126 fs/hfsplus/inode.c static ssize_t hfsplus_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 270 fs/hugetlbfs/inode.c static ssize_t hugetlbfs_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 308 fs/io_uring.c struct kiocb rw; kiocb 817 fs/io_uring.c struct kiocb *kiocb = &req->rw; kiocb 831 fs/io_uring.c ret = kiocb->ki_filp->f_op->iopoll(kiocb, spin); kiocb 955 fs/io_uring.c static void io_complete_rw(struct kiocb *kiocb, long res, long res2) kiocb 957 fs/io_uring.c struct io_kiocb *req = container_of(kiocb, struct io_kiocb, rw); kiocb 959 fs/io_uring.c if (kiocb->ki_flags & IOCB_WRITE) kiocb 968 fs/io_uring.c static void io_complete_rw_iopoll(struct kiocb *kiocb, long res, long res2) kiocb 970 fs/io_uring.c struct io_kiocb *req = container_of(kiocb, struct io_kiocb, rw); kiocb 972 fs/io_uring.c if (kiocb->ki_flags & IOCB_WRITE) kiocb 1080 fs/io_uring.c struct kiocb *kiocb = &req->rw; kiocb 1102 fs/io_uring.c kiocb->ki_pos = READ_ONCE(sqe->off); kiocb 1103 fs/io_uring.c kiocb->ki_flags = iocb_flags(kiocb->ki_filp); kiocb 1104 fs/io_uring.c kiocb->ki_hint = ki_hint_validate(file_write_hint(kiocb->ki_filp)); kiocb 1112 fs/io_uring.c kiocb->ki_ioprio = ioprio; kiocb 1114 fs/io_uring.c kiocb->ki_ioprio = get_current_ioprio(); kiocb 1116 fs/io_uring.c ret = kiocb_set_rw_flags(kiocb, READ_ONCE(sqe->rw_flags)); kiocb 1121 fs/io_uring.c if ((kiocb->ki_flags & IOCB_NOWAIT) || kiocb 1126 fs/io_uring.c kiocb->ki_flags |= IOCB_NOWAIT; kiocb 1129 fs/io_uring.c if (!(kiocb->ki_flags & IOCB_DIRECT) || kiocb 1130 fs/io_uring.c !kiocb->ki_filp->f_op->iopoll) kiocb 1133 fs/io_uring.c kiocb->ki_flags |= IOCB_HIPRI; kiocb 1134 fs/io_uring.c kiocb->ki_complete = io_complete_rw_iopoll; kiocb 1137 fs/io_uring.c if (kiocb->ki_flags & IOCB_HIPRI) kiocb 1139 fs/io_uring.c kiocb->ki_complete = io_complete_rw; kiocb 1144 fs/io_uring.c static inline void io_rw_done(struct kiocb *kiocb, ssize_t ret) kiocb 1161 fs/io_uring.c kiocb->ki_complete(kiocb, ret, 0); kiocb 1276 fs/io_uring.c static inline bool io_should_merge(struct async_list *al, struct kiocb *kiocb) kiocb 1278 fs/io_uring.c if (al->file == kiocb->ki_filp) { kiocb 1290 fs/io_uring.c if (kiocb->ki_pos >= start && kiocb->ki_pos <= end) kiocb 1307 fs/io_uring.c struct kiocb *kiocb = &req->rw; kiocb 1308 fs/io_uring.c struct file *filp = kiocb->ki_filp; kiocb 1310 fs/io_uring.c if (io_should_merge(async_list, kiocb)) { kiocb 1329 fs/io_uring.c async_list->io_start = kiocb->ki_pos; kiocb 1339 fs/io_uring.c static ssize_t loop_rw_iter(int rw, struct file *file, struct kiocb *kiocb, kiocb 1349 fs/io_uring.c if (kiocb->ki_flags & IOCB_HIPRI) kiocb 1351 fs/io_uring.c if (kiocb->ki_flags & IOCB_NOWAIT) kiocb 1370 fs/io_uring.c iovec.iov_len, &kiocb->ki_pos); kiocb 1373 fs/io_uring.c iovec.iov_len, &kiocb->ki_pos); kiocb 1397 fs/io_uring.c struct kiocb *kiocb = &req->rw; kiocb 1406 fs/io_uring.c file = kiocb->ki_filp; kiocb 1420 fs/io_uring.c ret = rw_verify_area(READ, file, &kiocb->ki_pos, iov_count); kiocb 1425 fs/io_uring.c ret2 = call_read_iter(file, kiocb, &iter); kiocb 1427 fs/io_uring.c ret2 = loop_rw_iter(READ, file, kiocb, &iter); kiocb 1443 fs/io_uring.c io_rw_done(kiocb, ret2); kiocb 1462 fs/io_uring.c struct kiocb *kiocb = &req->rw; kiocb 1472 fs/io_uring.c file = kiocb->ki_filp; kiocb 1486 fs/io_uring.c if (force_nonblock && !(kiocb->ki_flags & IOCB_DIRECT)) { kiocb 1493 fs/io_uring.c ret = rw_verify_area(WRITE, file, &kiocb->ki_pos, iov_count); kiocb 1510 fs/io_uring.c kiocb->ki_flags |= IOCB_WRITE; kiocb 1516 fs/io_uring.c ret2 = call_write_iter(file, kiocb, &iter); kiocb 1518 fs/io_uring.c ret2 = loop_rw_iter(WRITE, file, kiocb, &iter); kiocb 1524 fs/io_uring.c io_rw_done(kiocb, ret2); kiocb 819 fs/iomap/buffered-io.c iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *iter, kiocb 26 fs/iomap/direct-io.c struct kiocb *iocb; kiocb 51 fs/iomap/direct-io.c int iomap_dio_iopoll(struct kiocb *kiocb, bool spin) kiocb 53 fs/iomap/direct-io.c struct request_queue *q = READ_ONCE(kiocb->private); kiocb 57 fs/iomap/direct-io.c return blk_poll(q, READ_ONCE(kiocb->ki_cookie), spin); kiocb 76 fs/iomap/direct-io.c struct kiocb *iocb = dio->iocb; kiocb 131 fs/iomap/direct-io.c struct kiocb *iocb = dio->iocb; kiocb 396 fs/iomap/direct-io.c iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, kiocb 334 fs/jfs/inode.c static ssize_t jfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 1115 fs/libfs.c ssize_t noop_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 73 fs/nfs/direct.c struct kiocb * iocb; /* controlling i/o request */ kiocb 264 fs/nfs/direct.c ssize_t nfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 542 fs/nfs/direct.c ssize_t nfs_file_direct_read(struct kiocb *iocb, struct iov_iter *iter) kiocb 956 fs/nfs/direct.c ssize_t nfs_file_direct_write(struct kiocb *iocb, struct iov_iter *iter) kiocb 155 fs/nfs/file.c nfs_file_read(struct kiocb *iocb, struct iov_iter *to) kiocb 593 fs/nfs/file.c ssize_t nfs_file_write(struct kiocb *iocb, struct iov_iter *from) kiocb 367 fs/nfs/internal.h ssize_t nfs_file_read(struct kiocb *, struct iov_iter *); kiocb 369 fs/nfs/internal.h ssize_t nfs_file_write(struct kiocb *, struct iov_iter *); kiocb 295 fs/nilfs2/inode.c nilfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 317 fs/ntfs/file.c static ssize_t ntfs_prepare_file_for_write(struct kiocb *iocb, kiocb 1925 fs/ntfs/file.c static ssize_t ntfs_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 2417 fs/ocfs2/aops.c static int ocfs2_dio_end_io(struct kiocb *iocb, kiocb 2447 fs/ocfs2/aops.c static ssize_t ocfs2_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 55 fs/ocfs2/aops.h static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) kiocb 2275 fs/ocfs2/file.c static ssize_t ocfs2_file_write_iter(struct kiocb *iocb, kiocb 2432 fs/ocfs2/file.c static ssize_t ocfs2_file_read_iter(struct kiocb *iocb, kiocb 361 fs/orangefs/devorangefs-req.c static ssize_t orangefs_devreq_write_iter(struct kiocb *iocb, kiocb 310 fs/orangefs/file.c static ssize_t orangefs_file_read_iter(struct kiocb *iocb, kiocb 342 fs/orangefs/file.c static ssize_t orangefs_file_write_iter(struct kiocb *iocb, kiocb 588 fs/orangefs/inode.c static ssize_t orangefs_direct_IO(struct kiocb *iocb, kiocb 211 fs/overlayfs/file.c static rwf_t ovl_iocb_to_rwf(struct kiocb *iocb) kiocb 228 fs/overlayfs/file.c static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *iter) kiocb 254 fs/overlayfs/file.c static ssize_t ovl_write_iter(struct kiocb *iocb, struct iov_iter *iter) kiocb 272 fs/pipe.c pipe_read(struct kiocb *iocb, struct iov_iter *to) kiocb 379 fs/pipe.c pipe_write(struct kiocb *iocb, struct iov_iter *from) kiocb 406 fs/read_write.c struct kiocb kiocb; kiocb 410 fs/read_write.c init_sync_kiocb(&kiocb, filp); kiocb 411 fs/read_write.c kiocb.ki_pos = (ppos ? *ppos : 0); kiocb 414 fs/read_write.c ret = call_read_iter(filp, &kiocb, &iter); kiocb 417 fs/read_write.c *ppos = kiocb.ki_pos; kiocb 475 fs/read_write.c struct kiocb kiocb; kiocb 479 fs/read_write.c init_sync_kiocb(&kiocb, filp); kiocb 480 fs/read_write.c kiocb.ki_pos = (ppos ? *ppos : 0); kiocb 483 fs/read_write.c ret = call_write_iter(filp, &kiocb, &iter); kiocb 486 fs/read_write.c *ppos = kiocb.ki_pos; kiocb 681 fs/read_write.c struct kiocb kiocb; kiocb 684 fs/read_write.c init_sync_kiocb(&kiocb, filp); kiocb 685 fs/read_write.c ret = kiocb_set_rw_flags(&kiocb, flags); kiocb 688 fs/read_write.c kiocb.ki_pos = (ppos ? *ppos : 0); kiocb 691 fs/read_write.c ret = call_read_iter(filp, &kiocb, iter); kiocb 693 fs/read_write.c ret = call_write_iter(filp, &kiocb, iter); kiocb 696 fs/read_write.c *ppos = kiocb.ki_pos; kiocb 3263 fs/reiserfs/inode.c static ssize_t reiserfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 300 fs/splice.c struct kiocb kiocb; kiocb 305 fs/splice.c init_sync_kiocb(&kiocb, in); kiocb 306 fs/splice.c kiocb.ki_pos = *ppos; kiocb 307 fs/splice.c ret = call_read_iter(in, &kiocb, &to); kiocb 309 fs/splice.c *ppos = kiocb.ki_pos; kiocb 1438 fs/ubifs/file.c static ssize_t ubifs_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 108 fs/udf/file.c static ssize_t udf_adinicb_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 136 fs/udf/file.c static ssize_t udf_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 216 fs/udf/inode.c static ssize_t udf_direct_IO(struct kiocb *iocb, struct iov_iter *iter) kiocb 176 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 199 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 227 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 249 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 282 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 371 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 477 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 572 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 618 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 694 fs/xfs/xfs_file.c struct kiocb *iocb, kiocb 96 include/crypto/if_alg.h struct kiocb *iocb; kiocb 8 include/linux/aio.h struct kiocb; kiocb 11 include/linux/aio.h typedef int (kiocb_cancel_fn)(struct kiocb *); kiocb 16 include/linux/aio.h void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel); kiocb 19 include/linux/aio.h static inline void kiocb_set_cancel_fn(struct kiocb *req, kiocb 830 include/linux/bio.h static inline void bio_set_polled(struct bio *bio, struct kiocb *kiocb) kiocb 833 include/linux/bio.h if (!is_sync_kiocb(kiocb)) kiocb 214 include/linux/dax.h ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter, kiocb 53 include/linux/fs.h struct kiocb; kiocb 92 include/linux/fs.h typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset, kiocb 325 include/linux/fs.h void (*ki_complete)(struct kiocb *iocb, long ret, long ret2); kiocb 335 include/linux/fs.h static inline bool is_sync_kiocb(struct kiocb *kiocb) kiocb 337 include/linux/fs.h return kiocb->ki_complete == NULL; kiocb 391 include/linux/fs.h ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter); kiocb 1827 include/linux/fs.h ssize_t (*read_iter) (struct kiocb *, struct iov_iter *); kiocb 1828 include/linux/fs.h ssize_t (*write_iter) (struct kiocb *, struct iov_iter *); kiocb 1829 include/linux/fs.h int (*iopoll)(struct kiocb *kiocb, bool spin); kiocb 1894 include/linux/fs.h static inline ssize_t call_read_iter(struct file *file, struct kiocb *kio, kiocb 1900 include/linux/fs.h static inline ssize_t call_write_iter(struct file *file, struct kiocb *kio, kiocb 2065 include/linux/fs.h typeof(((struct kiocb *)0)->ki_hint) max_hint = -1; kiocb 2072 include/linux/fs.h static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) kiocb 2074 include/linux/fs.h *kiocb = (struct kiocb) { kiocb 2858 include/linux/fs.h static inline ssize_t generic_write_sync(struct kiocb *iocb, ssize_t count) kiocb 3098 include/linux/fs.h extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *); kiocb 3106 include/linux/fs.h extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *); kiocb 3107 include/linux/fs.h extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *); kiocb 3108 include/linux/fs.h extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *); kiocb 3109 include/linux/fs.h extern ssize_t generic_file_direct_write(struct kiocb *, struct iov_iter *); kiocb 3118 include/linux/fs.h extern ssize_t blkdev_read_iter(struct kiocb *iocb, struct iov_iter *to); kiocb 3119 include/linux/fs.h extern ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from); kiocb 3166 include/linux/fs.h ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, kiocb 3172 include/linux/fs.h static inline ssize_t blockdev_direct_IO(struct kiocb *iocb, kiocb 3311 include/linux/fs.h extern ssize_t noop_direct_IO(struct kiocb *iocb, struct iov_iter *iter); kiocb 3404 include/linux/fs.h static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags) kiocb 16 include/linux/iomap.h struct kiocb; kiocb 152 include/linux/iomap.h ssize_t iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *from, kiocb 193 include/linux/iomap.h int (*end_io)(struct kiocb *iocb, ssize_t size, int error, kiocb 197 include/linux/iomap.h ssize_t iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, kiocb 199 include/linux/iomap.h int iomap_dio_iopoll(struct kiocb *kiocb, bool spin); kiocb 480 include/linux/nfs_fs.h extern ssize_t nfs_direct_IO(struct kiocb *, struct iov_iter *); kiocb 481 include/linux/nfs_fs.h extern ssize_t nfs_file_direct_read(struct kiocb *iocb, kiocb 483 include/linux/nfs_fs.h extern ssize_t nfs_file_direct_write(struct kiocb *iocb, kiocb 56 include/linux/socket.h struct kiocb *msg_iocb; /* ptr to iocb for async requests */ kiocb 817 kernel/printk/printk.c static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from) kiocb 2009 mm/filemap.c static ssize_t generic_file_buffered_read(struct kiocb *iocb, kiocb 2274 mm/filemap.c generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter) kiocb 2938 mm/filemap.c inline ssize_t generic_write_checks(struct kiocb *iocb, struct iov_iter *from) kiocb 3144 mm/filemap.c generic_file_direct_write(struct kiocb *iocb, struct iov_iter *from) kiocb 3348 mm/filemap.c ssize_t __generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 3436 mm/filemap.c ssize_t generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 286 mm/page_io.c struct kiocb kiocb; kiocb 297 mm/page_io.c init_sync_kiocb(&kiocb, swap_file); kiocb 298 mm/page_io.c kiocb.ki_pos = page_file_offset(page); kiocb 302 mm/page_io.c ret = mapping->a_ops->direct_IO(&kiocb, &from); kiocb 2529 mm/shmem.c static ssize_t shmem_file_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 49 net/qrtr/tun.c static ssize_t qrtr_tun_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 75 net/qrtr/tun.c static ssize_t qrtr_tun_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 112 net/socket.c static ssize_t sock_read_iter(struct kiocb *iocb, struct iov_iter *to); kiocb 113 net/socket.c static ssize_t sock_write_iter(struct kiocb *iocb, struct iov_iter *from); kiocb 950 net/socket.c static ssize_t sock_read_iter(struct kiocb *iocb, struct iov_iter *to) kiocb 972 net/socket.c static ssize_t sock_write_iter(struct kiocb *iocb, struct iov_iter *from) kiocb 3110 sound/core/pcm_native.c static ssize_t snd_pcm_readv(struct kiocb *iocb, struct iov_iter *to) kiocb 3146 sound/core/pcm_native.c static ssize_t snd_pcm_writev(struct kiocb *iocb, struct iov_iter *from)