Lines Matching refs:pid_namespace

63 	struct pid_namespace *ns = container_of(work, struct pid_namespace, proc_work);  in proc_cleanup_work()
77 static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns, in create_pid_namespace()
78 struct pid_namespace *parent_pid_ns) in create_pid_namespace()
80 struct pid_namespace *ns; in create_pid_namespace()
133 struct pid_namespace *ns = container_of(p, struct pid_namespace, rcu); in delayed_free_pidns()
141 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace()
149 struct pid_namespace *copy_pid_ns(unsigned long flags, in copy_pid_ns()
150 struct user_namespace *user_ns, struct pid_namespace *old_ns) in copy_pid_ns()
161 struct pid_namespace *ns; in free_pid_ns()
163 ns = container_of(kref, struct pid_namespace, kref); in free_pid_ns()
167 void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
169 struct pid_namespace *parent; in put_pid_ns()
180 void zap_pid_ns_processes(struct pid_namespace *pid_ns) in zap_pid_ns_processes()
269 struct pid_namespace *pid_ns = task_active_pid_ns(current); in pid_ns_ctl_handler()
308 int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd) in reboot_pid_ns()
337 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns()
339 return container_of(ns, struct pid_namespace, ns); in to_pid_ns()
344 struct pid_namespace *ns; in pidns_get()
357 struct pid_namespace *ns = NULL; in pidns_for_children_get()
385 struct pid_namespace *active = task_active_pid_ns(current); in pidns_install()
386 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install()
416 struct pid_namespace *active = task_active_pid_ns(current); in pidns_get_parent()
417 struct pid_namespace *pid_ns, *p; in pidns_get_parent()
460 pid_ns_cachep = KMEM_CACHE(pid_namespace, SLAB_PANIC); in pid_namespaces_init()