Home
last modified time | relevance | path

Searched refs:cgroup_namespace (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/kernel/cgroup/
Dnamespace.c22 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()
[all …]
Dcgroup-internal.h49 struct cgroup_namespace *ns;
71 struct cgroup_namespace *ns;
234 struct cgroup_namespace *ns);
Dcgroup.c201 struct cgroup_namespace init_cgroup_ns = {
2256 struct cgroup_namespace *ns) in cgroup_path_ns_locked()
2264 struct cgroup_namespace *ns) in cgroup_path_ns()
4803 struct cgroup_namespace *ns) in cgroup_procs_write_permission()
4834 struct cgroup_namespace *ns) in cgroup_attach_permissions()
/kernel/linux/linux-5.10/include/linux/
Dcgroup.h837 struct cgroup_namespace { struct
845 extern struct cgroup_namespace init_cgroup_ns; argument
849 void free_cgroup_ns(struct cgroup_namespace *ns);
851 struct cgroup_namespace *copy_cgroup_ns(unsigned long flags,
853 struct cgroup_namespace *old_ns);
856 struct cgroup_namespace *ns);
860 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns()
861 static inline struct cgroup_namespace *
863 struct cgroup_namespace *old_ns) in copy_cgroup_ns()
870 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns()
[all …]
Dnsproxy.h12 struct cgroup_namespace;
40 struct cgroup_namespace *cgroup_ns;