Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/
Ddrbd_actlog.c878 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()
Ddrbd_req.c909 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()
Ddrbd_bitmap.c666 bits = BM_SECT_TO_BIT(ALIGN(capacity, BM_SECT_PER_BIT)); in drbd_bm_resize()
Ddrbd_int.h1195 #define BM_SECT_TO_BIT(x) ((x)>>(BM_BLOCK_SHIFT-9)) macro
Ddrbd_receiver.c2889 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()
Ddrbd_worker.c722 device->bm_resync_fo = BM_SECT_TO_BIT(sector); in make_resync_request()
Ddrbd_state.c1241 unsigned long bit = BM_SECT_TO_BIT(device->ov_start_sector); in set_ov_position()