Home
last modified time | relevance | path

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

/linux-6.6.21/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.h48 struct cgroup_namespace *ns;
70 struct cgroup_namespace *ns;
230 struct cgroup_namespace *ns);
Dcgroup.c211 struct cgroup_namespace init_cgroup_ns = {
2333 struct cgroup_namespace *ns) in cgroup_path_ns_locked()
2341 struct cgroup_namespace *ns) in cgroup_path_ns()
5073 struct cgroup_namespace *ns) in cgroup_procs_write_permission()
5104 struct cgroup_namespace *ns) in cgroup_attach_permissions()
/linux-6.6.21/include/linux/
Dcgroup.h771 struct cgroup_namespace { struct
778 extern struct cgroup_namespace init_cgroup_ns; argument
782 void free_cgroup_ns(struct cgroup_namespace *ns);
784 struct cgroup_namespace *copy_cgroup_ns(unsigned long flags,
786 struct cgroup_namespace *old_ns);
789 struct cgroup_namespace *ns);
793 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns()
794 static inline struct cgroup_namespace *
796 struct cgroup_namespace *old_ns) in copy_cgroup_ns()
803 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;