Searched refs:ki_flags (Results 1 – 20 of 20) sorted by relevance
43 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dax_read_iter()194 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_dax_write_iter()223 int o_direct = iocb->ki_flags & IOCB_DIRECT; in ext4_file_write_iter()235 if (!o_direct && (iocb->ki_flags & IOCB_NOWAIT)) in ext4_file_write_iter()239 if (iocb->ki_flags & IOCB_NOWAIT) in ext4_file_write_iter()266 } else if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_file_write_iter()
3902 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_direct_IO_read()
215 if (iocb->ki_flags & IOCB_NOWAIT) { in xfs_file_dax_read()239 if (iocb->ki_flags & IOCB_NOWAIT) { in xfs_file_buffered_aio_read()267 else if (iocb->ki_flags & IOCB_DIRECT) in xfs_file_read_iter()519 if (iocb->ki_flags & IOCB_NOWAIT) { in xfs_file_dio_aio_write()581 if (iocb->ki_flags & IOCB_NOWAIT) { in xfs_file_dax_write()628 if (iocb->ki_flags & IOCB_NOWAIT) in xfs_file_buffered_aio_write()714 if (iocb->ki_flags & IOCB_DIRECT) { in xfs_file_write_iter()
159 if (iocb->ki_flags & IOCB_DIRECT) in nfs_file_read()608 if (iocb->ki_flags & IOCB_DIRECT) in nfs_file_write()619 if (iocb->ki_flags & IOCB_APPEND) { in nfs_file_write()
757 if (iocb->ki_flags & IOCB_DIRECT) { in gfs2_file_read_iter()761 iocb->ki_flags &= ~IOCB_DIRECT; in gfs2_file_read_iter()791 if (iocb->ki_flags & IOCB_APPEND) { in gfs2_file_write_iter()813 if (iocb->ki_flags & IOCB_DIRECT) { in gfs2_file_write_iter()821 iocb->ki_flags |= IOCB_DSYNC; in gfs2_file_write_iter()
317 int ki_flags; member1988 .ki_flags = iocb_flags(filp), in init_sync_kiocb()2751 if (iocb->ki_flags & IOCB_DSYNC) { in generic_write_sync()2754 (iocb->ki_flags & IOCB_SYNC) ? 0 : 1); in generic_write_sync()3292 ki->ki_flags |= IOCB_NOWAIT; in kiocb_set_rw_flags()3295 ki->ki_flags |= IOCB_HIPRI; in kiocb_set_rw_flags()3297 ki->ki_flags |= IOCB_DSYNC; in kiocb_set_rw_flags()3299 ki->ki_flags |= (IOCB_DSYNC | IOCB_SYNC); in kiocb_set_rw_flags()3301 ki->ki_flags |= IOCB_APPEND; in kiocb_set_rw_flags()
1271 (iocb->ki_flags & IOCB_DIRECT) || in ceph_read_iter()1279 if (!retry_op && (iocb->ki_flags & IOCB_DIRECT)) { in ceph_read_iter()1413 if (iocb->ki_flags & IOCB_APPEND) { in ceph_write_iter()1477 (iocb->ki_flags & IOCB_DIRECT) || (fi->flags & CEPH_F_SYNC) || in ceph_write_iter()1498 if (iocb->ki_flags & IOCB_DIRECT) in ceph_write_iter()1548 iocb->ki_flags |= IOCB_DSYNC; in ceph_write_iter()
520 if (!(dio->iocb->ki_flags & IOCB_HIPRI) || in dio_await_one()1265 if (iocb->ki_flags & IOCB_NOWAIT) in do_blockdev_direct_IO()1277 if (iocb->ki_flags & IOCB_DSYNC) in do_blockdev_direct_IO()
1425 if (kiocb->ki_flags & IOCB_WRITE) { in aio_complete_rw()1449 req->ki_flags = iocb_flags(req->ki_filp); in aio_prep_rw()1451 req->ki_flags |= IOCB_EVENTFD; in aio_prep_rw()1473 req->ki_flags &= ~IOCB_HIPRI; /* no one is going to poll for this I/O */ in aio_prep_rw()1578 req->ki_flags |= IOCB_WRITE; in aio_write()
186 if (iocb->ki_flags & IOCB_DSYNC) in dio_bio_write_op()255 if (!(iocb->ki_flags & IOCB_HIPRI) || in __blkdev_direct_IO_simple()422 if (!(iocb->ki_flags & IOCB_HIPRI) || in __blkdev_direct_IO()1934 if ((iocb->ki_flags & (IOCB_NOWAIT | IOCB_DIRECT)) == IOCB_NOWAIT) in blkdev_write_iter()
1861 if (iocb->ki_flags & IOCB_DSYNC) in iomap_dio_rw()1870 if ((iocb->ki_flags & (IOCB_DSYNC | IOCB_SYNC)) == IOCB_DSYNC) in iomap_dio_rw()1874 if (iocb->ki_flags & IOCB_NOWAIT) { in iomap_dio_rw()1968 if (!(iocb->ki_flags & IOCB_HIPRI) || in iomap_dio_rw()
1305 if (iocb->ki_flags & IOCB_NOWAIT) in dax_iomap_rw()
2381 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_write_iter()2382 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_write_iter()2529 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_read_iter()2530 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_read_iter()
1902 if (!(iocb->ki_flags & IOCB_DIRECT) && in btrfs_file_write_iter()1903 (iocb->ki_flags & IOCB_NOWAIT)) in btrfs_file_write_iter()1906 if (iocb->ki_flags & IOCB_NOWAIT) { in btrfs_file_write_iter()1921 if (iocb->ki_flags & IOCB_NOWAIT) { in btrfs_file_write_iter()1979 if (iocb->ki_flags & IOCB_DIRECT) { in btrfs_file_write_iter()
2990 if ((iocb->ki_flags & IOCB_NOWAIT) && !(iocb->ki_flags & IOCB_DIRECT)) in f2fs_file_write_iter()2994 if (iocb->ki_flags & IOCB_NOWAIT) in f2fs_file_write_iter()3008 if ((iocb->ki_flags & IOCB_NOWAIT) && in f2fs_file_write_iter()3009 (iocb->ki_flags & IOCB_DIRECT)) { in f2fs_file_write_iter()
933 bool direct_io = iocb->ki_flags & IOCB_DIRECT; in f2fs_preallocate_blocks()2533 if (iocb->ki_flags & IOCB_NOWAIT) { in f2fs_direct_IO()
218 int ifl = iocb->ki_flags; in ovl_iocb_to_rwf()
1302 ((kiocb->ki_flags & IOCB_NOWAIT) || in random_read_iter()
990 if (iocb->ki_flags & IOCB_DSYNC) in fuse_send_write()992 if (iocb->ki_flags & IOCB_SYNC) in fuse_send_write()1226 if (iocb->ki_flags & IOCB_DIRECT) { in fuse_file_write_iter()
811 if (iocb->ki_flags & IOCB_DIRECT) in cifs_loose_read_iter()