Searched refs:bm_bits (Results 1 – 5 of 5) sorted by relevance
97 unsigned long bm_bits; member490 tmp = (b->bm_bits & BITS_PER_PAGE_MASK); in bm_clear_surplus()526 tmp = (b->bm_bits & BITS_PER_PAGE_MASK); in bm_set_surplus()558 unsigned long mask = (1UL << (b->bm_bits & BITS_PER_LONG_MASK)) -1; in bm_count_bits()569 last_word = ((b->bm_bits - 1) & BITS_PER_PAGE_MASK) >> LN2_BPL; in bm_count_bits()658 b->bm_bits = in drbd_bm_resize()706 obits = b->bm_bits; in drbd_bm_resize()714 b->bm_bits = bits; in drbd_bm_resize()800 return b->bm_bits; in drbd_bm_bits()905 b->bm_set = b->bm_bits; in drbd_bm_set_all()[all …]
192 unsigned long bm_bits = drbd_bm_bits(device); in drbd_syncer_progress() local197 bit_pos = bm_bits - device->ov_left; in drbd_syncer_progress()206 (int)(bit_pos / (bm_bits/100+1)), in drbd_syncer_progress()208 (unsigned long long)bm_bits * BM_SECT_PER_BIT); in drbd_syncer_progress()
1117 if (c->bit_offset >= c->bm_bits) in fill_bitmap_rle_bits()1137 tmp = c->bm_bits; in fill_bitmap_rle_bits()1171 } while (c->bit_offset < c->bm_bits); in fill_bitmap_rle_bits()1221 if (c->bit_offset >= c->bm_bits) in send_bitmap_rle_or_plain()1243 if (c->bit_offset > c->bm_bits) in send_bitmap_rle_or_plain()1244 c->bit_offset = c->bm_bits; in send_bitmap_rle_or_plain()1283 .bm_bits = drbd_bm_bits(device), in _drbd_send_bitmap()
4642 if (c->bit_offset > c->bm_bits) in receive_bitmap_plain()4643 c->bit_offset = c->bm_bits; in receive_bitmap_plain()4698 if (e >= c->bm_bits) { in recv_bm_rle_bits()4729 return (s != c->bm_bits); in recv_bm_rle_bits()4817 .bm_bits = drbd_bm_bits(device), in receive_bitmap()
191 unsigned long bm_bits; member