Lines Matching refs:nprim
97 for (i = 0; mod->perm_map != NULL && i < mod->policy->p_classes.nprim; in policy_module_destroy()
170 new_perm->s.value = dest_class->permissions.nprim + 1; in permission_copy_callback()
315 new_class->s.value = ++(state->base->p_classes.nprim); in class_copy_callback()
392 new_role->s.value = state->base->p_roles.nprim + 1; in role_copy_callback()
400 state->base->p_roles.nprim++; in role_copy_callback()
419 state->dest_decl->p_roles.nprim++; in role_copy_callback()
490 new_type->s.value = state->base->p_types.nprim + 1; in type_copy_callback()
498 state->base->p_types.nprim++; in type_copy_callback()
518 state->dest_decl->p_types.nprim++; in type_copy_callback()
558 new_user->s.value = state->base->p_users.nprim + 1; in user_copy_callback()
566 state->base->p_users.nprim++; in user_copy_callback()
584 state->dest_decl->p_users.nprim++; in user_copy_callback()
622 new_bool->s.value = state->base->p_bools.nprim + 1; in bool_copy_callback()
630 state->base->p_bools.nprim++; in bool_copy_callback()
908 new_type->s.value = state->base->p_types.nprim + 1; in alias_copy_callback()
916 state->base->p_types.nprim++; in alias_copy_callback()
2311 items = module->policy->symtab[i].nprim; in prepare_module()
2321 items = module->policy->p_classes.nprim; in prepare_module()