Lines Matching refs:filename

128 static int build_id_cache__add_kcore(const char *filename, bool force)  in build_id_cache__add_kcore()  argument
134 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
185 static int build_id_cache__add_file(const char *filename) in build_id_cache__add_file() argument
191 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { in build_id_cache__add_file()
192 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__add_file()
197 err = build_id_cache__add_s(sbuild_id, filename, in build_id_cache__add_file()
199 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file()
204 static int build_id_cache__remove_file(const char *filename) in build_id_cache__remove_file() argument
211 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { in build_id_cache__remove_file()
212 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__remove_file()
218 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file()
251 char filename[PATH_MAX]; in dso__missing_buildid_cache() local
254 if (dso__build_id_filename(dso, filename, sizeof(filename)) && in dso__missing_buildid_cache()
255 filename__read_build_id(filename, build_id, in dso__missing_buildid_cache()
261 filename); in dso__missing_buildid_cache()
264 filename); in dso__missing_buildid_cache()
276 static int build_id_cache__update_file(const char *filename) in build_id_cache__update_file() argument
283 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { in build_id_cache__update_file()
284 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__update_file()
293 err = build_id_cache__add_s(sbuild_id, filename, false, false); in build_id_cache__update_file()
295 pr_debug("Updating %s %s: %s\n", sbuild_id, filename, in build_id_cache__update_file()