Lines Matching refs:path
13 static int get_temp(char *path) in get_temp() argument
17 strcpy(path, TEMPL); in get_temp()
19 fd = mkstemp(path); in get_temp()
29 static int session_write_header(char *path) in session_write_header() argument
33 .path = path, in session_write_header()
56 static int check_cpu_topology(char *path, struct cpu_map *map) in check_cpu_topology() argument
60 .path = path, in check_cpu_topology()
89 char path[PATH_MAX]; in test_session_topology() local
93 TEST_ASSERT_VAL("can't get templ file", !get_temp(path)); in test_session_topology()
95 pr_debug("templ file: %s\n", path); in test_session_topology()
97 if (session_write_header(path)) in test_session_topology()
106 if (check_cpu_topology(path, map)) in test_session_topology()
113 unlink(path); in test_session_topology()