Home
last modified time | relevance | path

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

/linux-6.1.9/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;
232 struct cgroup_namespace *ns);
Dcgroup.c210 struct cgroup_namespace init_cgroup_ns = {
2341 struct cgroup_namespace *ns) in cgroup_path_ns_locked()
2349 struct cgroup_namespace *ns) in cgroup_path_ns()
5072 struct cgroup_namespace *ns) in cgroup_procs_write_permission()
5103 struct cgroup_namespace *ns) in cgroup_attach_permissions()
/linux-6.1.9/include/linux/
Dcgroup.h845 struct cgroup_namespace { struct
852 extern struct cgroup_namespace init_cgroup_ns; argument
856 void free_cgroup_ns(struct cgroup_namespace *ns);
858 struct cgroup_namespace *copy_cgroup_ns(unsigned long flags,
860 struct cgroup_namespace *old_ns);
863 struct cgroup_namespace *ns);
867 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns()
868 static inline struct cgroup_namespace *
870 struct cgroup_namespace *old_ns) in copy_cgroup_ns()
877 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;