Home
last modified time | relevance | path

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

12

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/tools/testing/selftests/mm/
H A Dhugetlb_dio.c142 fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664);
/linux/tools/perf/trace/beauty/
H A Dopen_flags.c8 #ifndef O_DIRECT
9 #define O_DIRECT 00040000
7 #define O_DIRECT global() macro
/linux/rust/kernel/fs/
H A Dfile.rs40 pub const O_DIRECT: u32 = bindings::O_DIRECT; constant
/linux/Documentation/mm/
H A Dpage_cache.rst8 interact with filesystems. It can be bypassed (e.g. with O_DIRECT),
/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/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/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()
H A Dima_crypto.c255 * For consistency, fail file's opened with the O_DIRECT flag on in ima_alloc_pages()
258 if (file->f_flags & O_DIRECT) { in ima_alloc_pages()
H A Dima_main.c459 if ((file->f_flags & O_DIRECT) && (iint->flags & IMA_PERMIT_DIRECTIO)) in process_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/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/fs/cachefiles/
H A Dnamei.c427 O_RDWR | O_LARGEFILE | O_DIRECT, in cachefiles_create_tmpfile()
530 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.c
/linux/fs/
H A Dpipe.c493 return (file->f_flags & O_DIRECT) != 0; in is_packetized()
1026 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), in create_pipe_files()
1068 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in __do_pipe_flags()
/linux/drivers/accel/habanalabs/common/
H A Dhldio.c83 if (!(f->filp->f_flags & O_DIRECT)) { in hl_dio_fd_register()
/linux/fs/nfs/
H A Dnfs4file.c95 filp->f_flags |= O_DIRECT; in nfs4_file_open()
/linux/drivers/nvme/target/
H A Dio-cmd-file.c39 flags |= O_DIRECT; in nvmet_file_ns_enable()
/linux/io_uring/
H A Dopenclose.c335 if (p->flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in io_pipe_prep()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_file_handle_test.c405 { O_DIRECT, "O_DIRECT" }, in TEST_F()
/linux/kernel/trace/
H A Dtrace_syscalls.c172 { O_DIRECT, "O_DIRECT" }, in sys_enter_openat_print()
423 "{ 0x%x, \"O_DIRECT\" }, ", O_DIRECT); in sys_enter_openat_print_fmt()
/linux/tools/testing/selftests/net/
H A Dipsec.c2303 if (pipe2(test_desc_fd, O_DIRECT) < 0) in main()
2306 if (pipe2(results_fd, O_DIRECT) < 0) in main()
/linux/tools/testing/selftests/namespaces/
H A Dfile_handle_test.c1413 fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_DIRECT); in TEST()

12