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