Searched refs:BM_BLOCK_SHIFT (Results 1 – 8 of 8) sorted by relevance
1243 #define BM_BLOCK_SHIFT 12 /* 4k per bit */ macro1244 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT)1251 #if (BM_EXT_SHIFT != 24) || (BM_BLOCK_SHIFT != 12)1256 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9))1257 #define BM_BIT_TO_SECT(x) ((sector_t)(x)<<(BM_BLOCK_SHIFT-9))1261 #define Bit2KB(bits) ((bits)<<(BM_BLOCK_SHIFT-10))1266 #define BM_BIT_TO_EXT(x) ((x) >> (BM_EXT_SHIFT - BM_BLOCK_SHIFT))1273 #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()
559 number = drbd_rs_controller(device, sect_in) >> (BM_BLOCK_SHIFT - 9); in drbd_rs_number_requests()757 device->rs_in_flight += (i << (BM_BLOCK_SHIFT - 9)); in make_resync_request()809 device->rs_in_flight += (i << (BM_BLOCK_SHIFT - 9)); in make_ov_request()1204 device->rs_same_csum += peer_req->i.size >> BM_BLOCK_SHIFT; in w_e_end_csum_rs_req()1854 (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))1209 ppsize(ppb, now << (BM_BLOCK_SHIFT-10)), now); in bm_rw()
3556 s->peer_dev_out_of_sync = drbd_bm_total_weight(device) << (BM_BLOCK_SHIFT - 9); in peer_device_to_statistics()3557 s->peer_dev_resync_failed = device->rs_failed << (BM_BLOCK_SHIFT - 9); in peer_device_to_statistics()
5641 device->rs_same_csum += (blksize >> BM_BLOCK_SHIFT); in got_IsInSync()
373 #define BM_BLOCK_SHIFT (PAGE_SHIFT + 3) macro374 #define BM_BLOCK_MASK ((1UL << BM_BLOCK_SHIFT) - 1)786 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit()