Lines Matching refs:typdatum
298 struct type_datum *typdatum; in type_index() local
300 typdatum = datum; in type_index()
303 if ( typdatum->primary ) in type_index()
305 if ( !typdatum->value in type_index()
306 || typdatum->value > p->p_types.nprim in type_index()
307 || typdatum->bounds > p->p_types.nprim ) in type_index()
309 p->p_type_val_to_name[typdatum->value - 1] = key; in type_index()
310 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()
1327 struct type_datum *typdatum; in type_read() local
1333 typdatum = xzalloc(struct type_datum); in type_read()
1334 if ( !typdatum ) in type_read()
1349 typdatum->value = le32_to_cpu(buf[1]); in type_read()
1355 typdatum->primary = 1; in type_read()
1357 typdatum->attribute = 1; in type_read()
1359 typdatum->bounds = le32_to_cpu(buf[3]); in type_read()
1363 typdatum->primary = le32_to_cpu(buf[2]); in type_read()
1377 rc = hashtab_insert(h, key, typdatum); in type_read()
1383 type_destroy(key, typdatum, NULL); in type_read()