Home
last modified time | relevance | path

Searched refs:bm_bits (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_bitmap.c97 unsigned long bm_bits; member
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()
1301 if (bm_fo > b->bm_bits) { in __bm_find_next()
1396 if (e >= b->bm_bits) { in __bm_change_bits_to()
1398 s, e, b->bm_bits); in __bm_change_bits_to()
1399 e = b->bm_bits ? b->bm_bits -1 : 0; in __bm_change_bits_to()
[all …]
H A Ddrbd_proc.c192 unsigned long bm_bits = drbd_bm_bits(device); in drbd_syncer_progress() local
197 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()
H A Ddrbd_main.c1121 if (c->bit_offset >= c->bm_bits) in fill_bitmap_rle_bits()
1141 tmp = c->bm_bits; in fill_bitmap_rle_bits()
1175 } while (c->bit_offset < c->bm_bits); in fill_bitmap_rle_bits()
1226 if (c->bit_offset >= c->bm_bits) in send_bitmap_rle_or_plain()
1249 if (c->bit_offset > c->bm_bits) in send_bitmap_rle_or_plain()
1250 c->bit_offset = c->bm_bits; in send_bitmap_rle_or_plain()
1290 .bm_bits = drbd_bm_bits(device), in _drbd_send_bitmap()
H A Ddrbd_receiver.c4657 if (c->bit_offset > c->bm_bits) in receive_bitmap_plain()
4658 c->bit_offset = c->bm_bits; in receive_bitmap_plain()
4713 if (e >= c->bm_bits) { in recv_bm_rle_bits()
4744 return (s != c->bm_bits); in recv_bm_rle_bits()
4832 .bm_bits = drbd_bm_bits(device), in receive_bitmap()
H A Ddrbd_int.h119 unsigned long bm_bits; member