Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ext2/
Dfile.c253 iocb->ki_flags &= ~IOCB_DIRECT; in ext2_dio_write_iter()
287 if (iocb->ki_flags & IOCB_DIRECT) in ext2_file_read_iter()
299 if (iocb->ki_flags & IOCB_DIRECT) in ext2_file_write_iter()
/linux-6.6.21/fs/zonefs/
Dfile.c426 if ((iocb->ki_flags & IOCB_NOWAIT) && !(iocb->ki_flags & IOCB_DIRECT)) in zonefs_write_checks()
592 if (iocb->ki_flags & IOCB_DIRECT) { in zonefs_file_write_iter()
651 if (iocb->ki_flags & IOCB_DIRECT) { in zonefs_file_read_iter()
/linux-6.6.21/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()
695 if (iocb->ki_flags & IOCB_DIRECT) in ext4_file_write_iter()
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/io_uring/
Drw.c631 if (kiocb->ki_flags & (IOCB_DIRECT | IOCB_HIPRI)) in io_rw_should_retry()
699 if (!(kiocb->ki_flags & IOCB_DIRECT) || !file->f_op->iopoll) in io_rw_init_file()
897 if (!(kiocb->ki_flags & IOCB_DIRECT) && in io_write()
/linux-6.6.21/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-6.6.21/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-6.6.21/fs/erofs/
Ddata.c385 if (iocb->ki_flags & IOCB_DIRECT) { in erofs_file_read_iter()
/linux-6.6.21/fs/xfs/
Dxfs_file.c336 else if (iocb->ki_flags & IOCB_DIRECT) in xfs_file_read_iter()
849 if (iocb->ki_flags & IOCB_DIRECT) { in xfs_file_write_iter()
/linux-6.6.21/fs/ntfs3/
Dfile.c749 if (is_compressed(ni) && (iocb->ki_flags & IOCB_DIRECT)) { in ntfs_file_read_iter()
1083 if (is_compressed(ni) && (iocb->ki_flags & IOCB_DIRECT)) { in ntfs_file_write_iter()
/linux-6.6.21/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-6.6.21/include/linux/
Dfs.h334 #define IOCB_DIRECT (1 << 17) macro
366 { IOCB_DIRECT, "DIRECT" }, \
3232 res |= IOCB_DIRECT; in iocb_flags()
/linux-6.6.21/drivers/target/
Dtarget_core_file.c296 aio_cmd->iocb.ki_flags = IOCB_DIRECT; in fd_execute_rw_aio()
/linux-6.6.21/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()
1605 if (!is_sync_kiocb(iocb) && iocb->ki_flags & IOCB_DIRECT) { in fuse_direct_write_iter()
/linux-6.6.21/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-6.6.21/mm/
Dfilemap.c2807 if (iocb->ki_flags & IOCB_DIRECT) { in generic_file_read_iter()
4058 if (iocb->ki_flags & IOCB_DIRECT) { in __generic_file_write_iter()
/linux-6.6.21/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-6.6.21/fs/smb/client/
Dcifsfs.c992 if (iocb->ki_flags & IOCB_DIRECT) in cifs_loose_read_iter()
/linux-6.6.21/fs/
Dread_write.c1670 !((iocb->ki_flags & IOCB_DIRECT) || in generic_write_checks_count()
/linux-6.6.21/drivers/block/
Dloop.c446 cmd->iocb.ki_flags = IOCB_DIRECT; in lo_rw_aio()
/linux-6.6.21/fs/f2fs/
Dfile.c4341 if (!(iocb->ki_flags & IOCB_DIRECT)) in f2fs_should_use_dio()
4838 if (ret > 0 && !dio && (iocb->ki_flags & IOCB_DIRECT)) in f2fs_file_write_iter()