Lines Matching refs:cat
127 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { in mls_compute_context_len()
194 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { in mls_sid_to_context()
290 ebitmap_for_each_bit(&c->range.level[l].cat, cnode, i) { in mls_context_isvalid()
294 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()
390 (&context->range.level[l].cat, in mls_context_to_sid()
414 cat, i, 1)) in mls_context_to_sid()
461 rc = ebitmap_cpy(&dst->range.level[l].cat, in mls_copy_context()
462 &src->range.level[l].cat); in mls_copy_context()
481 rc = ebitmap_cpy(&dst->range.level[l].cat, in mls_scopy_context()
482 &src->range.level[0].cat); in mls_scopy_context()
500 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set()
501 &range->level[l].cat); in mls_range_set()
580 ebitmap_for_each_bit(&c->range.level[l].cat, cnode, i) { in mls_convert_context()
598 ebitmap_destroy(&c->range.level[l].cat); in mls_convert_context()
599 c->range.level[l].cat = bitmap; in mls_convert_context()
732 next = l->cat; in mls_semantic_level_destroy()
744 mls_semantic_cat_t *cat, *newcat, *lnewcat = NULL; in mls_semantic_level_cpy() local
748 cat = src->cat; in mls_semantic_level_cpy()
749 while (cat) { in mls_semantic_level_cpy()
759 dst->cat = newcat; in mls_semantic_level_cpy()
761 newcat->low = cat->low; in mls_semantic_level_cpy()
762 newcat->high = cat->high; in mls_semantic_level_cpy()
765 cat = cat->next; in mls_semantic_level_cpy()