Searched refs:BM_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
564 device->c_sync_rate = number * HZ * (BM_BLOCK_SIZE / 1024) / SLEEP_TIME; in drbd_rs_number_requests()567 number = SLEEP_TIME * device->c_sync_rate / ((BM_BLOCK_SIZE / 1024) * HZ); in drbd_rs_number_requests()649 size = BM_BLOCK_SIZE; in make_resync_request()671 #if DRBD_MAX_BIO_SIZE > BM_BLOCK_SIZE in make_resync_request()681 if (size + BM_BLOCK_SIZE > max_bio_size) in make_resync_request()702 size += BM_BLOCK_SIZE; in make_resync_request()703 if ((BM_BLOCK_SIZE << align) <= size) in make_resync_request()709 if (size > BM_BLOCK_SIZE) in make_resync_request()793 size = BM_BLOCK_SIZE; in make_ov_request()
3116 buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE); in drbd_md_write()3358 if (be32_to_cpu(buffer->bm_bytes_per_bit) != BM_BLOCK_SIZE) { in drbd_md_read()3360 be32_to_cpu(buffer->bm_bytes_per_bit), BM_BLOCK_SIZE); in drbd_md_read()
1249 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT) macro