Lines Matching refs:catdatum
346 struct cat_datum *catdatum;
348 catdatum = datum;
351 if (!catdatum->isalias) {
352 if (!catdatum->value || catdatum->value > p->p_cats.nprim)
354 p->p_cat_val_to_name[catdatum->value - 1] = key;
1499 struct cat_datum *catdatum;
1504 catdatum = kzalloc(sizeof(*catdatum), GFP_ATOMIC);
1505 if (!catdatum) {
1515 catdatum->value = le32_to_cpu(buf[1]);
1516 catdatum->isalias = le32_to_cpu(buf[2]);
1528 rc = hashtab_insert(h, key, catdatum);
1535 cat_destroy(key, catdatum, NULL);