Searched refs:bool_val_to_struct (Results 1 – 3 of 3) sorted by relevance
40 s[sp] = p->bool_val_to_struct[node->boolean - 1]->state; in cond_evaluate_expr()132 p->bool_val_to_struct = NULL; in cond_policydb_init()160 kfree(p->bool_val_to_struct); in cond_policydb_destroy()167 kfree(p->bool_val_to_struct); in cond_init_bool_indexes()168 p->bool_val_to_struct = kmalloc_array( in cond_init_bool_indexes()169 p->p_bools.nprim, sizeof(*p->bool_val_to_struct), GFP_KERNEL); in cond_init_bool_indexes()170 if (!p->bool_val_to_struct) in cond_init_bool_indexes()197 p->bool_val_to_struct[booldatum->value - 1] = booldatum; in cond_index_bool()714 sizeof(*orig->bool_val_to_struct), in duplicate_policydb_bools()727 newdb->bool_val_to_struct = cond_bool_array; in duplicate_policydb_bools()
274 struct cond_bool_datum **bool_val_to_struct; member
3028 (*values)[i] = policydb->bool_val_to_struct[i]->state; in security_get_bools()3087 int old_state = newpolicy->policydb.bool_val_to_struct[i]->state; in security_set_bools()3098 newpolicy->policydb.bool_val_to_struct[i]->state = new_state; in security_set_bools()3144 rc = policydb->bool_val_to_struct[index]->state; in security_get_bool_value()