Lines Matching refs:catdatum
646 struct cat_datum *catdatum; in cat_index() local
648 catdatum = datum; in cat_index()
651 if (!catdatum->isalias) { in cat_index()
652 if (!catdatum->value || catdatum->value > p->p_cats.nprim) in cat_index()
655 p->sym_val_to_name[SYM_CATS][catdatum->value - 1] = key; in cat_index()
1637 struct cat_datum *catdatum; in cat_read() local
1642 catdatum = kzalloc(sizeof(*catdatum), GFP_KERNEL); in cat_read()
1643 if (!catdatum) in cat_read()
1651 catdatum->value = le32_to_cpu(buf[1]); in cat_read()
1652 catdatum->isalias = le32_to_cpu(buf[2]); in cat_read()
1658 rc = symtab_insert(s, key, catdatum); in cat_read()
1663 cat_destroy(key, catdatum, NULL); in cat_read()
2852 struct cat_datum *catdatum = datum; in cat_write() local
2861 buf[1] = cpu_to_le32(catdatum->value); in cat_write()
2862 buf[2] = cpu_to_le32(catdatum->isalias); in cat_write()