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()
896 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read()897 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()
1260 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9)) macro
2925 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in receive_DataRequest()2948 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in receive_DataRequest()2969 device->ov_left = drbd_bm_bits(device) - BM_SECT_TO_BIT(sector); in receive_DataRequest()
725 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()