| /linux/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | |
| H A D | resolve_test.c | |
| H A D | helpers.c | |
| /linux/tools/testing/selftests/cachestat/ |
| H A D | test_cachestat.c | 235 fd = shm_open(filename, O_CREAT | O_RDWR, 0600); in run_cachestat_test() 237 fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0666); in run_cachestat_test() 330 false, 4, O_CREAT | O_RDWR, 0600) == KSFT_PASS) in main() 338 true, 4, O_CREAT | O_RDWR, 0600)) { in main()
|
| /linux/tools/include/nolibc/ |
| H A D | fcntl.h | 71 return open(path, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fs_kfuncs.c | 22 fd = open(testfile, O_CREAT | O_RDONLY, 0644); in test_xattr() 120 fd = open(testfile, O_CREAT | O_RDONLY, 0644); in test_fsverity() 209 fd = open(testfile, O_CREAT | O_RDWR, 0644);
|
| H A D | cgroup_xattr.c | 52 tmp_fd = open(TMP_FILE, O_RDONLY | O_CREAT); in test_read_cgroup_xattr()
|
| /linux/tools/testing/selftests/efivarfs/ |
| H A D | create-read.c | 26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
|
| H A D | open-unlink.c | 89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 37 pub const O_CREAT: u32 = bindings::O_CREAT; constant
|
| /linux/tools/perf/tests/ |
| H A D | pmu.c | 88 file = openat(dirfd, "perf-pmu-test/type", O_WRONLY | O_CREAT, 0600); in test_pmu_get() 113 file = openat(dirfd, name, O_WRONLY | O_CREAT, 0600); in test_pmu_get() 132 file = openat(dirfd, "perf-pmu-test/events/test-event", O_WRONLY | O_CREAT, 0600); in test_pmu_get()
|
| H A D | hwmon_pmu.c | 108 file = openat(hwmon_dirfd, "name", O_WRONLY | O_CREAT, 0600); in test_pmu_get() 125 file = openat(hwmon_dirfd, item->name, O_WRONLY | O_CREAT, 0600); in test_pmu_get()
|
| H A D | kallsyms-split.c | 81 fd = open(buf, O_RDWR | O_CREAT, 0600); in create_proc_dir()
|
| /linux/tools/testing/selftests/timers/ |
| H A D | mqueue-lat.c | 66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL); in mqueue_lat_test()
|
| /linux/tools/perf/trace/beauty/ |
| H A D | open_flags.c | 86 if (!(flags & O_CREAT)) in syscall_arg__scnprintf_open_flags()
|
| /linux/tools/testing/selftests/fchmodat2/ |
| H A D | fchmodat2_test.c | 39 ret = openat(dfd, "regfile", O_CREAT | O_WRONLY | O_TRUNC, 0644); in setup_testdir()
|
| /linux/tools/testing/selftests/mqueue/ |
| H A D | mq_open_tests.c | 202 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue() 224 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue_fail()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | rmap.c | 334 shm_fd = shm_open(data->filename, O_CREAT | O_RDWR, 0666); in TEST_F() 359 fd = open(data->filename, O_CREAT | O_RDWR | O_EXCL, 0666); in TEST_F()
|
| /linux/tools/testing/selftests/firmware/ |
| H A D | fw_namespace.c | 53 fd = open(fw_path, O_WRONLY | O_CREAT, 0600); in setup_fw()
|
| /linux/arch/powerpc/boot/ |
| H A D | mktree.c | 87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main()
|
| /linux/include/trace/misc/ |
| H A D | fs.h | 28 { O_CREAT, "O_CREAT" }, \
|
| /linux/tools/testing/selftests/filelock/ |
| H A D | ofdlocks.c | 39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600); in main()
|
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_wait.c | 134 fd = open(SHM_PATH, O_RDWR | O_CREAT, 0600); in TEST()
|
| /linux/tools/testing/selftests/kcmp/ |
| H A D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
|