Searched refs:from_dir (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/tools/perf/ |
D | builtin-buildid-cache.c | 53 static bool same_kallsyms_reloc(const char *from_dir, char *to_dir) in same_kallsyms_reloc() argument 61 scnprintf(from, sizeof(from), "%s/kallsyms", from_dir); in same_kallsyms_reloc() 79 static int build_id_cache__kcore_existing(const char *from_dir, char *to_dir, in build_id_cache__kcore_existing() argument 93 scnprintf(from, sizeof(from), "%s/modules", from_dir); in build_id_cache__kcore_existing() 106 same_kallsyms_reloc(from_dir, to_subdir)) { in build_id_cache__kcore_existing() 121 char from_dir[PATH_MAX], to_dir[PATH_MAX]; in build_id_cache__add_kcore() local 124 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore() 126 p = strrchr(from_dir, '/'); in build_id_cache__add_kcore() 131 if (build_id_cache__kcore_buildid(from_dir, sbuildid) < 0) in build_id_cache__add_kcore() 138 !build_id_cache__kcore_existing(from_dir, to_dir, sizeof(to_dir))) { in build_id_cache__add_kcore() [all …]
|
D | builtin-record.c | 932 char from_dir[PATH_MAX]; in record__kcore_copy() local 936 snprintf(from_dir, sizeof(from_dir), "%s/proc", machine->root_dir); in record__kcore_copy() 942 return kcore_copy(from_dir, kcore_dir); in record__kcore_copy()
|
/linux-6.1.9/tools/perf/util/ |
D | symbol-elf.c | 1994 static int kcore_copy__copy_file(const char *from_dir, const char *to_dir, in kcore_copy__copy_file() argument 2000 scnprintf(from_filename, PATH_MAX, "%s/%s", from_dir, name); in kcore_copy__copy_file() 2074 static int kcore_copy__compare_file(const char *from_dir, const char *to_dir, in kcore_copy__compare_file() argument 2080 scnprintf(from_filename, PATH_MAX, "%s/%s", from_dir, name); in kcore_copy__compare_file() 2110 int kcore_copy(const char *from_dir, const char *to_dir) in kcore_copy() argument 2124 if (kcore_copy__copy_file(from_dir, to_dir, "kallsyms")) in kcore_copy() 2127 if (kcore_copy__copy_file(from_dir, to_dir, "modules")) in kcore_copy() 2130 scnprintf(kcore_filename, PATH_MAX, "%s/kcore", from_dir); in kcore_copy() 2136 if (kcore_copy__calc_maps(&kci, from_dir, kcore.elf)) in kcore_copy() 2169 if (kcore_copy__compare_file(from_dir, to_dir, "kallsyms")) in kcore_copy()
|
D | symbol.h | 227 int kcore_copy(const char *from_dir, const char *to_dir);
|
D | symbol-minimal.c | 372 int kcore_copy(const char *from_dir __maybe_unused, in kcore_copy()
|
/linux-6.1.9/fs/dlm/ |
D | lock.c | 559 int from_dir = 0; in find_rsb_dir() local 565 from_dir = 1; in find_rsb_dir() 587 if (from_local || from_dir || in find_rsb_dir() 635 if ((r->res_master_nodeid != our_nodeid) && from_dir) { in find_rsb_dir() 680 if (from_dir) { in find_rsb_dir()
|