Lines Matching refs:tgt_matches
221 ebitmap_t src_matches, tgt_matches, self_matches, matches; in report_assertion_avtab_matches() local
232 ebitmap_init(&tgt_matches); in report_assertion_avtab_matches()
244 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, &p->attr_type_map[k->target_type -1]); in report_assertion_avtab_matches()
257 rc = ebitmap_union(&tgt_matches, &self_matches); in report_assertion_avtab_matches()
263 if (ebitmap_length(&tgt_matches) == 0) in report_assertion_avtab_matches()
276 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in report_assertion_avtab_matches()
297 ebitmap_destroy(&tgt_matches); in report_assertion_avtab_matches()
393 ebitmap_t src_matches, tgt_matches, self_matches, matches; in check_assertion_extended_permissions() local
401 ebitmap_init(&tgt_matches); in check_assertion_extended_permissions()
413 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, in check_assertion_extended_permissions()
428 rc = ebitmap_union(&tgt_matches, &self_matches); in check_assertion_extended_permissions()
434 if (ebitmap_length(&tgt_matches) == 0) in check_assertion_extended_permissions()
443 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in check_assertion_extended_permissions()
461 ebitmap_destroy(&tgt_matches); in check_assertion_extended_permissions()