Home
last modified time | relevance | path

Searched refs:word_offset (Results 1 – 3 of 3) sorted by relevance

/drivers/block/drbd/
Ddrbd_int.h293 unsigned long word_offset; member
313 c->word_offset = c->bit_offset >> 6; in bm_xfer_ctx_bit_to_word_offset()
315 c->word_offset = c->bit_offset >> 5; in bm_xfer_ctx_bit_to_word_offset()
316 c->word_offset &= ~(1UL); in bm_xfer_ctx_bit_to_word_offset()
Ddrbd_main.c2236 c->bit_offset = c->word_offset * BITS_PER_LONG; in fill_bitmap_rle_bits()
2283 num_words = min_t(size_t, BM_PACKET_WORDS, c->bm_words - c->word_offset); in send_bitmap_rle_or_plain()
2286 drbd_bm_get_lel(mdev, c->word_offset, num_words, (unsigned long*)h->payload); in send_bitmap_rle_or_plain()
2289 c->word_offset += num_words; in send_bitmap_rle_or_plain()
2290 c->bit_offset = c->word_offset * BITS_PER_LONG; in send_bitmap_rle_or_plain()
Ddrbd_receiver.c3339 unsigned num_words = min_t(size_t, BM_PACKET_WORDS, c->bm_words - c->word_offset); in receive_bitmap_plain()
3356 drbd_bm_merge_lel(mdev, c->word_offset, num_words, buffer); in receive_bitmap_plain()
3358 c->word_offset += num_words; in receive_bitmap_plain()
3359 c->bit_offset = c->word_offset * BITS_PER_LONG; in receive_bitmap_plain()