Searched refs:temp_path (Results 1 – 1 of 1) sorted by relevance
513 char *temp_path; in perf_setup() local516 temp_path = *path = malloc(PATH_MAX); in perf_setup()517 snprintf(temp_path, PATH_MAX, "%s/dmc.XXXXXXXX", mount_path); in perf_setup()518 atexit_b(^{ free(temp_path); }); in perf_setup()520 T_ASSERT_NOTNULL(mktemp(temp_path), "Create temporary file"); in perf_setup()521 atexit_b(^{ remove(temp_path); }); in perf_setup()523 temp_fd = *fd = open(temp_path, O_RDWR | O_CREAT); in perf_setup()