Lines Matching refs:tgt_bitmap

1074 	ebitmap_t src_bitmap, tgt_bitmap;  in __cil_type_rule_to_avtab()  local
1082 rc = __cil_expand_type(cil_rule->tgt, &tgt_bitmap); in __cil_type_rule_to_avtab()
1096 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in __cil_type_rule_to_avtab()
1097 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_type_rule_to_avtab()
1116 ebitmap_destroy(&tgt_bitmap); in __cil_type_rule_to_avtab()
1136 ebitmap_t src_bitmap, tgt_bitmap; in __cil_typetransition_to_avtab() local
1155 rc = __cil_expand_type(typetrans->tgt, &tgt_bitmap); in __cil_typetransition_to_avtab()
1169 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in __cil_typetransition_to_avtab()
1170 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_typetransition_to_avtab()
1227 ebitmap_destroy(&tgt_bitmap); in __cil_typetransition_to_avtab()
1437 ebitmap_t src_bitmap, tgt_bitmap; in __cil_avrule_to_avtab() local
1481 rc = __cil_expand_type(tgt, &tgt_bitmap); in __cil_avrule_to_avtab()
1490 ebitmap_for_each_bit(&tgt_bitmap, tnode, t) { in __cil_avrule_to_avtab()
1491 if (!ebitmap_get_bit(&tgt_bitmap, t)) continue; in __cil_avrule_to_avtab()
1497 ebitmap_destroy(&tgt_bitmap); in __cil_avrule_to_avtab()
1503 ebitmap_destroy(&tgt_bitmap); in __cil_avrule_to_avtab()
1522 rc = __cil_expand_type(tgt, &tgt_bitmap); in __cil_avrule_to_avtab()
1527 ebitmap_for_each_bit(&tgt_bitmap, tnode, t) { in __cil_avrule_to_avtab()
1528 if (!ebitmap_get_bit(&tgt_bitmap, t)) continue; in __cil_avrule_to_avtab()
1533 ebitmap_destroy(&tgt_bitmap); in __cil_avrule_to_avtab()
1537 ebitmap_destroy(&tgt_bitmap); in __cil_avrule_to_avtab()
1813 ebitmap_t src_bitmap, tgt_bitmap; in cil_avrulex_to_hashtable() local
1856 rc = __cil_expand_type(tgt, &tgt_bitmap); in cil_avrulex_to_hashtable()
1865 ebitmap_for_each_bit(&tgt_bitmap, tnode, t) { in cil_avrulex_to_hashtable()
1866 if (!ebitmap_get_bit(&tgt_bitmap, t)) continue; in cil_avrulex_to_hashtable()
1872 ebitmap_destroy(&tgt_bitmap); in cil_avrulex_to_hashtable()
1878 ebitmap_destroy(&tgt_bitmap); in cil_avrulex_to_hashtable()
1897 rc = __cil_expand_type(tgt, &tgt_bitmap); in cil_avrulex_to_hashtable()
1902 ebitmap_for_each_bit(&tgt_bitmap, tnode, t) { in cil_avrulex_to_hashtable()
1903 if (!ebitmap_get_bit(&tgt_bitmap, t)) continue; in cil_avrulex_to_hashtable()
1908 ebitmap_destroy(&tgt_bitmap); in cil_avrulex_to_hashtable()
1912 ebitmap_destroy(&tgt_bitmap); in cil_avrulex_to_hashtable()
2405 ebitmap_t src_bitmap, tgt_bitmap; in cil_roleallow_to_policydb() local
2412 rc = __cil_expand_role(roleallow->tgt, &tgt_bitmap); in cil_roleallow_to_policydb()
2421 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in cil_roleallow_to_policydb()
2422 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in cil_roleallow_to_policydb()
2441 ebitmap_destroy(&tgt_bitmap); in cil_roleallow_to_policydb()
3113 ebitmap_t src_bitmap, tgt_bitmap; in cil_rangetransition_to_policydb() local
3122 rc = __cil_expand_type(rangetrans->exec, &tgt_bitmap); in cil_rangetransition_to_policydb()
3133 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in cil_rangetransition_to_policydb()
3134 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in cil_rangetransition_to_policydb()
3198 ebitmap_destroy(&tgt_bitmap); in cil_rangetransition_to_policydb()