| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |
| /linux/tools/testing/selftests/mm/ |
| H A D | hugetlb_dio.c | 141 fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664);
|
| /linux/tools/perf/trace/beauty/ |
| H A D | open_flags.c | 8 #ifndef O_DIRECT 9 #define O_DIRECT 00040000 7 #define O_DIRECT global() macro
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 40 pub const O_DIRECT: u32 = bindings::O_DIRECT; constant
|
| /linux/Documentation/filesystems/ |
| H A D | ocfs2.rst | 106 coherency=full (*) Disallow concurrent O_DIRECT writes, cluster inode 109 for O_DIRECT writes. 110 coherency=buffered Allow concurrent O_DIRECT writes without EX lock among
|
| /linux/Documentation/mm/ |
| H A D | page_cache.rst | 8 interact with filesystems. It can be bypassed (e.g. with O_DIRECT),
|
| /linux/fs/9p/ |
| H A D | fid.h | 54 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes()
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | common.c | 28 fd = open(file, O_RDWR | (i < nr_direct ? O_DIRECT : 0)); in backing_file_tgt_init()
|
| /linux/include/trace/misc/ |
| H A D | fs.h | 35 { O_DIRECT, "O_DIRECT" }, \
|
| /linux/security/integrity/ima/ |
| H A D | ima_api.c | 321 /* Possibly temporary failure due to type of read (eg. O_DIRECT) */ in ima_collect_measurement() 326 if (file->f_flags & O_DIRECT) in ima_collect_measurement() 391 if ((!result || result == -EEXIST) && !(file->f_flags & O_DIRECT)) { in ima_store_measurement()
|
| /linux/fs/nfs/ |
| H A D | file.c | 51 if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT)) in nfs_check_flags() 103 * idea of what the file length is), or O_DIRECT (in which case we 110 if (filp->f_flags & O_DIRECT) in nfs_revalidate_file_size()
|
| H A D | nfs4file.c | 95 filp->f_flags |= O_DIRECT; in nfs4_file_open()
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | nfsd-io-modes.rst | 115 But NFSD DIRECT does handle misaligned IO in terms of O_DIRECT as best 128 misaligned segments and O_DIRECT is used for the middle DIO-aligned
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 63 #define OVL_SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT) 75 if ((flags & O_DIRECT) && !(file->f_mode & FMODE_CAN_ODIRECT)) in ovl_change_flags()
|
| /linux/fs/cachefiles/ |
| H A D | namei.c | 429 O_RDWR | O_LARGEFILE | O_DIRECT, in cachefiles_create_tmpfile() 524 file = kernel_file_open(&path, O_RDWR | O_LARGEFILE | O_DIRECT, cache->cache_cred); in cachefiles_open_file()
|
| /linux/fs/ |
| H A D | pipe.c | 450 return (file->f_flags & O_DIRECT) != 0; in anon_pipe_read() 985 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), in get_pipe_inode() 1027 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in create_pipe_files()
|
| H A D | fcntl.c | 37 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME) 63 (arg & O_DIRECT) && in setfl()
|
| /linux/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | |
| /linux/tools/testing/selftests/filesystems/openat2/ |
| H A D | openat2_test.c | 195 .how.flags = O_PATH | O_DIRECT, .err = -EINVAL }, in TEST_F()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | hldio.c | 83 if (!(f->filp->f_flags & O_DIRECT)) { in hl_dio_fd_register()
|
| /linux/drivers/nvme/target/ |
| H A D | io-cmd-file.c | 39 flags |= O_DIRECT; in nvmet_file_ns_enable()
|
| /linux/io_uring/ |
| H A D | openclose.c | 338 if (p->flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in io_pipe_prep()
|
| /linux/fs/smb/client/ |
| H A D | dir.c | 633 if ((file->f_flags & O_DIRECT) && (sbflags & CIFS_MOUNT_STRICT_IO)) { 1173 if ((file->f_flags & O_DIRECT) && (sbflags & CIFS_MOUNT_STRICT_IO)) {
|
| H A D | file.c | 913 if (flags & O_DIRECT) in _cifsFileInfo_put() 1038 *? by this client. Flags O_APPEND, O_DIRECT, O_DIRECTORY, in cifs_do_truncate() 1547 if ((file->f_flags & O_DIRECT) && (sbflags & CIFS_MOUNT_STRICT_IO)) { in cifs_reopen_persistent_handles() 1670 if (!(file->f_flags & O_DIRECT)) in cifs_find_fid_lock_conflict() 3175 return (oflags & (O_SYNC | O_DIRECT)) == (cflags & (O_SYNC | O_DIRECT)); in cifs_strict_readv() 3278 (open_file->f_flags & O_DIRECT)) in is_size_safe_to_change() 3685 if (iocb->ki_filp->f_flags & O_DIRECT) {
|
| /linux/kernel/trace/ |
| H A D | trace_syscalls.c | 172 { O_DIRECT, "O_DIRECT" }, in sys_enter_openat_print() 423 "{ 0x%x, \"O_DIRECT\" }, ", O_DIRECT); in sys_enter_openat_print_fmt()
|