Lines Matching refs:exceptions
44 struct list_head exceptions; member
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()
126 list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) { in dev_exception_rm()
146 list_for_each_entry_safe(ex, tmp, &dev_cgroup->exceptions, list) { in __dev_exception_clean()
187 ret = dev_exceptions_copy(&dev_cgroup->exceptions, in devcgroup_online()
188 &parent_dev_cgroup->exceptions); in devcgroup_online()
217 INIT_LIST_HEAD(&dev_cgroup->exceptions); in devcgroup_css_alloc()
289 list_for_each_entry_rcu(ex, &devcgroup->exceptions, list) { in devcgroup_seq_show()
315 static bool match_exception(struct list_head *exceptions, short type, in match_exception() argument
320 list_for_each_entry_rcu(ex, exceptions, list) { in match_exception()
352 static bool match_exception_partial(struct list_head *exceptions, short type, in match_exception_partial() argument
357 list_for_each_entry_rcu(ex, exceptions, list, in match_exception_partial()
415 match = match_exception_partial(&dev_cgroup->exceptions, in verify_new_ex()
432 match = match_exception(&dev_cgroup->exceptions, refex->type, in verify_new_ex()
487 return !match_exception_partial(&parent->exceptions, ex->type, in parent_allows_removal()
522 list_for_each_safe(this, tmp, &devcg->exceptions) { in revalidate_active_exceptions()
627 rc = dev_exceptions_copy(&devcgroup->exceptions, in devcgroup_update_access()
628 &parent->exceptions); in devcgroup_update_access()
817 rc = !match_exception_partial(&dev_cgroup->exceptions, in devcgroup_legacy_check_permission()
821 rc = match_exception(&dev_cgroup->exceptions, type, major, in devcgroup_legacy_check_permission()