Lines Matching refs:nprim
850 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim)
864 if (!cladatum->s.value || cladatum->s.value > p->p_classes.nprim)
879 if (!role->s.value || role->s.value > p->p_roles.nprim)
896 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim)
913 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim)
932 levdatum->level->sens > p->p_levels.nprim)
949 if (!catdatum->s.value || catdatum->s.value > p->p_cats.nprim)
971 malloc(p->p_commons.nprim * sizeof(char *));
980 malloc(p->p_classes.nprim * sizeof(class_datum_t *));
986 malloc(p->p_classes.nprim * sizeof(char *));
1002 malloc(p->p_bools.nprim * sizeof(char *));
1053 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim,
1054 p->p_bools.nprim);
1058 p->p_levels.nprim, p->p_cats.nprim);
1061 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel);
1071 malloc(p->p_roles.nprim * sizeof(role_datum_t *));
1077 malloc(p->p_users.nprim * sizeof(user_datum_t *));
1083 calloc(p->p_types.nprim, sizeof(type_datum_t *));
1092 if (p->symtab[i].nprim) {
1094 calloc(p->symtab[i].nprim, sizeof(char *));
1392 for (i = 0; i < p->p_types.nprim; i++) {
1399 for (i = 0; i < p->p_types.nprim; i++) {
1507 *value = ++pol->symtab[sym].nprim;
1956 comdatum->permissions.nprim = le32_to_cpu(buf[2]);
2100 cladatum->permissions.nprim = le32_to_cpu(buf[3]);
3448 uint32_t buf[2], nprim, nel;
3481 nprim = le32_to_cpu(buf[0]);
3488 decl->symtab[i].nprim = nprim;
3643 size_t len, nprim, nel;
3843 nprim = le32_to_cpu(buf[0]);
3850 p->symtab[i].nprim = nprim;
3914 p->type_attr_map = malloc(p->p_types.nprim * sizeof(ebitmap_t));
3915 p->attr_type_map = malloc(p->p_types.nprim * sizeof(ebitmap_t));
3918 for (i = 0; i < p->p_types.nprim; i++) {
3922 for (i = 0; i < p->p_types.nprim; i++) {
3957 malloc(p->p_users.nprim * sizeof(user_datum_t *));
3962 malloc(p->symtab[i].nprim * sizeof(char *));