Home
last modified time | relevance | path

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

12

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h47 #ifndef O_DIRECT
48 #define O_DIRECT 00040000 /* direct disk access hint */ macro
/linux/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/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/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
H A Ddax.rst298 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 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/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.c314 /* 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 Dima_crypto.c542 if (file->f_flags & O_DIRECT) { in ima_calc_file_hash()
/linux/fs/nfs/
H A Dfile.c50 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 Dautofs_i.h231 pipe->f_flags |= O_DIRECT; in autofs_set_packet_pipe_flags()
/linux/fs/
H A Dpipe.c413 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 Dopenat2_test.c191 .how.flags = O_PATH | O_DIRECT, .err = -EINVAL }, in test_openat2_flags()
/linux/fs/smb/client/
H A Dfile.c441 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 Dio-cmd-file.c39 flags |= O_DIRECT; in nvmet_file_ns_enable()

12