Lines Matching defs:catdatum
660 struct cat_datum *catdatum;
662 catdatum = datum;
665 if (!catdatum->isalias) {
666 if (!catdatum->value || catdatum->value > p->p_cats.nprim)
669 p->sym_val_to_name[SYM_CATS][catdatum->value - 1] = key;
1614 struct cat_datum *catdatum;
1619 catdatum = kzalloc(sizeof(*catdatum), GFP_ATOMIC);
1620 if (!catdatum)
1628 catdatum->value = le32_to_cpu(buf[1]);
1629 catdatum->isalias = le32_to_cpu(buf[2]);
1635 rc = symtab_insert(s, key, catdatum);
1640 cat_destroy(key, catdatum, NULL);
2808 struct cat_datum *catdatum = datum;
2817 buf[1] = cpu_to_le32(catdatum->value);
2818 buf[2] = cpu_to_le32(catdatum->isalias);