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()
301 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file() argument
309 nsinfo__mountns_enter(nsi, &nsc); in build_id_cache__update_file()
323 err = build_id_cache__add_s(sbuild_id, filename, nsi, false, in build_id_cache__update_file()
388 struct nsinfo *nsi = NULL; in cmd_buildid_cache() local
443 nsi = nsinfo__new(ns_id); in cmd_buildid_cache()
468 if (build_id_cache__add_file(pos->s, nsi)) { in cmd_buildid_cache()
486 if (build_id_cache__remove_file(pos->s, nsi)) { in cmd_buildid_cache()
504 if (build_id_cache__purge_path(pos->s, nsi)) { in cmd_buildid_cache()
532 if (build_id_cache__update_file(pos->s, nsi)) { in cmd_buildid_cache()
551 nsinfo__zput(nsi); in cmd_buildid_cache()