Lines Matching full:cat
54 e = &context->range.level[l].cat; in mls_compute_context_len()
114 e = &context->range.level[l].cat; in mls_sid_to_context()
173 * Return 1 iff all the bits set in l->cat are also be set in in mls_level_isvalid()
174 * levdatum->level->cat and no bit in l->cat is larger than in mls_level_isvalid()
177 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid()
319 rc = ebitmap_set_bit(&context->range.level[l].cat, in mls_context_to_sid()
336 rc = ebitmap_set_bit(&context->range.level[l].cat, i, 1); in mls_context_to_sid()
346 rc = ebitmap_cpy(&context->range.level[1].cat, in mls_context_to_sid()
347 &context->range.level[0].cat); in mls_context_to_sid()
393 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set()
394 &range->level[l].cat); in mls_range_set()
471 ebitmap_for_each_positive_bit(&oldc->range.level[l].cat, in mls_convert_context()
479 rc = ebitmap_set_bit(&newc->range.level[l].cat, in mls_convert_context()
619 rc = ebitmap_netlbl_export(&context->range.level[0].cat, in mls_export_netlbl_cat()
620 &secattr->attr.mls.cat); in mls_export_netlbl_cat()
621 if (rc == 0 && secattr->attr.mls.cat != NULL) in mls_export_netlbl_cat()
649 rc = ebitmap_netlbl_import(&context->range.level[0].cat, in mls_import_netlbl_cat()
650 secattr->attr.mls.cat); in mls_import_netlbl_cat()
653 memcpy(&context->range.level[1].cat, &context->range.level[0].cat, in mls_import_netlbl_cat()
654 sizeof(context->range.level[0].cat)); in mls_import_netlbl_cat()
659 ebitmap_destroy(&context->range.level[0].cat); in mls_import_netlbl_cat()