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