Lines Matching defs:ns
63 static struct ucounts *inc_pid_namespaces(struct user_namespace *ns) in inc_pid_namespaces()
78 struct pid_namespace *ns; in create_pid_namespace() local
142 struct pid_namespace *ns = container_of(p, struct pid_namespace, rcu); in delayed_free_pidns() local
150 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace()
162 struct pid_namespace *ns = in destroy_pid_namespace_work() local
184 void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
347 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns()
354 struct pid_namespace *ns; in pidns_get() local
367 struct pid_namespace *ns = NULL; in pidns_for_children_get() local
388 static void pidns_put(struct ns_common *ns) in pidns_put()
393 static int pidns_install(struct nsset *nsset, struct ns_common *ns) in pidns_install()
425 static struct ns_common *pidns_get_parent(struct ns_common *ns) in pidns_get_parent()
443 static struct user_namespace *pidns_owner(struct ns_common *ns) in pidns_owner()