Searched refs:BM_BLOCK_SHIFT (Results 1 – 8 of 8) sorted by relevance
1255 #define BM_BLOCK_SHIFT 12 /* 4k per bit */ macro1256 #define BM_BLOCK_SIZE (1<<BM_BLOCK_SHIFT)1263 #if (BM_EXT_SHIFT != 24) || (BM_BLOCK_SHIFT != 12)1268 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9))1269 #define BM_BIT_TO_SECT(x) ((sector_t)(x)<<(BM_BLOCK_SHIFT-9))1273 #define Bit2KB(bits) ((bits)<<(BM_BLOCK_SHIFT-10))1278 #define BM_BIT_TO_EXT(x) ((x) >> (BM_EXT_SHIFT - BM_BLOCK_SHIFT))1285 #define BM_BITS_PER_EXT (1UL << (BM_EXT_SHIFT - BM_BLOCK_SHIFT))
129 if (rs_total > (4UL << (30 - BM_BLOCK_SHIFT))) in drbd_syncer_progress()
576 number = drbd_rs_controller(device, sect_in) >> (BM_BLOCK_SHIFT - 9); in drbd_rs_number_requests()774 device->rs_in_flight += (i << (BM_BLOCK_SHIFT - 9)); in make_resync_request()826 device->rs_in_flight += (i << (BM_BLOCK_SHIFT - 9)); in make_ov_request()1221 device->rs_same_csum += peer_req->i.size >> BM_BLOCK_SHIFT; in w_e_end_csum_rs_req()1867 (unsigned long) device->rs_total << (BM_BLOCK_SHIFT-10), in drbd_start_resync()
292 #if (PAGE_SHIFT + 3) < (AL_EXTENT_SHIFT - BM_BLOCK_SHIFT)307 (AL_EXTENT_SHIFT - BM_BLOCK_SHIFT)); in al_extent_to_bm_page()
346 #define S2W(s) ((s)<<(BM_EXT_SHIFT-BM_BLOCK_SHIFT-LN2_BPL))1189 ppsize(ppb, now << (BM_BLOCK_SHIFT-10)), now); in bm_rw()
3593 s->peer_dev_out_of_sync = drbd_bm_total_weight(device) << (BM_BLOCK_SHIFT - 9); in peer_device_to_statistics()3594 s->peer_dev_resync_failed = device->rs_failed << (BM_BLOCK_SHIFT - 9); in peer_device_to_statistics()
5519 device->rs_same_csum += (blksize >> BM_BLOCK_SHIFT); in got_IsInSync()
342 #define BM_BLOCK_SHIFT (PAGE_SHIFT + 3) macro343 #define BM_BLOCK_MASK ((1UL << BM_BLOCK_SHIFT) - 1)744 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit()