Lines Matching refs:nsinfo
98 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init()
142 static struct nsinfo *nsinfo__alloc(void) in nsinfo__alloc()
144 struct nsinfo *res; in nsinfo__alloc()
145 RC_STRUCT(nsinfo) *nsi; in nsinfo__alloc()
154 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new()
156 struct nsinfo *nsi; in nsinfo__new()
180 static const char *nsinfo__mntns_path(const struct nsinfo *nsi) in nsinfo__mntns_path()
185 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi) in nsinfo__copy()
187 struct nsinfo *nnsi; in nsinfo__copy()
212 static refcount_t *nsinfo__refcnt(struct nsinfo *nsi) in nsinfo__refcnt()
217 static void nsinfo__delete(struct nsinfo *nsi) in nsinfo__delete()
226 struct nsinfo *nsinfo__get(struct nsinfo *nsi) in nsinfo__get()
228 struct nsinfo *result; in nsinfo__get()
236 void nsinfo__put(struct nsinfo *nsi) in nsinfo__put()
244 bool nsinfo__need_setns(const struct nsinfo *nsi) in nsinfo__need_setns()
249 void nsinfo__clear_need_setns(struct nsinfo *nsi) in nsinfo__clear_need_setns()
254 pid_t nsinfo__tgid(const struct nsinfo *nsi) in nsinfo__tgid()
259 pid_t nsinfo__nstgid(const struct nsinfo *nsi) in nsinfo__nstgid()
264 pid_t nsinfo__pid(const struct nsinfo *nsi) in nsinfo__pid()
269 pid_t nsinfo__in_pidns(const struct nsinfo *nsi) in nsinfo__in_pidns()
274 void nsinfo__mountns_enter(struct nsinfo *nsi, in nsinfo__mountns_enter()
345 char *nsinfo__realpath(const char *path, struct nsinfo *nsi) in nsinfo__realpath()
357 int nsinfo__stat(const char *filename, struct stat *st, struct nsinfo *nsi) in nsinfo__stat()