Home
last modified time | relevance | path

Searched refs:p_bools (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/security/selinux/ss/
H A Dconditional.c169 p->bool_val_to_struct = kmalloc_array(p->p_bools.nprim, in cond_init_bool_indexes()
192 if (!booldatum->value || booldatum->value > p->p_bools.nprim) in cond_index_bool()
369 if (expr->boolean > p->p_bools.nprim) { in expr_node_isvalid()
717 cond_bool_array = kmalloc_array(orig->p_bools.nprim, in duplicate_policydb_bools()
723 rc = hashtab_duplicate(&newdb->p_bools.table, &orig->p_bools.table, in duplicate_policydb_bools()
730 hashtab_map(&newdb->p_bools.table, cond_bools_index, cond_bool_array); in duplicate_policydb_bools()
733 newdb->p_bools.nprim = orig->p_bools.nprim; in duplicate_policydb_bools()
740 hashtab_map(&p->p_bools.table, cond_bools_destroy, NULL); in cond_policydb_destroy_dup()
741 hashtab_destroy(&p->p_bools.table); in cond_policydb_destroy_dup()
H A Dpolicydb.h249 #define p_bools symtab[SYM_BOOLS] macro
H A Dservices.c2975 *len = policydb->p_bools.nprim; in security_get_bools()
3029 if (WARN_ON(len != oldpolicy->policydb.p_bools.nprim)) in security_set_bools()
3102 len = policydb->p_bools.nprim; in security_get_bool_value()
3124 booldatum = symtab_search(&newpolicy->policydb.p_bools, in security_preserve_bools()
H A Dpolicydb.c722 p->p_bools.nprim, p->p_levels.nprim, p->p_cats.nprim); in policydb_index()
726 p->p_bools.nprim); in policydb_index()