Home
last modified time | relevance | path

Searched refs:dev_cgroup (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/security/
Ddevice_cgroup.c42 struct dev_cgroup { struct
48 static inline struct dev_cgroup *css_to_devcgroup(struct cgroup_subsys_state *s) in css_to_devcgroup() argument
50 return s ? container_of(s, struct dev_cgroup, css) : NULL; in css_to_devcgroup()
53 static inline struct dev_cgroup *task_devcgroup(struct task_struct *task) in task_devcgroup()
87 static int dev_exception_add(struct dev_cgroup *dev_cgroup, in dev_exception_add() argument
98 list_for_each_entry(walk, &dev_cgroup->exceptions, list) { in dev_exception_add()
112 list_add_tail_rcu(&excopy->list, &dev_cgroup->exceptions); in dev_exception_add()
119 static void dev_exception_rm(struct dev_cgroup *dev_cgroup, in dev_exception_rm() argument
126 list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) { in dev_exception_rm()
142 static void __dev_exception_clean(struct dev_cgroup *dev_cgroup) in __dev_exception_clean() argument
[all …]
/Linux-v5.10/Documentation/admin-guide/
Dcgroup-v2.rst2082 source tree in the tools/testing/selftests/bpf/dev_cgroup.c file.