Searched refs:catdatum (Results 1 – 2 of 2) sorted by relevance
242 struct cat_datum *catdatum, *rngdatum; in mls_context_to_sid() local315 catdatum = symtab_search(&pol->p_cats, cur_cat); in mls_context_to_sid()316 if (!catdatum) in mls_context_to_sid()320 catdatum->value - 1, 1); in mls_context_to_sid()332 if (catdatum->value >= rngdatum->value) in mls_context_to_sid()335 for (i = catdatum->value; i < rngdatum->value; i++) { in mls_context_to_sid()453 struct cat_datum *catdatum; in mls_convert_context() local475 catdatum = symtab_search(&newp->p_cats, in mls_convert_context()477 if (!catdatum) in mls_convert_context()480 catdatum->value - 1, 1); in mls_convert_context()
655 struct cat_datum *catdatum; in cat_index() local657 catdatum = datum; in cat_index()660 if (!catdatum->isalias) { in cat_index()661 if (!catdatum->value || catdatum->value > p->p_cats.nprim) in cat_index()664 p->sym_val_to_name[SYM_CATS][catdatum->value - 1] = key; in cat_index()1612 struct cat_datum *catdatum; in cat_read() local1617 catdatum = kzalloc(sizeof(*catdatum), GFP_KERNEL); in cat_read()1618 if (!catdatum) in cat_read()1626 catdatum->value = le32_to_cpu(buf[1]); in cat_read()1627 catdatum->isalias = le32_to_cpu(buf[2]); in cat_read()[all …]