Lines Matching refs:behavior
45 enum devcg_behavior behavior; member
167 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online()
185 dev_cgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_online()
190 dev_cgroup->behavior = parent_dev_cgroup->behavior; in devcgroup_online()
202 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_offline()
218 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_css_alloc()
282 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show()
394 enum devcg_behavior behavior) in verify_new_ex() argument
402 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
403 if (behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
457 return verify_new_ex(parent, ex, childcg->behavior); in parent_has_perm()
480 if (childcg->behavior == DEVCG_DEFAULT_DENY) in parent_allows_removal()
501 return parent->behavior == DEVCG_DEFAULT_ALLOW; in may_allow_all()
562 if (devcg_root->behavior == DEVCG_DEFAULT_ALLOW && in propagate_exception()
563 devcg->behavior == DEVCG_DEFAULT_ALLOW) { in propagate_exception()
623 devcgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_update_access()
637 devcgroup->behavior = DEVCG_DEFAULT_DENY; in devcgroup_update_access()
724 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_update_access()
742 if (devcgroup->behavior == DEVCG_DEFAULT_DENY) in devcgroup_update_access()
815 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) in devcgroup_legacy_check_permission()