Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/ !
Ddrbd_bitmap.c97 unsigned long bm_bits; member
490 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 …]
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()
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()
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()
Ddrbd_int.h119 unsigned long bm_bits; member