Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/openat2/
H A Dopenat2_test.c
/linux/tools/testing/selftests/filesystems/openat2/
H A Dopenat2_test.c174 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in TEST_F()
176 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in TEST_F()
207 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in TEST_F()
216 .how.flags = O_TMPFILE | O_RDWR, in TEST_F()
219 .how.flags = O_TMPFILE | O_RDWR, in TEST_F()
236 .how.flags = O_TMPFILE | O_RDWR, in TEST_F()
/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.c141 fd = open("/tmp", O_TMPFILE | O_RDWR | O_DIRECT, 0664);
/linux/tools/perf/trace/beauty/
H A Dopen_flags.c20 #ifndef O_TMPFILE
21 #define O_TMPFILE 020000000
19 #define O_TMPFILE global() macro
/linux/tools/testing/selftests/filesystems/
H A Didmapped_tmpfile.c126 fd = openat(mfd, ".", O_TMPFILE | O_WRONLY, 0644); in TEST_F()
151 fd = openat(mfd, ".", O_TMPFILE | O_RDWR, 0600); in TEST_F()
/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()
215 SKIP(goto out_free, "O_TMPFILE not supported by filesystem."); in TEST()
317 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600); in TEST()
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/Documentation/translations/zh_CN/core-api/
H A Dwatch_queue.rst266 pipe2(fds, O_TMPFILE);
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c994 fd = open("/tmp", O_TMPFILE | O_RDWR, 0644); in test_file_stream_wsr()
1380 fd = open("/tmp", O_TMPFILE | O_RDWR, 0644); in test_pwrite_pread()
1467 fd = open("/tmp", O_TMPFILE | O_RDWR, mode); in test_open_mode()
1578 fd = open("/tmp", O_TMPFILE | O_RDWR, 0644); in test_large_file()
1615 in_fd = open("/tmp", O_TMPFILE | O_RDWR, 0644); in test_sendfile()
1616 out_fd = open("/tmp", O_TMPFILE | O_RDWR, 0644); in test_sendfile()
/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/fs/smb/client/
H A Ddir.c310 if (oflags & O_TMPFILE)
321 } else if (oflags & O_TMPFILE) {
1121 cifs_dbg(VFS | ONCE, "O_TMPFILE is supported only in SMB2+\n");
H A Dfile.c863 if (oflags & O_TMPFILE)
1159 cfile->status_file_deleted = file->f_flags & O_TMPFILE; in cifs_open()
1191 if (file->f_flags & O_TMPFILE) in cifs_open()
H A Dcifsglob.h1575 CIFS_INO_TMPFILE, /* for O_TMPFILE inodes */
2436 if (oflags & O_TMPFILE)
/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.c
H A Dtest_memcontrol.c36 return open(".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in alloc_pagecache()
/linux/tools/testing/selftests/proc/
H A Dproc-pid-vm.c197 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/linux/kernel/trace/
H A Dtrace_syscalls.c162 { 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.c410 { 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/coredump/
H A Dcoredump_test_helpers.c1701 return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in open_coredump_tmpfile()
/linux/Documentation/translations/it_IT/process/
H A Dadding-syscalls.rst726 - commit bb458c644a59 ("Safer ABI for O_TMPFILE")

12