Lines Matching refs:nsi
175 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file() argument
182 nsinfo__mountns_enter(nsi, &nsc); in build_id_cache__add_file()
191 err = build_id_cache__add_s(sbuild_id, filename, nsi, in build_id_cache__add_file()
198 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file() argument
206 nsinfo__mountns_enter(nsi, &nsc); in build_id_cache__remove_file()
222 static int build_id_cache__purge_path(const char *pathname, struct nsinfo *nsi) in build_id_cache__purge_path() argument
228 err = build_id_cache__list_build_ids(pathname, nsi, &list); in build_id_cache__purge_path()
303 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file() argument
311 nsinfo__mountns_enter(nsi, &nsc); in build_id_cache__update_file()
325 err = build_id_cache__add_s(sbuild_id, filename, nsi, false, in build_id_cache__update_file()
390 struct nsinfo *nsi = NULL; in cmd_buildid_cache() local
445 nsi = nsinfo__new(ns_id); in cmd_buildid_cache()
470 if (build_id_cache__add_file(pos->s, nsi)) { in cmd_buildid_cache()
488 if (build_id_cache__remove_file(pos->s, nsi)) { in cmd_buildid_cache()
506 if (build_id_cache__purge_path(pos->s, nsi)) { in cmd_buildid_cache()
534 if (build_id_cache__update_file(pos->s, nsi)) { in cmd_buildid_cache()
553 nsinfo__zput(nsi); in cmd_buildid_cache()