Home
last modified time | relevance | path

Searched refs:BM_SECT_TO_BIT (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/block/drbd/
Ddrbd_actlog.c876 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()
Ddrbd_req.c905 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()
Ddrbd_bitmap.c666 bits = BM_SECT_TO_BIT(ALIGN(capacity, BM_SECT_PER_BIT)); in drbd_bm_resize()
Ddrbd_int.h1256 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9)) macro
Ddrbd_receiver.c2872 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()
Ddrbd_worker.c720 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in make_resync_request()
Ddrbd_state.c1239 unsigned long bit = BM_SECT_TO_BIT(device->ov_start_sector); in set_ov_position()