nprim 177 security/selinux/ss/conditional.c p->bool_val_to_struct = kmalloc_array(p->p_bools.nprim, nprim 200 security/selinux/ss/conditional.c if (!booldatum->value || booldatum->value > p->p_bools.nprim) nprim 388 security/selinux/ss/conditional.c if (expr->bool > p->p_bools.nprim) { nprim 166 security/selinux/ss/mls.c if (!l->sens || l->sens > p->p_levels.nprim) nprim 179 security/selinux/ss/mls.c p->p_cats.nprim); nprim 209 security/selinux/ss/mls.c if (!c->user || c->user > p->p_users.nprim) nprim 513 security/selinux/ss/mls.c if (tclass && tclass <= p->p_classes.nprim) { nprim 382 security/selinux/ss/policydb.c role->value = ++p->p_roles.nprim; nprim 537 security/selinux/ss/policydb.c if (!comdatum->value || comdatum->value > p->p_commons.nprim) nprim 552 security/selinux/ss/policydb.c if (!cladatum->value || cladatum->value > p->p_classes.nprim) nprim 568 security/selinux/ss/policydb.c || role->value > p->p_roles.nprim nprim 569 security/selinux/ss/policydb.c || role->bounds > p->p_roles.nprim) nprim 587 security/selinux/ss/policydb.c || typdatum->value > p->p_types.nprim nprim 588 security/selinux/ss/policydb.c || typdatum->bounds > p->p_types.nprim) nprim 605 security/selinux/ss/policydb.c || usrdatum->value > p->p_users.nprim nprim 606 security/selinux/ss/policydb.c || usrdatum->bounds > p->p_users.nprim) nprim 624 security/selinux/ss/policydb.c levdatum->level->sens > p->p_levels.nprim) nprim 642 security/selinux/ss/policydb.c if (!catdatum->value || catdatum->value > p->p_cats.nprim) nprim 700 security/selinux/ss/policydb.c p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, nprim 701 security/selinux/ss/policydb.c p->p_bools.nprim, p->p_levels.nprim, p->p_cats.nprim); nprim 704 security/selinux/ss/policydb.c p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, nprim 705 security/selinux/ss/policydb.c p->p_bools.nprim); nprim 708 security/selinux/ss/policydb.c p->p_classes.nprim, p->te_avtab.nel); nprim 715 security/selinux/ss/policydb.c p->class_val_to_struct = kcalloc(p->p_classes.nprim, nprim 721 security/selinux/ss/policydb.c p->role_val_to_struct = kcalloc(p->p_roles.nprim, nprim 727 security/selinux/ss/policydb.c p->user_val_to_struct = kcalloc(p->p_users.nprim, nprim 733 security/selinux/ss/policydb.c p->type_val_to_struct = kvcalloc(p->p_types.nprim, nprim 744 security/selinux/ss/policydb.c p->sym_val_to_name[i] = kvcalloc(p->symtab[i].nprim, nprim 836 security/selinux/ss/policydb.c for (i = 0; i < p->p_types.nprim; i++) nprim 892 security/selinux/ss/policydb.c if (!class || class > p->p_classes.nprim) nprim 899 security/selinux/ss/policydb.c if (!role || role > p->p_roles.nprim) nprim 906 security/selinux/ss/policydb.c if (!type || type > p->p_types.nprim) nprim 920 security/selinux/ss/policydb.c if (!c->role || c->role > p->p_roles.nprim) nprim 923 security/selinux/ss/policydb.c if (!c->user || c->user > p->p_users.nprim) nprim 926 security/selinux/ss/policydb.c if (!c->type || c->type > p->p_types.nprim) nprim 1137 security/selinux/ss/policydb.c comdatum->permissions.nprim = le32_to_cpu(buf[2]); nprim 1303 security/selinux/ss/policydb.c cladatum->permissions.nprim = le32_to_cpu(buf[3]); nprim 1784 security/selinux/ss/policydb.c if (!tclass || tclass > p->p_classes.nprim) nprim 2260 security/selinux/ss/policydb.c u32 len, nprim, nel; nprim 2381 security/selinux/ss/policydb.c nprim = le32_to_cpu(buf[0]); nprim 2389 security/selinux/ss/policydb.c p->symtab[i].nprim = nprim; nprim 2499 security/selinux/ss/policydb.c p->type_attr_map_array = kvcalloc(p->p_types.nprim, nprim 2506 security/selinux/ss/policydb.c for (i = 0; i < p->p_types.nprim; i++) nprim 2509 security/selinux/ss/policydb.c for (i = 0; i < p->p_types.nprim; i++) { nprim 2771 security/selinux/ss/policydb.c buf[2] = cpu_to_le32(comdatum->permissions.nprim); nprim 2879 security/selinux/ss/policydb.c buf[3] = cpu_to_le32(cladatum->permissions.nprim); nprim 3461 security/selinux/ss/policydb.c buf[0] = cpu_to_le32(p->symtab[i].nprim); nprim 3504 security/selinux/ss/policydb.c for (i = 0; i < p->p_types.nprim; i++) { nprim 637 security/selinux/ss/services.c if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { nprim 776 security/selinux/ss/services.c if (!tclass || tclass > policydb->p_classes.nprim) { nprim 1050 security/selinux/ss/services.c if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { nprim 1700 security/selinux/ss/services.c if (tclass && tclass <= policydb->p_classes.nprim) nprim 2816 security/selinux/ss/services.c *len = policydb->p_bools.nprim; nprim 2865 security/selinux/ss/services.c lenp = policydb->p_bools.nprim; nprim 2917 security/selinux/ss/services.c len = policydb->p_bools.nprim; nprim 3153 security/selinux/ss/services.c *nclasses = policydb->p_classes.nprim; nprim 3203 security/selinux/ss/services.c *nperms = match->permissions.nprim; nprim 41 security/selinux/ss/symtab.c s->nprim = 0; nprim 17 security/selinux/ss/symtab.h u32 nprim; /* number of primary names in table */