Lines Matching refs:cgroup_namespace
22 static struct cgroup_namespace *alloc_cgroup_ns(void) in alloc_cgroup_ns()
24 struct cgroup_namespace *new_ns; in alloc_cgroup_ns()
27 new_ns = kzalloc(sizeof(struct cgroup_namespace), GFP_KERNEL_ACCOUNT); in alloc_cgroup_ns()
40 void free_cgroup_ns(struct cgroup_namespace *ns) in free_cgroup_ns()
50 struct cgroup_namespace *copy_cgroup_ns(unsigned long flags, in copy_cgroup_ns()
52 struct cgroup_namespace *old_ns) in copy_cgroup_ns()
54 struct cgroup_namespace *new_ns; in copy_cgroup_ns()
93 static inline struct cgroup_namespace *to_cg_ns(struct ns_common *ns) in to_cg_ns()
95 return container_of(ns, struct cgroup_namespace, ns); in to_cg_ns()
101 struct cgroup_namespace *cgroup_ns = to_cg_ns(ns); in cgroupns_install()
120 struct cgroup_namespace *ns = NULL; in cgroupns_get()