Lines Matching refs:from_dir
53 static bool same_kallsyms_reloc(const char *from_dir, char *to_dir)
61 scnprintf(from, sizeof(from), "%s/kallsyms", from_dir);
79 static int build_id_cache__kcore_existing(const char *from_dir, char *to_dir,
93 scnprintf(from, sizeof(from), "%s/modules", from_dir);
106 same_kallsyms_reloc(from_dir, to_subdir)) {
121 char from_dir[PATH_MAX], to_dir[PATH_MAX];
124 strlcpy(from_dir, filename, sizeof(from_dir));
126 p = strrchr(from_dir, '/');
131 if (build_id_cache__kcore_buildid(from_dir, sbuildid) < 0)
138 !build_id_cache__kcore_existing(from_dir, to_dir, sizeof(to_dir))) {
152 if (kcore_copy(from_dir, to_dir)) {