Searched refs:path2 (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/ia64/ |
D | aliasing-test.c | 65 char *name, *path2; in scan_tree() local 83 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree() 84 strcpy(path2, path); in scan_tree() 85 strcat(path2, "/"); in scan_tree() 86 strcat(path2, name); in scan_tree() 89 rc = map_mem(path2, offset, length, touch); in scan_tree() 91 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree() 93 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree() 95 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree() 99 r = lstat(path2, &buf); in scan_tree() [all …]
|
/tools/perf/util/ |
D | path.c | 37 int path__join(char *bf, size_t size, const char *path1, const char *path2) in path__join() argument 39 return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2); in path__join() 42 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3) in path__join3() argument 45 path2, path2[0] ? "/" : "", path3); in path__join3()
|
D | path.h | 10 int path__join(char *bf, size_t size, const char *path1, const char *path2); 11 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
|