Lines Matching refs:nsi
174 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi)
181 nsinfo__mountns_enter(nsi, &nsc);
190 err = build_id_cache__add_s(sbuild_id, filename, nsi,
197 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi)
205 nsinfo__mountns_enter(nsi, &nsc);
221 static int build_id_cache__purge_path(const char *pathname, struct nsinfo *nsi)
227 err = build_id_cache__list_build_ids(pathname, nsi, &list);
300 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi)
308 nsinfo__mountns_enter(nsi, &nsc);
322 err = build_id_cache__add_s(sbuild_id, filename, nsi, false,
373 struct nsinfo *nsi = NULL;
418 nsi = nsinfo__new(ns_id);
443 if (build_id_cache__add_file(pos->s, nsi)) {
461 if (build_id_cache__remove_file(pos->s, nsi)) {
479 if (build_id_cache__purge_path(pos->s, nsi)) {
507 if (build_id_cache__update_file(pos->s, nsi)) {
526 nsinfo__zput(nsi);