Lines Matching defs:ns
64 struct pid_namespace *ns = container_of(work, struct pid_namespace, proc_work); in proc_cleanup_work() local
68 static struct ucounts *inc_pid_namespaces(struct user_namespace *ns) in inc_pid_namespaces()
81 struct pid_namespace *ns; in create_pid_namespace() local
134 struct pid_namespace *ns = container_of(p, struct pid_namespace, rcu); in delayed_free_pidns() local
142 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace()
162 struct pid_namespace *ns; in free_pid_ns() local
168 void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
337 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns()
344 struct pid_namespace *ns; in pidns_get() local
357 struct pid_namespace *ns = NULL; in pidns_for_children_get() local
378 static void pidns_put(struct ns_common *ns) in pidns_put()
383 static int pidns_install(struct nsproxy *nsproxy, struct ns_common *ns) in pidns_install()
414 static struct ns_common *pidns_get_parent(struct ns_common *ns) in pidns_get_parent()
432 static struct user_namespace *pidns_owner(struct ns_common *ns) in pidns_owner()