Searched refs:bool_val_to_struct (Results 1 – 3 of 3) sorted by relevance
41 s[sp] = p->bool_val_to_struct[node->boolean - 1]->state; in cond_evaluate_expr()133 p->bool_val_to_struct = NULL; in cond_policydb_init()161 kfree(p->bool_val_to_struct); in cond_policydb_destroy()168 kfree(p->bool_val_to_struct); in cond_init_bool_indexes()169 p->bool_val_to_struct = kmalloc_array(p->p_bools.nprim, in cond_init_bool_indexes()170 sizeof(*p->bool_val_to_struct), in cond_init_bool_indexes()172 if (!p->bool_val_to_struct) in cond_init_bool_indexes()196 p->bool_val_to_struct[booldatum->value - 1] = booldatum; in cond_index_bool()718 sizeof(*orig->bool_val_to_struct), in duplicate_policydb_bools()731 newdb->bool_val_to_struct = cond_bool_array; in duplicate_policydb_bools()
277 struct cond_bool_datum **bool_val_to_struct; member
2990 (*values)[i] = policydb->bool_val_to_struct[i]->state; in security_get_bools()3049 int old_state = newpolicy->policydb.bool_val_to_struct[i]->state; in security_set_bools()3060 newpolicy->policydb.bool_val_to_struct[i]->state = new_state; in security_set_bools()3106 rc = policydb->bool_val_to_struct[index]->state; in security_get_bool_value()