/linux/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 168 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */ in test_openat2_flags() 169 { .name = "incompatible flags (O_TMPFILE | O_PATH)", in test_openat2_flags() 170 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 171 { .name = "incompatible flags (O_TMPFILE | O_CREAT)", in test_openat2_flags() 172 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags() 202 { .name = "valid how.mode and O_TMPFILE", in test_openat2_flags() 203 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags() 211 { .name = "invalid how.mode and O_TMPFILE", in test_openat2_flags() 212 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags() 214 { .name = "invalid (very large) how.mode and O_TMPFILE", in test_openat2_flags() [all...] |
/linux/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 16 /* Test that open(O_TMPFILE), linkat() doesn't screw accounting. */ 54 /* Our heroes: 1 root inode, 1 O_TMPFILE inode, 1 permanent inode. */ in main() 59 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 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()
|
H A D | hmm-tests.c | 225 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600); in hmm_create_file()
|
/linux/tools/perf/trace/beauty/ |
H A D | open_flags.c | 18 #ifndef O_TMPFILE 19 #define O_TMPFILE 020000000 macro
|
/linux/arch/um/os-Linux/ |
H A D | mem.c | 145 #ifdef O_TMPFILE in make_tempfile() 146 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile() 148 * If the running system does not support O_TMPFILE flag then retry in make_tempfile()
|
/linux/rust/kernel/fs/ |
H A D | file.rs | 72 pub const O_TMPFILE: u32 = bindings::O_TMPFILE; constant
|
/linux/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 209 fd = open(".", O_TMPFILE | O_RDWR, 0600); in TEST() 215 SKIP(goto out_free, "O_TMPFILE not supported by filesystem."); in TEST() 309 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600); in TEST()
|
/linux/include/uapi/asm-generic/ |
H A D | fcntl.h | 92 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | watch_queue.rst | 266 pipe2(fds, O_TMPFILE);
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | profiler.inc.h | 22 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro 767 if ((flags & O_TMPFILE) > 0) in kprobe_ret__do_filp_open()
|
/linux/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 197 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_file_handle_test.c | 409 { O_TMPFILE, "O_TMPFILE" }, in TEST_F()
|
/linux/Documentation/core-api/ |
H A D | watch_queue.rst | 296 pipe2(fds, O_TMPFILE);
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 29 return open(".", O_TMPFILE | O_RDWR | O_EXCL); in get_temp_fd()
|
/linux/tools/testing/selftests/coredump/ |
H A D | stackdump_test.c | 1473 return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in open_coredump_tmpfile()
|
/linux/Documentation/translations/it_IT/process/ |
H A D | adding-syscalls.rst | 635 - commit bb458c644a59 ("Safer ABI for O_TMPFILE")
|
/linux/Documentation/process/ |
H A D | adding-syscalls.rst | 650 - commit bb458c644a59 ("Safer ABI for O_TMPFILE")
|
/linux/Documentation/translations/sp_SP/process/ |
H A D | adding-syscalls.rst | 624 - commit bb458c644a59 ("Safer ABI for O_TMPFILE")
|
/linux/tools/testing/selftests/net/ |
H A D | tls.c | 1390 fd = open("/tmp/", O_TMPFILE | O_RDWR, 0600); in test_mutliproc()
|
/linux/Documentation/filesystems/ |
H A D | vfs.rst | 683 called in the end of O_TMPFILE open(). Optional, equivalent to
|
H A D | fscrypt.rst | 1294 O_TMPFILE temporary file be created in an encrypted directory. All
|
/linux/Documentation/filesystems/xfs/ |
H A D | xfs-online-fsck-design.rst | 3876 Temporary files created for repair are similar to ``O_TMPFILE`` files created
|