Home
last modified time | relevance | path

Searched refs:ki_flags (Results 1 – 20 of 20) sorted by relevance

/linux-4.19.296/fs/ext4/
Dfile.c43 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()
Dinode.c3902 if (iocb->ki_flags & IOCB_NOWAIT) { in ext4_direct_IO_read()
/linux-4.19.296/fs/xfs/
Dxfs_file.c215 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()
/linux-4.19.296/fs/nfs/
Dfile.c159 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()
/linux-4.19.296/fs/gfs2/
Dfile.c757 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()
/linux-4.19.296/include/linux/
Dfs.h317 int ki_flags; member
1988 .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()
/linux-4.19.296/fs/ceph/
Dfile.c1271 (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()
/linux-4.19.296/fs/
Ddirect-io.c520 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()
Daio.c1425 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()
Dblock_dev.c186 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()
Diomap.c1861 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()
Ddax.c1305 if (iocb->ki_flags & IOCB_NOWAIT) in dax_iomap_rw()
/linux-4.19.296/fs/ocfs2/
Dfile.c2381 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()
/linux-4.19.296/fs/btrfs/
Dfile.c1902 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()
/linux-4.19.296/fs/f2fs/
Dfile.c2990 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()
Ddata.c933 bool direct_io = iocb->ki_flags & IOCB_DIRECT; in f2fs_preallocate_blocks()
2533 if (iocb->ki_flags & IOCB_NOWAIT) { in f2fs_direct_IO()
/linux-4.19.296/fs/overlayfs/
Dfile.c218 int ifl = iocb->ki_flags; in ovl_iocb_to_rwf()
/linux-4.19.296/drivers/char/
Drandom.c1302 ((kiocb->ki_flags & IOCB_NOWAIT) || in random_read_iter()
/linux-4.19.296/fs/fuse/
Dfile.c990 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()
/linux-4.19.296/fs/cifs/
Dcifsfs.c811 if (iocb->ki_flags & IOCB_DIRECT) in cifs_loose_read_iter()