Home
last modified time | relevance | path

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

/Linux-v5.4/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); 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()
100 struct cgroup_namespace *cgroup_ns = to_cg_ns(ns); in cgroupns_install()
[all …]
Dcgroup-internal.h49 struct cgroup_namespace *ns;
216 struct cgroup_namespace *ns);
Dcgroup.c205 struct cgroup_namespace init_cgroup_ns = {
2291 struct cgroup_namespace *ns) in cgroup_path_ns_locked()
2299 struct cgroup_namespace *ns) in cgroup_path_ns()
3737 struct cgroup_namespace *ns = current->nsproxy->cgroup_ns; in cgroup_file_write()
4719 struct cgroup_namespace *ns = current->nsproxy->cgroup_ns; in cgroup_procs_write_permission()
/Linux-v5.4/include/linux/
Dcgroup.h853 struct cgroup_namespace { struct
861 extern struct cgroup_namespace init_cgroup_ns; argument
865 void free_cgroup_ns(struct cgroup_namespace *ns);
867 struct cgroup_namespace *copy_cgroup_ns(unsigned long flags,
869 struct cgroup_namespace *old_ns);
872 struct cgroup_namespace *ns);
876 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns()
877 static inline struct cgroup_namespace *
879 struct cgroup_namespace *old_ns) in copy_cgroup_ns()
886 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns()
[all …]
Dnsproxy.h12 struct cgroup_namespace;
38 struct cgroup_namespace *cgroup_ns;