Lines Matching full:cat
50 e = &context->range.level[l].cat; in mls_compute_context_len()
110 e = &context->range.level[l].cat; in mls_sid_to_context()
170 * Return 1 iff all the bits set in l->cat are also be set in in mls_level_isvalid()
171 * levdatum->level->cat and no bit in l->cat is larger than in mls_level_isvalid()
174 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid()
312 rc = ebitmap_set_bit(&context->range.level[l].cat, in mls_context_to_sid()
330 &context->range.level[l].cat, i, 1); in mls_context_to_sid()
340 rc = ebitmap_cpy(&context->range.level[1].cat, in mls_context_to_sid()
341 &context->range.level[0].cat); in mls_context_to_sid()
386 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set()
387 &range->level[l].cat); in mls_range_set()
461 ebitmap_for_each_positive_bit(&oldc->range.level[l].cat, node, in mls_convert_context()
470 rc = ebitmap_set_bit(&newc->range.level[l].cat, in mls_convert_context()
603 rc = ebitmap_netlbl_export(&context->range.level[0].cat, in mls_export_netlbl_cat()
604 &secattr->attr.mls.cat); in mls_export_netlbl_cat()
605 if (rc == 0 && secattr->attr.mls.cat != NULL) in mls_export_netlbl_cat()
632 rc = ebitmap_netlbl_import(&context->range.level[0].cat, in mls_import_netlbl_cat()
633 secattr->attr.mls.cat); in mls_import_netlbl_cat()
636 memcpy(&context->range.level[1].cat, &context->range.level[0].cat, in mls_import_netlbl_cat()
637 sizeof(context->range.level[0].cat)); in mls_import_netlbl_cat()
642 ebitmap_destroy(&context->range.level[0].cat); in mls_import_netlbl_cat()