Searched refs:p_bools (Results 1 – 4 of 4) sorted by relevance
/linux/security/selinux/ss/ |
H A D | conditional.c | 169 p->p_bools.nprim, sizeof(*p->bool_val_to_struct), GFP_KERNEL); in cond_init_bool_indexes() 193 if (!booldatum->value || booldatum->value > p->p_bools.nprim) in cond_index_bool() 371 if (expr->boolean > p->p_bools.nprim) { in expr_node_isvalid() 719 cond_bool_array = kmalloc_array(orig->p_bools.nprim, in duplicate_policydb_bools() 725 rc = hashtab_duplicate(&newdb->p_bools.table, &orig->p_bools.table, in duplicate_policydb_bools() 732 hashtab_map(&newdb->p_bools.table, cond_bools_index, cond_bool_array); in duplicate_policydb_bools() 735 newdb->p_bools.nprim = orig->p_bools.nprim; in duplicate_policydb_bools() 742 hashtab_map(&p->p_bools.table, cond_bools_destroy, NULL); in cond_policydb_destroy_dup() 743 hashtab_destroy(&p->p_bools.table); in cond_policydb_destroy_dup()
|
H A D | policydb.h | 246 #define p_bools symtab[SYM_BOOLS] macro
|
H A D | services.c | 2987 *len = policydb->p_bools.nprim; in security_get_bools() 3041 if (WARN_ON(len != oldpolicy->policydb.p_bools.nprim)) in security_set_bools() 3114 len = policydb->p_bools.nprim; in security_get_bool_value() 3136 booldatum = symtab_search(&newpolicy->policydb.p_bools, in security_preserve_bools()
|
H A D | policydb.c | 720 p->p_bools.nprim, p->p_levels.nprim, p->p_cats.nprim); in policydb_index() 724 p->p_bools.nprim); in policydb_index()
|