Searched refs:BM_SECT_TO_BIT (Results 1 – 7 of 7) sorted by relevance
878 lbnr = BM_SECT_TO_BIT(nr_sectors-1); in __drbd_change_sync()888 ebnr = BM_SECT_TO_BIT(esector - (BM_SECT_PER_BIT-1)); in __drbd_change_sync()889 sbnr = BM_SECT_TO_BIT(sector + BM_SECT_PER_BIT-1); in __drbd_change_sync()893 sbnr = BM_SECT_TO_BIT(sector); in __drbd_change_sync()894 ebnr = BM_SECT_TO_BIT(esector); in __drbd_change_sync()
909 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read()910 ebnr = BM_SECT_TO_BIT(esector); in drbd_may_do_local_read()
666 bits = BM_SECT_TO_BIT(ALIGN(capacity, BM_SECT_PER_BIT)); in drbd_bm_resize()
1195 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9)) macro
2889 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in receive_DataRequest()2911 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in receive_DataRequest()2932 device->ov_left = drbd_bm_bits(device) - BM_SECT_TO_BIT(sector); in receive_DataRequest()
722 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in make_resync_request()
1241 unsigned long bit = BM_SECT_TO_BIT(device->ov_start_sector); in set_ov_position()