Lines Matching refs:nprim
834 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim)
848 if (!cladatum->s.value || cladatum->s.value > p->p_classes.nprim)
863 if (!role->s.value || role->s.value > p->p_roles.nprim)
880 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim)
897 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim)
916 levdatum->level->sens > p->p_levels.nprim)
933 if (!catdatum->s.value || catdatum->s.value > p->p_cats.nprim)
955 malloc(p->p_commons.nprim * sizeof(char *));
964 malloc(p->p_classes.nprim * sizeof(class_datum_t *));
970 malloc(p->p_classes.nprim * sizeof(char *));
986 malloc(p->p_bools.nprim * sizeof(char *));
1037 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim,
1038 p->p_bools.nprim);
1042 p->p_levels.nprim, p->p_cats.nprim);
1045 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel);
1055 malloc(p->p_roles.nprim * sizeof(role_datum_t *));
1061 malloc(p->p_users.nprim * sizeof(user_datum_t *));
1067 calloc(p->p_types.nprim, sizeof(type_datum_t *));
1076 if (p->symtab[i].nprim) {
1078 calloc(p->symtab[i].nprim, sizeof(char *));
1376 for (i = 0; i < p->p_types.nprim; i++) {
1383 for (i = 0; i < p->p_types.nprim; i++) {
1491 *value = ++pol->symtab[sym].nprim;
1940 comdatum->permissions.nprim = le32_to_cpu(buf[2]);
2084 cladatum->permissions.nprim = le32_to_cpu(buf[3]);
3407 uint32_t buf[2], nprim, nel;
3440 nprim = le32_to_cpu(buf[0]);
3447 decl->symtab[i].nprim = nprim;
3602 size_t len, nprim, nel;
3802 nprim = le32_to_cpu(buf[0]);
3809 p->symtab[i].nprim = nprim;
3873 p->type_attr_map = malloc(p->p_types.nprim * sizeof(ebitmap_t));
3874 p->attr_type_map = malloc(p->p_types.nprim * sizeof(ebitmap_t));
3877 for (i = 0; i < p->p_types.nprim; i++) {
3881 for (i = 0; i < p->p_types.nprim; i++) {
3916 malloc(p->p_users.nprim * sizeof(user_datum_t *));
3921 malloc(p->symtab[i].nprim * sizeof(char *));