Home
last modified time | relevance | path

Searched refs:IOCB_DIRECT (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/fs/ext2/
Dfile.c253 iocb->ki_flags &= ~IOCB_DIRECT; in ext2_dio_write_iter()
288 if (iocb->ki_flags & IOCB_DIRECT) in ext2_file_read_iter()
300 if (iocb->ki_flags & IOCB_DIRECT) in ext2_file_write_iter()
/Linux-v6.6/fs/zonefs/
Dfile.c421 if ((iocb->ki_flags & IOCB_NOWAIT) && !(iocb->ki_flags & IOCB_DIRECT)) in zonefs_write_checks()
580 if (iocb->ki_flags & IOCB_DIRECT) { in zonefs_file_write_iter()
639 if (iocb->ki_flags & IOCB_DIRECT) { in zonefs_file_read_iter()
/Linux-v6.6/fs/ext4/
Dfile.c90 iocb->ki_flags &= ~IOCB_DIRECT; in ext4_dio_read_iter()
144 if (iocb->ki_flags & IOCB_DIRECT) in ext4_file_read_iter()
714 if (iocb->ki_flags & IOCB_DIRECT) in ext4_file_write_iter()
/Linux-v6.6/block/
Dfops.c665 if ((iocb->ki_flags & (IOCB_NOWAIT | IOCB_DIRECT)) == IOCB_NOWAIT) in blkdev_write_iter()
678 if (iocb->ki_flags & IOCB_DIRECT) { in blkdev_write_iter()
714 if (iocb->ki_flags & IOCB_DIRECT) { in blkdev_read_iter()
/Linux-v6.6/fs/cachefiles/
Dio.c140 ki->iocb.ki_flags = IOCB_DIRECT; in cachefiles_read()
308 ki->iocb.ki_flags = IOCB_DIRECT | IOCB_WRITE; in __cachefiles_write()
/Linux-v6.6/fs/ceph/
Dfile.c1199 if (aio_req->iocb->ki_flags & IOCB_DIRECT) in ceph_aio_complete()
2012 bool direct_lock = iocb->ki_flags & IOCB_DIRECT; in ceph_read_iter()
2044 (iocb->ki_flags & IOCB_DIRECT) || in ceph_read_iter()
2053 (iocb->ki_flags & IOCB_DIRECT) && in ceph_read_iter()
2252 if ((iocb->ki_flags & (IOCB_DIRECT | IOCB_APPEND)) == IOCB_DIRECT) in ceph_write_iter()
2320 (iocb->ki_flags & IOCB_DIRECT) || (fi->flags & CEPH_F_SYNC) || in ceph_write_iter()
2340 if ((iocb->ki_flags & IOCB_DIRECT) && !IS_ENCRYPTED(inode)) in ceph_write_iter()
/Linux-v6.6/io_uring/
Drw.c627 if (kiocb->ki_flags & (IOCB_DIRECT | IOCB_HIPRI)) in io_rw_should_retry()
695 if (!(kiocb->ki_flags & IOCB_DIRECT) || !file->f_op->iopoll) in io_rw_init_file()
893 if (!(kiocb->ki_flags & IOCB_DIRECT) && in io_write()
/Linux-v6.6/fs/nfs/
Dfile.c162 if (iocb->ki_flags & IOCB_DIRECT) in nfs_file_read()
650 if (iocb->ki_flags & IOCB_DIRECT) in nfs_file_write()
/Linux-v6.6/fs/overlayfs/
Dfile.c328 if (iocb->ki_flags & IOCB_DIRECT && in ovl_read_iter()
386 if (iocb->ki_flags & IOCB_DIRECT && in ovl_write_iter()
/Linux-v6.6/fs/xfs/
Dxfs_file.c299 else if (iocb->ki_flags & IOCB_DIRECT) in xfs_file_read_iter()
812 if (iocb->ki_flags & IOCB_DIRECT) { in xfs_file_write_iter()
/Linux-v6.6/fs/ntfs3/
Dfile.c725 if (is_compressed(ni) && (iocb->ki_flags & IOCB_DIRECT)) { in ntfs_file_read_iter()
1050 if (is_compressed(ni) && (iocb->ki_flags & IOCB_DIRECT)) { in ntfs_file_write_iter()
/Linux-v6.6/fs/erofs/
Ddata.c385 if (iocb->ki_flags & IOCB_DIRECT) { in erofs_file_read_iter()
/Linux-v6.6/fs/gfs2/
Dfile.c962 if (iocb->ki_flags & IOCB_DIRECT) in gfs2_file_read_iter()
1127 if (iocb->ki_flags & IOCB_DIRECT) { in gfs2_file_write_iter()
/Linux-v6.6/include/linux/
Dfs.h334 #define IOCB_DIRECT (1 << 17) macro
364 { IOCB_DIRECT, "DIRECT" }, \
3171 res |= IOCB_DIRECT; in iocb_flags()
/Linux-v6.6/drivers/target/
Dtarget_core_file.c296 aio_cmd->iocb.ki_flags = IOCB_DIRECT; in fd_execute_rw_aio()
/Linux-v6.6/fs/fuse/
Dfile.c1341 if (iocb->ki_flags & IOCB_DIRECT) { in fuse_cache_write_iter()
1549 if (!is_sync_kiocb(iocb) && iocb->ki_flags & IOCB_DIRECT) { in fuse_direct_read_iter()
1603 if (!is_sync_kiocb(iocb) && iocb->ki_flags & IOCB_DIRECT) { in fuse_direct_write_iter()
/Linux-v6.6/fs/ocfs2/
Dfile.c2364 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_write_iter()
2512 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_read_iter()
/Linux-v6.6/mm/
Dfilemap.c2798 if (iocb->ki_flags & IOCB_DIRECT) { in generic_file_read_iter()
4049 if (iocb->ki_flags & IOCB_DIRECT) { in __generic_file_write_iter()
/Linux-v6.6/fs/smb/client/
Dcifsfs.c992 if (iocb->ki_flags & IOCB_DIRECT) in cifs_loose_read_iter()
/Linux-v6.6/fs/btrfs/
Dfile.c1679 } else if (iocb->ki_flags & IOCB_DIRECT) { in btrfs_do_write_iter()
3811 if (iocb->ki_flags & IOCB_DIRECT) { in btrfs_file_read_iter()
/Linux-v6.6/fs/
Dread_write.c1670 !((iocb->ki_flags & IOCB_DIRECT) || in generic_write_checks_count()
/Linux-v6.6/drivers/block/
Dloop.c448 cmd->iocb.ki_flags = IOCB_DIRECT; in lo_rw_aio()
/Linux-v6.6/fs/f2fs/
Dfile.c4324 if (!(iocb->ki_flags & IOCB_DIRECT)) in f2fs_should_use_dio()
4821 if (ret > 0 && !dio && (iocb->ki_flags & IOCB_DIRECT)) in f2fs_file_write_iter()