Lines Matching refs:exceptions
44 struct list_head exceptions; member
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()
137 list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) { in dev_exception_rm()
157 list_for_each_entry_safe(ex, tmp, &dev_cgroup->exceptions, list) { in __dev_exception_clean()
198 ret = dev_exceptions_copy(&dev_cgroup->exceptions, in devcgroup_online()
199 &parent_dev_cgroup->exceptions); in devcgroup_online()
228 INIT_LIST_HEAD(&dev_cgroup->exceptions); in devcgroup_css_alloc()
300 list_for_each_entry_rcu(ex, &devcgroup->exceptions, list) { in devcgroup_seq_show()
326 static bool match_exception(struct list_head *exceptions, short type, in match_exception() argument
331 list_for_each_entry_rcu(ex, exceptions, list) { in match_exception()
363 static bool match_exception_partial(struct list_head *exceptions, short type, in match_exception_partial() argument
368 list_for_each_entry_rcu(ex, exceptions, list, in match_exception_partial()
426 match = match_exception_partial(&dev_cgroup->exceptions, in verify_new_ex()
443 match = match_exception(&dev_cgroup->exceptions, refex->type, in verify_new_ex()
498 return !match_exception_partial(&parent->exceptions, ex->type, in parent_allows_removal()
533 list_for_each_safe(this, tmp, &devcg->exceptions) { in revalidate_active_exceptions()
641 INIT_LIST_HEAD(&tmp_devcgrp.exceptions); in devcgroup_update_access()
642 rc = dev_exceptions_copy(&tmp_devcgrp.exceptions, in devcgroup_update_access()
643 &devcgroup->exceptions); in devcgroup_update_access()
647 rc = dev_exceptions_copy(&devcgroup->exceptions, in devcgroup_update_access()
648 &parent->exceptions); in devcgroup_update_access()
650 dev_exceptions_move(&devcgroup->exceptions, in devcgroup_update_access()
651 &tmp_devcgrp.exceptions); in devcgroup_update_access()
842 rc = !match_exception_partial(&dev_cgroup->exceptions, in devcgroup_legacy_check_permission()
846 rc = match_exception(&dev_cgroup->exceptions, type, major, in devcgroup_legacy_check_permission()