Lines Matching refs:comdatum
990 common_datum_t *comdatum; in common_index() local
992 comdatum = (common_datum_t *) datum; in common_index()
994 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim) in common_index()
996 if (p->p_common_val_to_name[comdatum->s.value - 1] != NULL) in common_index()
998 p->p_common_val_to_name[comdatum->s.value - 1] = (char *)key; in common_index()
1295 common_datum_t *comdatum; in common_destroy() local
1299 comdatum = (common_datum_t *) datum; in common_destroy()
1300 (void)hashtab_map(comdatum->permissions.table, perm_destroy, 0); in common_destroy()
1301 hashtab_destroy(comdatum->permissions.table); in common_destroy()
2100 common_datum_t *comdatum; in common_read() local
2106 comdatum = calloc(1, sizeof(common_datum_t)); in common_read()
2107 if (!comdatum) in common_read()
2118 comdatum->s.value = le32_to_cpu(buf[1]); in common_read()
2120 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) in common_read()
2122 comdatum->permissions.nprim = le32_to_cpu(buf[2]); in common_read()
2134 if (perm_read(p, comdatum->permissions.table, fp)) in common_read()
2138 if (hashtab_insert(h, key, comdatum)) in common_read()
2144 common_destroy(key, comdatum, NULL); in common_read()
2292 cladatum->comdatum = hashtab_search(p->p_commons.table, in class_read()
2294 if (!cladatum->comdatum) { in class_read()