Home
last modified time | relevance | path

Searched refs:kiocb (Results 1 – 25 of 62) sorted by relevance

123

/fs/
Dio_uring.c307 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 …]
Daio.c200 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 …]
Dread_write.c406 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 …]
Dblock_dev.c181 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 …]
Dsplice.c300 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()
Ddirect-io.c141 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/
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);
/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()
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/
Ddirect-io.c27 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/
Dcuse.c93 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()
Dfile.c986 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/
Dxfs_file.c176 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/
Dfile.c38 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/
Dvfs_file.c383 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/
Dfile.c108 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/
Dmmap.c68 static ssize_t sdcardfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) in sdcardfs_direct_IO()
Dfile.c378 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/
Dfile.c38 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/
Ddirect.c73 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()
Dfile.c155 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/
Daops.h55 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked()
/fs/overlayfs/
Dfile.c211 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/
Dfile.c310 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/
Dfile.c746 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/
Dfile.c582 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()

123