Home
last modified time | relevance | path

Searched full:mkdtemp (Results 1 – 22 of 22) sorted by relevance

/linux/tools/testing/selftests/proc/
H A Dproc-multiple-procfs.c30 assert(mkdtemp(procdir1) != NULL); in main()
31 assert(mkdtemp(procdir2) != NULL); in main()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dverify_pkcs7_sig.c256 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 Dtest_local_storage.c115 if (!ASSERT_OK_PTR(mkdtemp(tmp_dir_path), "mkdtemp")) in test_test_local_storage()
H A Dtest_ima.c89 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 Dhwmon_pmu.c81 if (!mkdtemp(dir)) { in test_pmu_get()
82 pr_err("mkdtemp failed\n"); in test_pmu_get()
H A Dsdt.c85 if (myself == NULL || mkdtemp(__tempdir) == NULL) { in test__sdt_event()
H A Dkallsyms-split.c69 root_dir = mkdtemp(root_template); in create_proc_dir()
H A Dpmu.c72 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 Dftrace.c42 if (!mkdtemp(ftrace_path)) in mount_ftrace()
155 tracer->instance_path = mkdtemp(tmp); in setup_ftrace_instance()
/linux/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c30 if (!mkdtemp(dirname)) in setup_testdir()
/linux/tools/testing/selftests/filesystems/fuse/
H A Dfusectl_test.c63 if (!mkdtemp(self->fuse_mountpoint)) in FIXTURE_SETUP()
/linux/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c73 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 Drename_attack_test.c41 if (!mkdtemp(dirname)) in setup_testdir()
H A Dresolve_test.c57 if (!mkdtemp(dirname)) in setup_testdir()
/linux/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c201 mntpoint = mkdtemp(devpts); in verify_non_standard_devpts_mount()
/linux/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c471 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 Djvmti_agent.c187 p = mkdtemp(jit_path); in create_jit_cache_dir()
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c59 ASSERT_NE(mkdtemp(self->root_mntpoint), NULL); in FIXTURE_SETUP()
H A Dmount-notify_test_ns.c68 ASSERT_NE(mkdtemp(self->root_mntpoint), NULL); in FIXTURE_SETUP()
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c125 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 Dkunit_tool_test.py35 test_tmpdir = tempfile.mkdtemp()
/linux/tools/perf/
H A Dbuiltin-ftrace.c362 path = mkdtemp(tracing_instance); in init_tracing_instance()