Home
last modified time | relevance | path

Searched refs:O_TMPFILE (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dopenat2_test.c163 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */ in test_openat2_flags()
164 { .name = "incompatible flags (O_TMPFILE | O_PATH)", in test_openat2_flags()
165 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
166 { .name = "incompatible flags (O_TMPFILE | O_CREAT)", in test_openat2_flags()
167 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
197 { .name = "valid how.mode and O_TMPFILE", in test_openat2_flags()
198 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags()
206 { .name = "invalid how.mode and O_TMPFILE", in test_openat2_flags()
207 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
209 { .name = "invalid (very large) how.mode and O_TMPFILE", in test_openat2_flags()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/
H A Dopenat2_test.c167 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */ in test_openat2_flags()
168 { .name = "incompatible flags (O_TMPFILE | O_PATH)", in test_openat2_flags()
169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
170 { .name = "incompatible flags (O_TMPFILE | O_CREAT)", in test_openat2_flags()
171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
201 { .name = "valid how.mode and O_TMPFILE", in test_openat2_flags()
202 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags()
210 { .name = "invalid how.mode and O_TMPFILE", in test_openat2_flags()
211 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
213 { .name = "invalid (very large) how.mode and O_TMPFILE", in test_openat2_flags()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/tmpfs/
H A Dbug-link-o-tmpfile.c16 /* Test that open(O_TMPFILE), linkat() doesn't screw accounting. */
43 /* Our heroes: 1 root inode, 1 O_TMPFILE inode, 1 permanent inode. */ in main()
49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/tmpfs/
H A Dbug-link-o-tmpfile.c16 /* Test that open(O_TMPFILE), linkat() doesn't screw accounting. */
43 /* Our heroes: 1 root inode, 1 O_TMPFILE inode, 1 permanent inode. */ in main()
49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dopen_flags.c18 #ifndef O_TMPFILE
19 #define O_TMPFILE 020000000 macro
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dopen_flags.c18 #ifndef O_TMPFILE
19 #define O_TMPFILE 020000000 macro
/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Dmem.c109 #ifdef O_TMPFILE in make_tempfile()
110 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
112 * If the running system does not support O_TMPFILE flag then retry in make_tempfile()
/kernel/linux/linux-6.6/arch/um/os-Linux/
H A Dmem.c131 #ifdef O_TMPFILE in make_tempfile()
132 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
134 * If the running system does not support O_TMPFILE flag then retry in make_tempfile()
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
H A Dfcntl.h92 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dfcntl.h93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dfcntl.h93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
H A Dfcntl.h93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dfcntl.h65 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dfcntl.h79 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dfcntl.h79 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/kernel/linux/linux-5.10/tools/testing/selftests/mincore/
H A Dmincore_selftest.c210 fd = open(".", O_TMPFILE | O_RDWR, 0600); in TEST()
216 SKIP(goto out_free, "O_TMPFILE not supported by filesystem."); in TEST()
315 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600); in TEST()
/kernel/linux/linux-6.6/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()
314 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600); in TEST()
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H A Dproc-pid-vm.c194 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
H A Dcgroup_util.c456 return open(".", O_TMPFILE | O_RDWR | O_EXCL); in get_temp_fd()
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dcgroup_util.c469 return open(".", O_TMPFILE | O_RDWR | O_EXCL); in get_temp_fd()
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-pid-vm.c196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h18 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
775 if ((flags & O_TMPFILE) > 0) in kprobe_ret__do_filp_open()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h19 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
787 if ((flags & O_TMPFILE) > 0) in kprobe_ret__do_filp_open()
/kernel/linux/linux-5.10/fs/
H A Dopen.c1038 * O_TMPFILE on old kernels, O_TMPFILE is implemented such that it in build_open_flags()
1043 if ((flags & O_TMPFILE_MASK) != O_TMPFILE) in build_open_flags()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dhmm-tests.c167 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600); in hmm_create_file()

Completed in 19 milliseconds

12