Lines Matching defs:nsi
63 static int nsinfo__get_nspid(struct nsinfo *nsi, const char *path) in nsinfo__get_nspid()
99 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init()
144 struct nsinfo *nsi; in nsinfo__new() local
169 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi) in nsinfo__copy()
196 static void nsinfo__delete(struct nsinfo *nsi) in nsinfo__delete()
202 struct nsinfo *nsinfo__get(struct nsinfo *nsi) in nsinfo__get()
209 void nsinfo__put(struct nsinfo *nsi) in nsinfo__put()
215 bool nsinfo__need_setns(const struct nsinfo *nsi) in nsinfo__need_setns()
220 void nsinfo__clear_need_setns(struct nsinfo *nsi) in nsinfo__clear_need_setns()
225 pid_t nsinfo__tgid(const struct nsinfo *nsi) in nsinfo__tgid()
230 pid_t nsinfo__nstgid(const struct nsinfo *nsi) in nsinfo__nstgid()
235 pid_t nsinfo__pid(const struct nsinfo *nsi) in nsinfo__pid()
240 pid_t nsinfo__in_pidns(const struct nsinfo *nsi) in nsinfo__in_pidns()
245 void nsinfo__mountns_enter(struct nsinfo *nsi, in nsinfo__mountns_enter()
316 char *nsinfo__realpath(const char *path, struct nsinfo *nsi) in nsinfo__realpath()
328 int nsinfo__stat(const char *filename, struct stat *st, struct nsinfo *nsi) in nsinfo__stat()
342 struct nsinfo nsi; in nsinfo__is_in_root_namespace() local