Searched refs:nprim (Results 1 – 6 of 6) sorted by relevance
167 role->value = ++p->p_roles.nprim; in roles_init()315 if (!comdatum->value || comdatum->value > p->p_commons.nprim) in common_index()333 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()352 || role->value > p->p_roles.nprim in role_index()353 || role->bounds > p->p_roles.nprim) in role_index()375 || typdatum->value > p->p_types.nprim in type_index()376 || typdatum->bounds > p->p_types.nprim) in type_index()401 || usrdatum->value > p->p_users.nprim in user_index()402 || usrdatum->bounds > p->p_users.nprim) in user_index()424 levdatum->level->sens > p->p_levels.nprim) in sens_index()[all …]
16 u32 nprim; /* number of primary names in table */ member
40 s->nprim = 0; in symtab_init()
166 if (!l->sens || l->sens > p->p_levels.nprim) in mls_level_isvalid()174 if (i > p->p_cats.nprim) in mls_level_isvalid()215 if (!c->user || c->user > p->p_users.nprim) in mls_context_isvalid()
179 kmalloc(p->p_bools.nprim * sizeof(struct cond_bool_datum *), GFP_KERNEL); in cond_init_bool_indexes()201 if (!booldatum->value || booldatum->value > p->p_bools.nprim) in cond_index_bool()391 if (expr->bool > p->p_bools.nprim) { in expr_isvalid()
636 if (unlikely(!tclass || tclass > policydb.p_classes.nprim)) { in context_struct_compute_av()761 if (!tclass || tclass > policydb.p_classes.nprim) { in security_validate_transition()2358 *len = policydb.p_bools.nprim; in security_get_bools()2409 lenp = policydb.p_bools.nprim; in security_set_bools()2457 len = policydb.p_bools.nprim; in security_get_bool_value()2667 *nclasses = policydb.p_classes.nprim; in security_get_classes()2715 *nperms = match->permissions.nprim; in security_get_permissions()