Home
last modified time | relevance | path

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

/tools/testing/selftests/ia64/
Daliasing-test.c65 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/
Dpath.c37 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()
Dpath.h10 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);