Lines Matching refs:tgt_matches
221 ebitmap_t src_matches, tgt_matches, matches; in report_assertion_avtab_matches() local
232 ebitmap_init(&tgt_matches); in report_assertion_avtab_matches()
247 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); in report_assertion_avtab_matches()
251 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, &p->attr_type_map[k->target_type -1]); in report_assertion_avtab_matches()
256 if (ebitmap_length(&tgt_matches) == 0) in report_assertion_avtab_matches()
269 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in report_assertion_avtab_matches()
290 ebitmap_destroy(&tgt_matches); in report_assertion_avtab_matches()
385 ebitmap_t src_matches, tgt_matches, matches; in check_assertion_extended_permissions() local
393 ebitmap_init(&tgt_matches); in check_assertion_extended_permissions()
408 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); in check_assertion_extended_permissions()
412 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, in check_assertion_extended_permissions()
418 if (ebitmap_length(&tgt_matches) == 0) in check_assertion_extended_permissions()
427 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in check_assertion_extended_permissions()
445 ebitmap_destroy(&tgt_matches); in check_assertion_extended_permissions()