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

/linux-master/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. */
49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);
60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c18 #ifndef O_TMPFILE
19 #define O_TMPFILE 020000000 macro
/linux-master/tools/testing/selftests/openat2/
H A Dopenat2_test.c167 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */
168 { .name = "incompatible flags (O_TMPFILE | O_PATH)",
169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL },
170 { .name = "incompatible flags (O_TMPFILE | O_CREAT)",
171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL },
201 { .name = "valid how.mode and O_TMPFILE",
202 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 },
210 { .name = "invalid how.mode and O_TMPFILE",
211 .how.flags = O_TMPFILE | O_RDWR,
213 { .name = "invalid (very large) how.mode and O_TMPFILE",
[all...]
/linux-master/arch/um/os-Linux/
H A Dmem.c131 #ifdef O_TMPFILE
132 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700);
134 * If the running system does not support O_TMPFILE flag then retry
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/linux-master/tools/include/uapi/asm-generic/
H A Dfcntl.h93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
/linux-master/tools/testing/selftests/mincore/
H A Dmincore_selftest.c209 fd = open(".", O_TMPFILE | O_RDWR, 0600);
215 SKIP(goto out_free, "O_TMPFILE not supported by filesystem.");
314 fd = open("/dev/shm", O_TMPFILE | O_RDWR, 0600);
/linux-master/tools/testing/selftests/proc/
H A Dproc-pid-vm.c196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c469 return open(".", O_TMPFILE | O_RDWR | O_EXCL);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h21 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
770 if ((flags & O_TMPFILE) > 0)
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1080 fd = open("/tmp", O_TMPFILE | O_EXCL | O_RDWR, 0600);
/linux-master/tools/testing/selftests/mm/
H A Dhmm-tests.c225 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600);
/linux-master/tools/testing/selftests/net/
H A Dtls.c1369 fd = open("/tmp/", O_TMPFILE | O_RDWR, 0600);

Completed in 233 milliseconds