Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_worker.c551 mdev->c_sync_rate = number * HZ * (BM_BLOCK_SIZE / 1024) / SLEEP_TIME; in drbd_rs_number_requests()
554 number = SLEEP_TIME * mdev->c_sync_rate / ((BM_BLOCK_SIZE / 1024) * HZ); in drbd_rs_number_requests()
612 size = BM_BLOCK_SIZE; in w_make_resync_request()
635 #if DRBD_MAX_BIO_SIZE > BM_BLOCK_SIZE in w_make_resync_request()
645 if (size + BM_BLOCK_SIZE > max_bio_size) in w_make_resync_request()
663 size += BM_BLOCK_SIZE; in w_make_resync_request()
664 if ((BM_BLOCK_SIZE << align) <= size) in w_make_resync_request()
670 if (size > BM_BLOCK_SIZE) in w_make_resync_request()
753 size = BM_BLOCK_SIZE; in w_make_ov_request()
Ddrbd_main.c2923 buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE); in drbd_md_sync()
3131 if (be32_to_cpu(buffer->bm_bytes_per_bit) != BM_BLOCK_SIZE) { in drbd_md_read()
3133 be32_to_cpu(buffer->bm_bytes_per_bit), BM_BLOCK_SIZE); in drbd_md_read()
Ddrbd_int.h1263 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT) macro