Home
last modified time | relevance | path

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

12

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h46 #ifndef O_DIRECT
47 #define O_DIRECT 00040000 /* direct disk access hint */ macro
/linux/tools/testing/selftests/mm/
H A Dhugetlb_dio.c147 fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664);
/linux/tools/perf/trace/beauty/
H A Dopen_flags.c6 #ifndef O_DIRECT
7 #define O_DIRECT 00040000 macro
/linux/arch/m68k/include/uapi/asm/
H A Dfcntl.h7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/linux/arch/powerpc/include/uapi/asm/
H A Dfcntl.h8 #define O_DIRECT 0400000 /* direct disk access hint */ macro
/linux/arch/arm/include/uapi/asm/
H A Dfcntl.h7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/linux/arch/arm64/include/uapi/asm/
H A Dfcntl.h25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/linux/rust/kernel/fs/
H A Dfile.rs40 pub const O_DIRECT: u32 = bindings::O_DIRECT; constant
/linux/arch/mips/include/uapi/asm/
H A Dfcntl.h38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h16 #define O_DIRECT 02000000 /* direct disk access - should check with OSF/1 */ macro
/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h19 #define O_DIRECT 0x100000 /* direct disk access hint */ macro
/linux/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/Documentation/mm/
H A Dpage_cache.rst8 interact with filesystems. It can be bypassed (e.g. with O_DIRECT),
/linux/fs/9p/
H A Dfid.h54 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes()
/linux/tools/testing/selftests/ublk/
H A Dcommon.c28 fd = open(file, O_RDWR | (i < nr_direct ? O_DIRECT : 0)); in backing_file_tgt_init()
/linux/include/linux/
H A Dfcntl.h12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
/linux/include/trace/misc/
H A Dfs.h35 { O_DIRECT, "O_DIRECT" }, \
/linux/security/integrity/ima/
H A Dima_api.c321 /* 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/Documentation/filesystems/nfs/
H A Dnfsd-io-modes.rst115 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/erofs/
H A Dishare.c108 if (file->f_flags & O_DIRECT) in erofs_ishare_file_open()
/linux/fs/cachefiles/
H A Dnamei.c426 O_RDWR | O_LARGEFILE | O_DIRECT, in cachefiles_create_tmpfile()
534 file = kernel_file_open(&path, O_RDWR | O_LARGEFILE | O_DIRECT, cache->cache_cred); in cachefiles_open_file()
/linux/tools/testing/selftests/openat2/
H A Dopenat2_test.c191 .how.flags = O_PATH | O_DIRECT, .err = -EINVAL }, in test_openat2_flags()
/linux/drivers/accel/habanalabs/common/
H A Dhldio.c83 if (!(f->filp->f_flags & O_DIRECT)) { in hl_dio_fd_register()
/linux/fs/
H A Dfcntl.c37 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)
63 (arg & O_DIRECT) && in setfl()

12