• Home
  • Raw
  • Download

Lines Matching full:behavior

45 	enum devcg_behavior behavior;  member
178 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online()
182 * devcgroup_online - initializes devcgroup's behavior and exceptions based on
196 dev_cgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_online()
201 dev_cgroup->behavior = parent_dev_cgroup->behavior; in devcgroup_online()
213 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_offline()
229 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_css_alloc()
293 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show()
398 * @behavior: behavior of the exception's dev_cgroup
405 enum devcg_behavior behavior) in verify_new_ex() argument
413 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
414 if (behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
438 * Only behavior == DEVCG_DEFAULT_DENY allowed here, therefore in verify_new_ex()
468 return verify_new_ex(parent, ex, childcg->behavior); in parent_has_perm()
491 if (childcg->behavior == DEVCG_DEFAULT_DENY) in parent_allows_removal()
503 * may_allow_all - checks if it's possible to change the behavior to
512 return parent->behavior == DEVCG_DEFAULT_ALLOW; in may_allow_all()
518 * behavior and exceptions. The exceptions that
570 * in case both root's behavior and devcg is allow, a new in propagate_exception()
573 if (devcg_root->behavior == DEVCG_DEFAULT_ALLOW && in propagate_exception()
574 devcg->behavior == DEVCG_DEFAULT_ALLOW) { in propagate_exception()
581 * root's behavior: allow, devcg's: deny in propagate_exception()
582 * root's behavior: deny, devcg's: deny in propagate_exception()
636 devcgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_update_access()
654 devcgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_update_access()
662 devcgroup->behavior = DEVCG_DEFAULT_DENY; in devcgroup_update_access()
749 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_update_access()
767 if (devcgroup->behavior == DEVCG_DEFAULT_DENY) in devcgroup_update_access()
840 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) in devcgroup_legacy_check_permission()