Searched refs:BM_SECT_TO_BIT (Results 1 – 7 of 7) sorted by relevance
876 lbnr = BM_SECT_TO_BIT(nr_sectors-1); in __drbd_change_sync()886 ebnr = BM_SECT_TO_BIT(esector - (BM_SECT_PER_BIT-1)); in __drbd_change_sync()887 sbnr = BM_SECT_TO_BIT(sector + BM_SECT_PER_BIT-1); in __drbd_change_sync()891 sbnr = BM_SECT_TO_BIT(sector); in __drbd_change_sync()892 ebnr = BM_SECT_TO_BIT(esector); in __drbd_change_sync()
905 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read()906 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()
1256 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9)) macro
2872 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in receive_DataRequest()2895 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in receive_DataRequest()2916 device->ov_left = drbd_bm_bits(device) - BM_SECT_TO_BIT(sector); in receive_DataRequest()
720 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in make_resync_request()
1239 unsigned long bit = BM_SECT_TO_BIT(device->ov_start_sector); in set_ov_position()