Home
last modified time | relevance | path

Searched refs:O_DIRECT (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.15/tools/testing/selftests/mm/
H A Dhugetlb_dio.c43 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 Dfcntl.h46 #ifndef O_DIRECT
47 #define O_DIRECT 00040000 /* direct disk access hint */ macro
/linux-6.15/tools/perf/trace/beauty/
H A Dopen_flags.c6 #ifndef O_DIRECT
7 #define O_DIRECT 00040000 macro
/linux-6.15/arch/arm/include/uapi/asm/
H A Dfcntl.h7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/linux-6.15/arch/m68k/include/uapi/asm/
H A Dfcntl.h7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/linux-6.15/arch/arm64/include/uapi/asm/
H A Dfcntl.h25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/linux-6.15/arch/powerpc/include/uapi/asm/
H A Dfcntl.h8 #define O_DIRECT 0400000 /* direct disk access hint */ macro
/linux-6.15/arch/mips/include/uapi/asm/
H A Dfcntl.h38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
/linux-6.15/arch/alpha/include/uapi/asm/
H A Dfcntl.h16 #define O_DIRECT 02000000 /* direct disk access - should check with OSF/1 */ macro
/linux-6.15/arch/sparc/include/uapi/asm/
H A Dfcntl.h19 #define O_DIRECT 0x100000 /* direct disk access hint */ macro
/linux-6.15/rust/kernel/fs/
H A Dfile.rs33 pub const O_DIRECT: u32 = bindings::O_DIRECT; constant
/linux-6.15/Documentation/mm/
H A Dpage_cache.rst8 interact with filesystems. It can be bypassed (e.g. with O_DIRECT),
/linux-6.15/Documentation/filesystems/
H A Docfs2.rst106 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 Dcommon.c28 fd = open(file, O_RDWR | O_DIRECT); in backing_file_tgt_init()
/linux-6.15/fs/9p/
H A Dfid.h54 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes()
/linux-6.15/include/linux/
H A Dfcntl.h12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
/linux-6.15/include/trace/misc/
H A Dfs.h35 { O_DIRECT, "O_DIRECT" }, \
/linux-6.15/security/integrity/ima/
H A Dima_api.c319 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 Dfile.c51 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 Dlocalio.rst276 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 Dautofs_i.h233 pipe->f_flags |= O_DIRECT; in autofs_set_packet_pipe_flags()
/linux-6.15/fs/overlayfs/
H A Dfile.c63 #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 Dopenat2_test.c191 .how.flags = O_PATH | O_DIRECT, .err = -EINVAL }, in test_openat2_flags()
/linux-6.15/fs/cachefiles/
H A Dnamei.c461 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 Dpipe.c418 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()

123