Lines Matching refs:from_dir
52 static bool same_kallsyms_reloc(const char *from_dir, char *to_dir)
60 scnprintf(from, sizeof(from), "%s/kallsyms", from_dir);
78 static int build_id_cache__kcore_existing(const char *from_dir, char *to_dir,
92 scnprintf(from, sizeof(from), "%s/modules", from_dir);
105 same_kallsyms_reloc(from_dir, to_subdir)) {
120 char from_dir[PATH_MAX], to_dir[PATH_MAX];
123 strlcpy(from_dir, filename, sizeof(from_dir));
125 p = strrchr(from_dir, '/');
130 if (build_id_cache__kcore_buildid(from_dir, sbuildid) < 0)
137 !build_id_cache__kcore_existing(from_dir, to_dir, sizeof(to_dir))) {
151 if (kcore_copy(from_dir, to_dir)) {