Home
last modified time | relevance | path

Searched refs:esector (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/block/drbd/
Ddrbd_actlog.c854 sector_t esector, nr_sectors; in __drbd_change_sync() local
871 esector = sector + (size >> 9) - 1; in __drbd_change_sync()
875 if (!expect(device, esector < nr_sectors)) in __drbd_change_sync()
876 esector = nr_sectors - 1; in __drbd_change_sync()
883 if (unlikely(esector < BM_SECT_PER_BIT-1)) in __drbd_change_sync()
885 if (unlikely(esector == (nr_sectors-1))) in __drbd_change_sync()
888 ebnr = BM_SECT_TO_BIT(esector - (BM_SECT_PER_BIT-1)); in __drbd_change_sync()
894 ebnr = BM_SECT_TO_BIT(esector); in __drbd_change_sync()
Ddrbd_req.c898 sector_t esector, nr_sectors; in drbd_may_do_local_read() local
904 esector = sector + (size >> 9) - 1; in drbd_may_do_local_read()
907 D_ASSERT(device, esector < nr_sectors); in drbd_may_do_local_read()
910 ebnr = BM_SECT_TO_BIT(esector); in drbd_may_do_local_read()