Lines Matching refs:path
20 static void perf_setup(char **path, int *fd);
278 char *path; variable
286 perf_setup(&path, &fd);
296 …(elapsed_nsec, expected_nsec, "DMC disabled read(%ld) from %s is reasonably fast", READSIZE, path);
304 err = fsctl(path, DISK_CONDITIONER_IOC_SET, &info, 0);
309 …ec, expected_nsec, "DMC enabled read(%ld) from %s is at least the expected delay", READSIZE, path);
310 …ed_nsec, "DMC enabled read(%ld) from %s is no more than twice the expected delay", READSIZE, path);
314 err = fsctl(path, DISK_CONDITIONER_IOC_SET, &info, 0);
320 …d_nsec, expected_nsec, "After disabling DMC read(%ld) from %s is reasonably fast", READSIZE, path);
381 char *path = malloc(PATH_MAX); in mktempdir() local
382 strcpy(path, "/tmp/dmc.XXXXXXXX"); in mktempdir()
383 atexit_b(^{ free(path); }); in mktempdir()
387 T_ASSERT_NOTNULL(mkdtemp(path), "Create temporary directory"); in mktempdir()
388 atexit_b(^{ remove(path); }); in mktempdir()
390 return path; in mktempdir()
510 perf_setup(char **path, int *fd) in perf_setup() argument
516 temp_path = *path = malloc(PATH_MAX); in perf_setup()