Lines Matching refs:filename
114 static int build_id_cache__add_kcore(const char *filename, bool force) in build_id_cache__add_kcore() argument
120 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
171 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file() argument
179 err = filename__read_build_id(filename, &build_id, sizeof(build_id)); in build_id_cache__add_file()
182 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__add_file()
187 err = build_id_cache__add_s(sbuild_id, filename, nsi, in build_id_cache__add_file()
189 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file()
194 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file() argument
203 err = filename__read_build_id(filename, &build_id, sizeof(build_id)); in build_id_cache__remove_file()
206 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__remove_file()
212 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file()
273 char filename[PATH_MAX]; in dso__missing_buildid_cache() local
276 if (dso__build_id_filename(dso, filename, sizeof(filename), false) && in dso__missing_buildid_cache()
277 filename__read_build_id(filename, build_id, in dso__missing_buildid_cache()
283 filename); in dso__missing_buildid_cache()
286 filename); in dso__missing_buildid_cache()
298 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file() argument
307 err = filename__read_build_id(filename, &build_id, sizeof(build_id)); in build_id_cache__update_file()
310 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__update_file()
320 err = build_id_cache__add_s(sbuild_id, filename, nsi, false, in build_id_cache__update_file()
323 pr_debug("Updating %s %s: %s\n", sbuild_id, filename, in build_id_cache__update_file()