Home
last modified time | relevance | path

Searched refs:path2 (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/ia64/
Daliasing-test.c68 char *name, *path2; in scan_tree() local
86 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree()
87 strcpy(path2, path); in scan_tree()
88 strcat(path2, "/"); in scan_tree()
89 strcat(path2, name); in scan_tree()
92 rc = map_mem(path2, offset, length, touch); in scan_tree()
94 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree()
96 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree()
98 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree()
102 r = lstat(path2, &buf); in scan_tree()
[all …]
/tools/perf/util/
Dpath.c61 int path__join(char *bf, size_t size, const char *path1, const char *path2) in path__join() argument
63 return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2); in path__join()
66 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3) in path__join3() argument
69 path2, path2[0] ? "/" : "", path3); in path__join3()
Dpath.h7 int path__join(char *bf, size_t size, const char *path1, const char *path2);
8 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);