Lines Matching refs:filename

117 static int build_id_cache__add_kcore(const char *filename, bool force)  in build_id_cache__add_kcore()  argument
123 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
174 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file() argument
182 err = filename__read_build_id(filename, &bid); in build_id_cache__add_file()
185 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__add_file()
190 err = build_id_cache__add_s(sbuild_id, filename, nsi, in build_id_cache__add_file()
192 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file()
197 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file() argument
206 err = filename__read_build_id(filename, &bid); in build_id_cache__remove_file()
209 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__remove_file()
215 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file()
276 char filename[PATH_MAX]; in dso__missing_buildid_cache() local
279 if (dso__build_id_filename(dso, filename, sizeof(filename), false) && in dso__missing_buildid_cache()
280 filename__read_build_id(filename, &bid) == -1) { in dso__missing_buildid_cache()
285 filename); in dso__missing_buildid_cache()
288 filename); in dso__missing_buildid_cache()
300 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file() argument
309 err = filename__read_build_id(filename, &bid); in build_id_cache__update_file()
312 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__update_file()
322 err = build_id_cache__add_s(sbuild_id, filename, nsi, false, in build_id_cache__update_file()
325 pr_debug("Updating %s %s: %s\n", sbuild_id, filename, in build_id_cache__update_file()