Lines Matching refs:parent
191 struct dev_cgroup *parent_dev_cgroup = css_to_devcgroup(css->parent); in devcgroup_online()
465 struct dev_cgroup *parent = css_to_devcgroup(childcg->css.parent); in parent_has_perm() local
467 if (!parent) in parent_has_perm()
469 return verify_new_ex(parent, ex, childcg->behavior); in parent_has_perm()
486 struct dev_cgroup *parent = css_to_devcgroup(childcg->css.parent); in parent_allows_removal() local
488 if (!parent) in parent_allows_removal()
499 return !match_exception_partial(&parent->exceptions, ex->type, in parent_allows_removal()
509 static inline int may_allow_all(struct dev_cgroup *parent) in may_allow_all() argument
511 if (!parent) in may_allow_all()
513 return parent->behavior == DEVCG_DEFAULT_ALLOW; in may_allow_all()
617 struct dev_cgroup *parent = css_to_devcgroup(devcgroup->css.parent); in devcgroup_update_access() local
634 if (!may_allow_all(parent)) in devcgroup_update_access()
636 if (!parent) { in devcgroup_update_access()
649 &parent->exceptions); in devcgroup_update_access()