Lines Matching defs:bm2
524 * \param bm2 the second bitmap
529 bool bitmap_equal(const struct bitmap *bm1, const struct bitmap *bm2)
532 if (bm1 == bm2) {
536 if (bm1->nbits != bm2->nbits) {
541 bitmap_bit_t src_bytes = BITMAP_DATA_SIZE(bm2->nbits);
545 if (bm1->data[i] != bm2->data[i]) {
573 * \param bm2 the second bitmap
578 bool bitmap_disjoint(const struct bitmap *bm1, const struct bitmap *bm2)
581 bitmap_bit_t src_bytes = BITMAP_DATA_SIZE(bm2->nbits);
585 if (bm1->data[i] & bm2->data[i]) {
598 * \param bm2 the second bitmap
603 bool bitmap_intersects(const struct bitmap *bm1, const struct bitmap *bm2)
606 bitmap_bit_t src_bytes = BITMAP_DATA_SIZE(bm2->nbits);
610 if (bm1->data[i] & bm2->data[i]) {