| /linux/tools/testing/selftests/proc/ |
| H A D | proc-multiple-procfs.c | 30 assert(mkdtemp(procdir1) != NULL); in main() 31 assert(mkdtemp(procdir2) != NULL); in main()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | verify_pkcs7_sig.c | 256 tmp_dir = mkdtemp(tmp_dir_template); in populate_data_item_mod() 257 if (!ASSERT_OK_PTR(tmp_dir, "mkdtemp")) in populate_data_item_mod() 454 tmp_dir = mkdtemp(tmp_dir_template); in test_open_file() 455 if (!ASSERT_OK_PTR(tmp_dir, "mkdtemp")) in test_open_file()
|
| H A D | test_local_storage.c | 115 if (!ASSERT_OK_PTR(mkdtemp(tmp_dir_path), "mkdtemp")) in test_test_local_storage()
|
| H A D | test_ima.c | 89 measured_dir = mkdtemp(measured_dir_template); in test_test_ima() 90 if (CHECK(measured_dir == NULL, "mkdtemp", "err %d\n", errno)) in test_test_ima()
|
| /linux/tools/perf/tests/ |
| H A D | hwmon_pmu.c | 81 if (!mkdtemp(dir)) { in test_pmu_get() 82 pr_err("mkdtemp failed\n"); in test_pmu_get()
|
| H A D | sdt.c | 85 if (myself == NULL || mkdtemp(__tempdir) == NULL) { in test__sdt_event()
|
| H A D | kallsyms-split.c | 69 root_dir = mkdtemp(root_template); in create_proc_dir()
|
| H A D | pmu.c | 72 if (!mkdtemp(dir)) { in test_pmu_get() 73 pr_err("mkdtemp failed\n"); in test_pmu_get()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | ftrace.c | 42 if (!mkdtemp(ftrace_path)) in mount_ftrace() 155 tracer->instance_path = mkdtemp(tmp); in setup_ftrace_instance()
|
| /linux/tools/testing/selftests/fchmodat2/ |
| H A D | fchmodat2_test.c | 30 if (!mkdtemp(dirname)) in setup_testdir()
|
| /linux/tools/testing/selftests/filesystems/fuse/ |
| H A D | fusectl_test.c | 63 if (!mkdtemp(self->fuse_mountpoint)) in FIXTURE_SETUP()
|
| /linux/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 73 EXPECT_NE(mkdtemp(binderfs_mntpt), NULL) { in __do_binderfs_test() 410 ASSERT_NE(mkdtemp(binderfs_mntpt), NULL) { in TEST()
|
| /linux/tools/testing/selftests/openat2/ |
| H A D | rename_attack_test.c | 41 if (!mkdtemp(dirname)) in setup_testdir()
|
| H A D | resolve_test.c | 57 if (!mkdtemp(dirname)) in setup_testdir()
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | devpts_pts.c | 201 mntpoint = mkdtemp(devpts); in verify_non_standard_devpts_mount()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | split_huge_page_test.c | 471 const char *tmpfs_loc = mkdtemp(tmpfs_template); in split_pte_mapped_thp() 576 *thp_fs_loc = mkdtemp(thp_fs_template); in split_file_backed_thp()
|
| /linux/tools/perf/jvmti/ |
| H A D | jvmti_agent.c | 187 p = mkdtemp(jit_path); in create_jit_cache_dir()
|
| /linux/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 59 ASSERT_NE(mkdtemp(self->root_mntpoint), NULL); in FIXTURE_SETUP()
|
| H A D | mount-notify_test_ns.c | 68 ASSERT_NE(mkdtemp(self->root_mntpoint), NULL); in FIXTURE_SETUP()
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 125 if (!mkdtemp(root_mntpoint)) in cleanup_namespace() 639 if (!mkdtemp(tmpdir)) { in test_listmount_tree() 640 ksft_perror("mkdtemp"); in test_listmount_tree() 774 if (!mkdtemp(tmpdir)) { 775 ksft_perror("mkdtemp");
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_tool_test.py | 35 test_tmpdir = tempfile.mkdtemp()
|
| /linux/tools/perf/ |
| H A D | builtin-ftrace.c | 362 path = mkdtemp(tracing_instance); in init_tracing_instance()
|