Searched refs:ebitmap_cardinality (Results 1 – 8 of 8) sorted by relevance
86 extern unsigned int ebitmap_cardinality(ebitmap_t *e1);
510 constraint->nbits = ebitmap_cardinality(&constraint->cat); in add_constraint()533 nbits = ebitmap_cardinality(&common); in violates_constraints()547 nbits = ebitmap_cardinality(&common); in violates_constraints()552 nbits = ebitmap_cardinality(&common); in violates_constraints()1355 for (loops = 50; ebitmap_cardinality(&unhandled) && loops > 0 && change; loops--) { in compute_trans_from_raw()1367 int cardinality = ebitmap_cardinality(&w->normal); in compute_trans_from_raw()1419 done = (ebitmap_cardinality(&unhandled) == 0); in compute_trans_from_raw()
128 unsigned int ebitmap_cardinality(ebitmap_t *e1) in ebitmap_cardinality() function145 int distance = ebitmap_cardinality(&tmp); in ebitmap_hamming_distance()
2052 if (ebitmap_cardinality(&order) == 0) { in class_order_to_cil()2135 if (ebitmap_cardinality(&role->dominates) > 1) { in role_to_cil()2161 if (ebitmap_cardinality(&role->roles) > 0) { in role_to_cil()2258 if (ebitmap_cardinality(&type->types) > 0) { in type_to_cil()2362 if (ebitmap_cardinality(&level->level->cat) > 0) { in sens_to_cil()2377 if (ebitmap_cardinality(&order) == 0) { in sens_order_to_cil()2420 if (ebitmap_cardinality(&order) == 0) { in cat_order_to_cil()2477 if (ebitmap_cardinality(map) > 0) { in level_to_cil()
1086 if (ebitmap_cardinality(&level->level->cat) > 0) { in write_sensitivitycategory_rules_to_cil()1489 if (ebitmap_cardinality(typemap) == 0) continue; in write_type_attribute_sets_to_cil()1869 if (ebitmap_cardinality(cats) > 0) { in level_to_str()2176 if (types && (ebitmap_cardinality(types) > 0)) { in write_role_decl_rules_to_cil()2361 if (roles && (ebitmap_cardinality(roles) > 0)) { in write_user_decl_rules_to_cil()
1063 if (ebitmap_cardinality(&level->level->cat) > 0) { in write_level_rules_to_conf()1522 if (ebitmap_cardinality(&pdb->type_attr_map[i]) == 1) continue; in write_type_attribute_sets_to_conf()1837 if (ebitmap_cardinality(cats) > 0) { in level_to_str()2121 if (ebitmap_cardinality(&role->types.types) == 0) continue; in write_role_decl_rules_to_conf()2274 if (ebitmap_cardinality(&user->roles.roles) > 0) { in write_user_decl_rules_to_conf()
1222 if (ebitmap_cardinality(attr->types) < db->attrs_expand_size) { in cil_typeattribute_used()
1445 return !attr->used || (ebitmap_cardinality(attr->types) < db->attrs_expand_size); in __cil_should_expand_attribute()