Searched refs:esector (Results 1 – 2 of 2) sorted by relevance
854 sector_t esector, nr_sectors; in __drbd_change_sync() local871 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()
898 sector_t esector, nr_sectors; in drbd_may_do_local_read() local904 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()