Searched refs:dev_cgroup (Results 1 – 1 of 1) sorted by relevance
/security/ |
D | device_cgroup.c | 42 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() 98 static int dev_exception_add(struct dev_cgroup *dev_cgroup, in dev_exception_add() argument 109 list_for_each_entry(walk, &dev_cgroup->exceptions, list) { in dev_exception_add() 123 list_add_tail_rcu(&excopy->list, &dev_cgroup->exceptions); in dev_exception_add() 130 static void dev_exception_rm(struct dev_cgroup *dev_cgroup, in dev_exception_rm() argument 137 list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) { in dev_exception_rm() 153 static void __dev_exception_clean(struct dev_cgroup *dev_cgroup) in __dev_exception_clean() argument [all …]
|