Searched refs:role_val_to_struct (Results 1 – 12 of 12) sorted by relevance
57 role = p->role_val_to_struct[c->role - 1]; in context_is_valid()
330 if (p->role_val_to_struct[i]) { in validate_datum_arrays()333 if (validate_role_datum(handle, p->role_val_to_struct[i], flavors)) in validate_datum_arrays()
527 r1 = policydb->role_val_to_struct[val1 - 1]; in constraint_expr_eval_reason()528 r2 = policydb->role_val_to_struct[val2 - 1]; in constraint_expr_eval_reason()2174 role = policydb->role_val_to_struct[i]; in sepol_get_user_sids()
1036 p->role_val_to_struct[role->s.value - 1] = role; in role_index()1237 free(p->role_val_to_struct); in policydb_index_others()1238 p->role_val_to_struct = (role_datum_t **) in policydb_index_others()1240 if (!p->role_val_to_struct) in policydb_index_others()1498 if (p->role_val_to_struct) in policydb_destroy()1499 free(p->role_val_to_struct); in policydb_destroy()
522 rp = a->p->role_val_to_struct[r->bounds - 1]; in bounds_check_role_callback()
1260 role = pdb->role_val_to_struct[i]; in write_role_attributes_to_cil()2183 role = pdb->role_val_to_struct[i]; in write_role_decl_rules_to_cil()
1248 role = pdb->role_val_to_struct[i]; in write_role_attributes_to_conf()2161 role = pdb->role_val_to_struct[i]; in write_role_decl_rules_to_conf()
83 role = p->role_val_to_struct[bit]; in ebitmap_expand_roles()2452 role = base->role_val_to_struct[i]; in role_set_expand()
2417 sub_attr = state->base->role_val_to_struct[i]; in expand_role_attributes()
84 CU_ASSERT(p->role_val_to_struct[d->s.value - 1] == d); in role_test_index()
546 role_datum_t **role_val_to_struct; member
4003 pdb->role_val_to_struct[role->s.value - 1] = role; in __cil_role_val_array_insert()4094 policydb->role_val_to_struct = cil_malloc(sizeof(role_datum_t *) * policydb->p_roles.nprim); in __cil_policydb_val_arrays_create()