Lines Matching refs:nprim
771 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim)
785 if (!cladatum->s.value || cladatum->s.value > p->p_classes.nprim)
800 if (!role->s.value || role->s.value > p->p_roles.nprim)
817 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim)
834 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim)
853 levdatum->level->sens > p->p_levels.nprim)
870 if (!catdatum->s.value || catdatum->s.value > p->p_cats.nprim)
892 malloc(p->p_commons.nprim * sizeof(char *));
901 malloc(p->p_classes.nprim * sizeof(class_datum_t *));
907 malloc(p->p_classes.nprim * sizeof(char *));
923 malloc(p->p_bools.nprim * sizeof(char *));
974 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim,
975 p->p_bools.nprim);
979 p->p_levels.nprim, p->p_cats.nprim);
982 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel);
992 malloc(p->p_roles.nprim * sizeof(role_datum_t *));
998 malloc(p->p_users.nprim * sizeof(user_datum_t *));
1004 calloc(p->p_types.nprim, sizeof(type_datum_t *));
1013 if (p->symtab[i].nprim) {
1015 calloc(p->symtab[i].nprim, sizeof(char *));
1313 for (i = 0; i < p->p_types.nprim; i++) {
1320 for (i = 0; i < p->p_types.nprim; i++) {
1428 *value = ++pol->symtab[sym].nprim;
1877 comdatum->permissions.nprim = le32_to_cpu(buf[2]);
2017 cladatum->permissions.nprim = le32_to_cpu(buf[3]);
3318 uint32_t buf[2], nprim, nel;
3351 nprim = le32_to_cpu(buf[0]);
3358 decl->symtab[i].nprim = nprim;
3509 size_t len, nprim, nel;
3709 nprim = le32_to_cpu(buf[0]);
3716 p->symtab[i].nprim = nprim;
3780 p->type_attr_map = malloc(p->p_types.nprim * sizeof(ebitmap_t));
3781 p->attr_type_map = malloc(p->p_types.nprim * sizeof(ebitmap_t));
3784 for (i = 0; i < p->p_types.nprim; i++) {
3788 for (i = 0; i < p->p_types.nprim; i++) {
3823 malloc(p->p_users.nprim * sizeof(user_datum_t *));
3828 malloc(p->symtab[i].nprim * sizeof(char *));