/linux/tools/include/uapi/asm-generic/ |
H A D | fcntl.h |
|
/linux/include/uapi/asm-generic/ |
H A D | fcntl.h | 47 #ifndef O_DIRECT 48 #define O_DIRECT 00040000 /* direct disk access hint */ macro
|
/linux/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/tools/perf/trace/beauty/ |
H A D | open_flags.c | 6 #ifndef O_DIRECT 7 #define O_DIRECT 00040000 macro
|
/linux/arch/m68k/include/uapi/asm/ |
H A D | fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/linux/arch/powerpc/include/uapi/asm/ |
H A D | fcntl.h | 8 #define O_DIRECT 0400000 /* direct disk access hint */ macro
|
/linux/arch/arm/include/uapi/asm/ |
H A D | fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/linux/arch/arm64/include/uapi/asm/ |
H A D | fcntl.h | 25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/linux/arch/mips/include/uapi/asm/ |
H A D | fcntl.h | 38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
|
/linux/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/arch/sparc/include/uapi/asm/ |
H A D | fcntl.h | 19 #define O_DIRECT 0x100000 /* direct disk access hint */ macro
|
/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
|
H A D | dax.rst | 298 how to do this). In the non struct page cases `O_DIRECT` reads/writes to 304 `O_DIRECT` reads/writes _of a `DAX` file do work, it is the memory that
|
/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/include/linux/ |
H A D | fcntl.h | 12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
|
/linux/include/trace/misc/ |
H A D | fs.h | 35 { O_DIRECT, "O_DIRECT" }, \
|
/linux/security/integrity/ima/ |
H A D | ima_api.c | 314 /* Possibly temporary failure due to type of read (eg. O_DIRECT) */ in ima_collect_measurement() 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()
|
H A D | ima_crypto.c | 542 if (file->f_flags & O_DIRECT) { in ima_calc_file_hash()
|
/linux/fs/nfs/ |
H A D | file.c | 50 if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT)) in nfs_check_flags() 105 if (filp->f_flags & O_DIRECT) in nfs_revalidate_file_size()
|
/linux/fs/autofs/ |
H A D | autofs_i.h | 231 pipe->f_flags |= O_DIRECT; in autofs_set_packet_pipe_flags()
|
/linux/fs/ |
H A D | pipe.c | 413 return (file->f_flags & O_DIRECT) != 0; in is_packetized() 939 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), in create_pipe_files() 970 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in __do_pipe_flags()
|
/linux/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 191 .how.flags = O_PATH | O_DIRECT, .err = -EINVAL }, in test_openat2_flags()
|
/linux/fs/smb/client/ |
H A D | file.c | 441 if (flags & O_DIRECT) in cifs_posix_convert_flags() 579 if (f_flags & O_DIRECT) in cifs_nt_open() 984 if (file->f_flags & O_DIRECT && in cifs_open() 1091 if (!(file->f_flags & O_DIRECT)) in cifs_open() 1234 if (cfile->f_flags & O_DIRECT) in cifs_reopen_file() 2862 if (iocb->ki_filp->f_flags & O_DIRECT) { in cifs_file_write_iter()
|
/linux/drivers/nvme/target/ |
H A D | io-cmd-file.c | 39 flags |= O_DIRECT; in nvmet_file_ns_enable()
|