Home
last modified time | relevance | path

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

/security/
Ddevice_cgroup.c88 struct dev_exception_item *excopy, *walk; in dev_exception_add() local
96 list_for_each_entry(walk, &dev_cgroup->exceptions, list) { in dev_exception_add()
97 if (walk->type != ex->type) in dev_exception_add()
99 if (walk->major != ex->major) in dev_exception_add()
101 if (walk->minor != ex->minor) in dev_exception_add()
104 walk->access |= ex->access; in dev_exception_add()
120 struct dev_exception_item *walk, *tmp; in dev_exception_rm() local
124 list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) { in dev_exception_rm()
125 if (walk->type != ex->type) in dev_exception_rm()
127 if (walk->major != ex->major) in dev_exception_rm()
[all …]