Lines Matching defs:exceptions

45 	struct list_head exceptions;
110 list_for_each_entry(walk, &dev_cgroup->exceptions, list) {
124 list_add_tail_rcu(&excopy->list, &dev_cgroup->exceptions);
138 list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) {
158 list_for_each_entry_safe(ex, tmp, &dev_cgroup->exceptions, list) {
183 * devcgroup_online - initializes devcgroup's behavior and exceptions based on
199 ret = dev_exceptions_copy(&dev_cgroup->exceptions,
200 &parent_dev_cgroup->exceptions);
229 INIT_LIST_HEAD(&dev_cgroup->exceptions);
291 * - List the exceptions in case the default policy is to deny
301 list_for_each_entry_rcu(ex, &devcgroup->exceptions, list) {
316 * @exceptions: list of exceptions
327 static bool match_exception(struct list_head *exceptions, short type,
332 list_for_each_entry_rcu(ex, exceptions, list) {
351 * @exceptions: list of exceptions
364 static bool match_exception_partial(struct list_head *exceptions, short type,
369 list_for_each_entry_rcu(ex, exceptions, list,
425 * parent's exceptions, even slightly
427 match = match_exception_partial(&dev_cgroup->exceptions,
444 match = match_exception(&dev_cgroup->exceptions, refex->type,
499 return !match_exception_partial(&parent->exceptions, ex->type,
518 * revalidates the exceptions based on parent's
519 * behavior and exceptions. The exceptions that
522 * @devcg: cgroup which exceptions will be checked
526 * exceptions due to a parent's exception change.
534 list_for_each_safe(this, tmp, &devcg->exceptions) {
642 INIT_LIST_HEAD(&tmp_devcgrp.exceptions);
643 rc = dev_exceptions_copy(&tmp_devcgrp.exceptions,
644 &devcgroup->exceptions);
648 rc = dev_exceptions_copy(&devcgroup->exceptions,
649 &parent->exceptions);
651 dev_exceptions_move(&devcgroup->exceptions,
652 &tmp_devcgrp.exceptions);
841 /* Can't match any of the exceptions, even partially */
842 rc = !match_exception_partial(&dev_cgroup->exceptions,
846 rc = match_exception(&dev_cgroup->exceptions, type, major,