Home
last modified time | relevance | path

Searched refs:O_TMPFILE (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/openat2/
H A Dopenat2_test.c170 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
172 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
203 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags()
212 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
215 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
232 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
/linux/tools/testing/selftests/tmpfs/
H A Dbug-link-o-tmpfile.c59 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
71 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
/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()
H A Dhmm-tests.c230 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600); in hmm_create_file()
/linux/tools/perf/trace/beauty/
H A Dopen_flags.c18 #ifndef O_TMPFILE
19 #define O_TMPFILE 020000000 macro
/linux/arch/um/os-Linux/
H A Dmem.c145 #ifdef O_TMPFILE in make_tempfile()
146 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
/linux/rust/kernel/fs/
H A Dfile.rs79 pub const O_TMPFILE: u32 = bindings::O_TMPFILE; constant
/linux/tools/testing/selftests/mincore/
H A Dmincore_selftest.c209 fd = open(".", O_TMPFILE | O_RDWR, 0600); in TEST()
309 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600); in TEST()
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h92 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/linux/Documentation/translations/zh_CN/core-api/
H A Dwatch_queue.rst266 pipe2(fds, O_TMPFILE);
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test_helpers.c304 return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in open_coredump_tmpfile()
/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h22 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
767 if ((flags & O_TMPFILE) > 0) in kprobe_ret__do_file_open()
/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.c
H A Dtest_memcontrol.c31 return open(".", O_TMPFILE | O_RDWR | O_EXCL);
/linux/tools/testing/selftests/proc/
H A Dproc-pid-vm.c201 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/linux/kernel/trace/
H A Dtrace_syscalls.c161 { O_TMPFILE, "O_TMPFILE" }, in sys_enter_openat_print()
197 if (!(bits & (O_CREAT|O_TMPFILE))) in sys_enter_openat_print()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_file_handle_test.c409 { O_TMPFILE, "O_TMPFILE" }, in TEST_F()
/linux/Documentation/core-api/
H A Dwatch_queue.rst296 pipe2(fds, O_TMPFILE);
/linux/tools/testing/selftests/namespaces/
H A Dfile_handle_test.c1417 fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_TMPFILE); in TEST()
/linux/tools/testing/selftests/net/
H A Dtls.c1472 fd = open("/tmp/", O_TMPFILE | O_RDWR, 0600); in test_mutliproc()