Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_worker.c560 device->c_sync_rate = number * HZ * (BM_BLOCK_SIZE / 1024) / SLEEP_TIME; in drbd_rs_number_requests()
563 number = SLEEP_TIME * device->c_sync_rate / ((BM_BLOCK_SIZE / 1024) * HZ); in drbd_rs_number_requests()
645 size = BM_BLOCK_SIZE; in make_resync_request()
667 #if DRBD_MAX_BIO_SIZE > BM_BLOCK_SIZE in make_resync_request()
677 if (size + BM_BLOCK_SIZE > max_bio_size) in make_resync_request()
698 size += BM_BLOCK_SIZE; in make_resync_request()
699 if ((BM_BLOCK_SIZE << align) <= size) in make_resync_request()
705 if (size > BM_BLOCK_SIZE) in make_resync_request()
789 size = BM_BLOCK_SIZE; in make_ov_request()
Ddrbd_main.c3001 buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE); in drbd_md_write()
3243 if (be32_to_cpu(buffer->bm_bytes_per_bit) != BM_BLOCK_SIZE) { in drbd_md_read()
3245 be32_to_cpu(buffer->bm_bytes_per_bit), BM_BLOCK_SIZE); in drbd_md_read()
Ddrbd_int.h1244 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT) macro