Lines Matching defs:bm1
523 * \param bm1 the first bitmap
529 bool bitmap_equal(const struct bitmap *bm1, const struct bitmap *bm2)
532 if (bm1 == bm2) {
536 if (bm1->nbits != bm2->nbits) {
540 bitmap_bit_t dst_bytes = BITMAP_DATA_SIZE(bm1->nbits);
545 if (bm1->data[i] != bm2->data[i]) {
572 * \param bm1 the first bitmap
578 bool bitmap_disjoint(const struct bitmap *bm1, const struct bitmap *bm2)
580 bitmap_bit_t dst_bytes = BITMAP_DATA_SIZE(bm1->nbits);
585 if (bm1->data[i] & bm2->data[i]) {
597 * \param bm1 the first bitmap
603 bool bitmap_intersects(const struct bitmap *bm1, const struct bitmap *bm2)
605 bitmap_bit_t dst_bytes = BITMAP_DATA_SIZE(bm1->nbits);
610 if (bm1->data[i] & bm2->data[i]) {