Lines Matching defs:typdatum
599 struct type_datum *typdatum;
601 typdatum = datum;
604 if (typdatum->primary) {
605 if (!typdatum->value
606 || typdatum->value > p->p_types.nprim
607 || typdatum->bounds > p->p_types.nprim)
609 p->sym_val_to_name[SYM_TYPES][typdatum->value - 1] = key;
610 p->type_val_to_struct[typdatum->value - 1] = typdatum;
1445 struct type_datum *typdatum;
1451 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL);
1452 if (!typdatum)
1463 typdatum->value = le32_to_cpu(buf[1]);
1468 typdatum->primary = 1;
1470 typdatum->attribute = 1;
1472 typdatum->bounds = le32_to_cpu(buf[3]);
1474 typdatum->primary = le32_to_cpu(buf[2]);
1481 rc = symtab_insert(s, key, typdatum);
1486 type_destroy(key, typdatum, NULL);
3170 struct type_datum *typdatum = datum;
3181 buf[items++] = cpu_to_le32(typdatum->value);
3185 if (typdatum->primary)
3188 if (typdatum->attribute)
3192 buf[items++] = cpu_to_le32(typdatum->bounds);
3194 buf[items++] = cpu_to_le32(typdatum->primary);