Lines Matching refs:comdatum
968 common_datum_t *comdatum; in common_index() local
970 comdatum = (common_datum_t *) datum; in common_index()
972 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim) in common_index()
974 if (p->p_common_val_to_name[comdatum->s.value - 1] != NULL) in common_index()
976 p->p_common_val_to_name[comdatum->s.value - 1] = (char *)key; in common_index()
1273 common_datum_t *comdatum; in common_destroy() local
1277 comdatum = (common_datum_t *) datum; in common_destroy()
1278 (void)hashtab_map(comdatum->permissions.table, perm_destroy, 0); in common_destroy()
1279 hashtab_destroy(comdatum->permissions.table); in common_destroy()
2082 common_datum_t *comdatum; in common_read() local
2088 comdatum = calloc(1, sizeof(common_datum_t)); in common_read()
2089 if (!comdatum) in common_read()
2100 comdatum->s.value = le32_to_cpu(buf[1]); in common_read()
2102 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) in common_read()
2104 comdatum->permissions.nprim = le32_to_cpu(buf[2]); in common_read()
2116 if (perm_read(p, comdatum->permissions.table, fp)) in common_read()
2120 if (hashtab_insert(h, key, comdatum)) in common_read()
2126 common_destroy(key, comdatum, NULL); in common_read()
2274 cladatum->comdatum = hashtab_search(p->p_commons.table, in class_read()
2276 if (!cladatum->comdatum) { in class_read()