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()
292 ebitmap_for_each_bit(&c->range.level[l].cat, cnode, i) { in mls_context_isvalid()
296 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()
392 (&context->range.level[l].cat, in mls_context_to_sid()
416 cat, i, 1)) in mls_context_to_sid()
463 rc = ebitmap_cpy(&dst->range.level[l].cat, in mls_copy_context()
464 &src->range.level[l].cat); in mls_copy_context()
483 rc = ebitmap_cpy(&dst->range.level[l].cat, in mls_scopy_context()
484 &src->range.level[0].cat); in mls_scopy_context()
502 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set()
503 &range->level[l].cat); in mls_range_set()
582 ebitmap_for_each_bit(&c->range.level[l].cat, cnode, i) { in mls_convert_context()
600 ebitmap_destroy(&c->range.level[l].cat); in mls_convert_context()
601 c->range.level[l].cat = bitmap; in mls_convert_context()
750 next = l->cat; in mls_semantic_level_destroy()
762 mls_semantic_cat_t *cat, *newcat, *lnewcat = NULL; in mls_semantic_level_cpy() local
766 cat = src->cat; in mls_semantic_level_cpy()
767 while (cat) { in mls_semantic_level_cpy()
777 dst->cat = newcat; in mls_semantic_level_cpy()
779 newcat->low = cat->low; in mls_semantic_level_cpy()
780 newcat->high = cat->high; in mls_semantic_level_cpy()
783 cat = cat->next; in mls_semantic_level_cpy()