| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | hugetlb_dio.c | 43 fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664); in run_dio_using_hugetlb() 98 fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664); in main()
|
| /linux-6.15/include/uapi/asm-generic/ |
| H A D | fcntl.h | 46 #ifndef O_DIRECT 47 #define O_DIRECT 00040000 /* direct disk access hint */ macro
|
| /linux-6.15/tools/perf/trace/beauty/ |
| H A D | open_flags.c | 6 #ifndef O_DIRECT 7 #define O_DIRECT 00040000 macro
|
| /linux-6.15/arch/arm/include/uapi/asm/ |
| H A D | fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
| /linux-6.15/arch/m68k/include/uapi/asm/ |
| H A D | fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
| /linux-6.15/arch/arm64/include/uapi/asm/ |
| H A D | fcntl.h | 25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
| /linux-6.15/arch/powerpc/include/uapi/asm/ |
| H A D | fcntl.h | 8 #define O_DIRECT 0400000 /* direct disk access hint */ macro
|
| /linux-6.15/arch/mips/include/uapi/asm/ |
| H A D | fcntl.h | 38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
|
| /linux-6.15/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 16 #define O_DIRECT 02000000 /* direct disk access - should check with OSF/1 */ macro
|
| /linux-6.15/arch/sparc/include/uapi/asm/ |
| H A D | fcntl.h | 19 #define O_DIRECT 0x100000 /* direct disk access hint */ macro
|
| /linux-6.15/rust/kernel/fs/ |
| H A D | file.rs | 33 pub const O_DIRECT: u32 = bindings::O_DIRECT; constant
|
| /linux-6.15/Documentation/mm/ |
| H A D | page_cache.rst | 8 interact with filesystems. It can be bypassed (e.g. with O_DIRECT),
|
| /linux-6.15/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-6.15/tools/testing/selftests/ublk/ |
| H A D | common.c | 28 fd = open(file, O_RDWR | O_DIRECT); in backing_file_tgt_init()
|
| /linux-6.15/fs/9p/ |
| H A D | fid.h | 54 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes()
|
| /linux-6.15/include/linux/ |
| H A D | fcntl.h | 12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
|
| /linux-6.15/include/trace/misc/ |
| H A D | fs.h | 35 { O_DIRECT, "O_DIRECT" }, \
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_api.c | 319 if (file->f_flags & O_DIRECT) in ima_collect_measurement() 384 if ((!result || result == -EEXIST) && !(file->f_flags & O_DIRECT)) { in ima_store_measurement()
|
| /linux-6.15/fs/nfs/ |
| H A D | file.c | 51 if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT)) in nfs_check_flags() 106 if (filp->f_flags & O_DIRECT) in nfs_revalidate_file_size()
|
| /linux-6.15/Documentation/filesystems/nfs/ |
| H A D | localio.rst | 276 application uses O_DIRECT the NFS client will bypass the pagecache but 280 can be configured to use end-to-end O_DIRECT semantics from the NFS 287 Once enabled, it will cause LOCALIO to use end-to-end O_DIRECT semantics 317 controls if O_DIRECT extends down to the underlying filesystem, defaults 319 O_DIRECT will fail.
|
| /linux-6.15/fs/autofs/ |
| H A D | autofs_i.h | 233 pipe->f_flags |= O_DIRECT; in autofs_set_packet_pipe_flags()
|
| /linux-6.15/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-6.15/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | 191 .how.flags = O_PATH | O_DIRECT, .err = -EINVAL }, in test_openat2_flags()
|
| /linux-6.15/fs/cachefiles/ |
| H A D | namei.c | 461 O_RDWR | O_LARGEFILE | O_DIRECT, in cachefiles_create_tmpfile() 569 file = kernel_file_open(&path, O_RDWR | O_LARGEFILE | O_DIRECT, cache->cache_cred); in cachefiles_open_file()
|
| /linux-6.15/fs/ |
| H A D | pipe.c | 418 return (file->f_flags & O_DIRECT) != 0; in is_packetized() 944 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), in create_pipe_files() 981 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in __do_pipe_flags()
|