Searched refs:nprim (Results 1 – 6 of 6) sorted by relevance
390 role->value = ++p->p_roles.nprim; in roles_init()550 if (!comdatum->value || comdatum->value > p->p_commons.nprim) in common_index()565 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()580 if (!role->value || role->value > p->p_roles.nprim || in role_index()581 role->bounds > p->p_roles.nprim) in role_index()598 if (!typdatum->value || typdatum->value > p->p_types.nprim || in type_index()599 typdatum->bounds > p->p_types.nprim) in type_index()615 if (!usrdatum->value || usrdatum->value > p->p_users.nprim || in user_index()616 usrdatum->bounds > p->p_users.nprim) in user_index()634 levdatum->level->sens > p->p_levels.nprim) in sens_index()[all …]
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()735 newdb->p_bools.nprim = orig->p_bools.nprim; in duplicate_policydb_bools()
18 u32 nprim; /* number of primary names in table */ member
162 if (!l->sens || l->sens > p->p_levels.nprim) in mls_level_isvalid()175 p->p_cats.nprim); in mls_level_isvalid()205 if (!c->user || c->user > p->p_users.nprim) in mls_context_isvalid()502 if (tclass && tclass <= p->p_classes.nprim) { in mls_compute_sid()
44 s->nprim = 0; in symtab_init()
635 if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { in context_struct_compute_av()775 if (!tclass || tclass > policydb->p_classes.nprim) { in security_compute_validatetrans()1052 if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { in security_compute_xperms_decision()1774 if (tclass && tclass <= policydb->p_classes.nprim) in security_compute_sid()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()3363 *nclasses = policydb->p_classes.nprim; in security_get_classes()3414 *nperms = match->permissions.nprim; in security_get_permissions()