Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/
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()
Ddrbd_main.c3013 buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE); in drbd_md_write()
3255 if (be32_to_cpu(buffer->bm_bytes_per_bit) != BM_BLOCK_SIZE) { in drbd_md_read()
3257 be32_to_cpu(buffer->bm_bytes_per_bit), BM_BLOCK_SIZE); in drbd_md_read()
Ddrbd_int.h1183 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT) macro