Searched refs:O_TMPFILE (Results 1 - 13 of 13) sorted by relevance
/linux-master/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 16 /* 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 D | open_flags.c | 18 #ifndef O_TMPFILE 19 #define O_TMPFILE 020000000 macro
|
/linux-master/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 167 /* 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 D | mem.c | 131 #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 D | fcntl.h | 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/linux-master/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro
|
/linux-master/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 209 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 D | proc-pid-vm.c | 196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 469 return open(".", O_TMPFILE | O_RDWR | O_EXCL);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | profiler.inc.h | 21 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) macro 770 if ((flags & O_TMPFILE) > 0)
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 1080 fd = open("/tmp", O_TMPFILE | O_EXCL | O_RDWR, 0600);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 225 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600);
|
/linux-master/tools/testing/selftests/net/ |
H A D | tls.c | 1369 fd = open("/tmp/", O_TMPFILE | O_RDWR, 0600);
|
Completed in 233 milliseconds