Lines Matching refs:roles
1012 static int role_set_or_convert(role_set_t * roles, role_set_t * dst, in role_set_or_convert() argument
1020 ebitmap_for_each_positive_bit(&roles->roles, rnode, i) { in role_set_or_convert()
1027 if (ebitmap_union(&dst->roles, &tmp)) { in role_set_or_convert()
1030 dst->flags |= roles->flags; in role_set_or_convert()
1131 ebitmap_for_each_positive_bit(&role->roles, rnode, i) { in role_fix_callback()
1138 if (ebitmap_union(&dest_role->roles, &e_tmp)) { in role_fix_callback()
1226 if (role_set_or_convert(&user->roles, &new_user->roles, mod, state)) { in user_fix_callback()
1375 (&cur->roles, &new_rule->roles, module, state) in copy_role_trans_list()
1429 (&cur->roles, &new_rule->roles, module, state) in copy_role_allow_list()
2415 ebitmap_for_each_positive_bit(&role->roles, rnode, i) { in expand_role_attributes()
2422 if (ebitmap_set_bit(&role->roles, i, 0)) in expand_role_attributes()
2431 if (ebitmap_union(&role->roles, &sub_attr->roles)) { in expand_role_attributes()
2469 if (ebitmap_union(&base_role->roles, &decl_role->roles)) { in populate_decl_roleattributes()