Lines Matching refs:from_dir
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()
152 if (kcore_copy(from_dir, to_dir)) { in build_id_cache__add_kcore()