Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_worker.c562 device->c_sync_rate = number * HZ * (BM_BLOCK_SIZE / 1024) / SLEEP_TIME; in drbd_rs_number_requests()
565 number = SLEEP_TIME * device->c_sync_rate / ((BM_BLOCK_SIZE / 1024) * HZ); in drbd_rs_number_requests()
647 size = BM_BLOCK_SIZE; in make_resync_request()
669 #if DRBD_MAX_BIO_SIZE > BM_BLOCK_SIZE in make_resync_request()
679 if (size + BM_BLOCK_SIZE > max_bio_size) in make_resync_request()
700 size += BM_BLOCK_SIZE; in make_resync_request()
701 if ((BM_BLOCK_SIZE << align) <= size) in make_resync_request()
707 if (size > BM_BLOCK_SIZE) in make_resync_request()
792 size = BM_BLOCK_SIZE; in make_ov_request()
H A Ddrbd_main.c3006 buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE); in drbd_md_write()
3248 if (be32_to_cpu(buffer->bm_bytes_per_bit) != BM_BLOCK_SIZE) { in drbd_md_read()
3250 be32_to_cpu(buffer->bm_bytes_per_bit), BM_BLOCK_SIZE); in drbd_md_read()
H A Ddrbd_int.h1180 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT) macro