Searched refs:BM_BLOCK_SHIFT (Results 1 – 8 of 8) sorted by relevance
1179 #define BM_BLOCK_SHIFT 12 /* 4k per bit */ macro1180 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT)1187 #if (BM_EXT_SHIFT != 24) || (BM_BLOCK_SHIFT != 12)1192 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9))1193 #define BM_BIT_TO_SECT(x) ((sector_t)(x)<<(BM_BLOCK_SHIFT-9))1197 #define Bit2KB(bits) ((bits)<<(BM_BLOCK_SHIFT-10))1202 #define BM_BIT_TO_EXT(x) ((x) >> (BM_EXT_SHIFT - BM_BLOCK_SHIFT))1209 #define BM_BITS_PER_EXT (1UL << (BM_EXT_SHIFT - BM_BLOCK_SHIFT))
117 if (rs_total > (4UL << (30 - BM_BLOCK_SHIFT))) in drbd_syncer_progress()
561 number = drbd_rs_controller(peer_device, sect_in) >> (BM_BLOCK_SHIFT - 9); in drbd_rs_number_requests()759 device->rs_in_flight += (i << (BM_BLOCK_SHIFT - 9)); in make_resync_request()812 device->rs_in_flight += (i << (BM_BLOCK_SHIFT - 9)); in make_ov_request()1208 device->rs_same_csum += peer_req->i.size >> BM_BLOCK_SHIFT; in w_e_end_csum_rs_req()1860 (unsigned long) device->rs_total << (BM_BLOCK_SHIFT-10), in drbd_start_resync()
280 #if (PAGE_SHIFT + 3) < (AL_EXTENT_SHIFT - BM_BLOCK_SHIFT)295 (AL_EXTENT_SHIFT - BM_BLOCK_SHIFT)); in al_extent_to_bm_page()
334 #define S2W(s) ((s)<<(BM_EXT_SHIFT-BM_BLOCK_SHIFT-LN2_BPL))1207 ppsize(ppb, now << (BM_BLOCK_SHIFT-10)), now); in bm_rw()
3570 s->peer_dev_out_of_sync = drbd_bm_total_weight(device) << (BM_BLOCK_SHIFT - 9); in peer_device_to_statistics()3571 s->peer_dev_resync_failed = device->rs_failed << (BM_BLOCK_SHIFT - 9); in peer_device_to_statistics()
5655 device->rs_same_csum += (blksize >> BM_BLOCK_SHIFT); in got_IsInSync()
375 #define BM_BLOCK_SHIFT (PAGE_SHIFT + 3) macro376 #define BM_BLOCK_MASK ((1UL << BM_BLOCK_SHIFT) - 1)790 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit()