Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/block/drbd/
Ddrbd_actlog.c257 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_fastpath()
258 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_fastpath()
274 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_prepare()
275 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_prepare()
292 #if (PAGE_SHIFT + 3) < (AL_EXTENT_SHIFT - BM_BLOCK_SHIFT)
307 (AL_EXTENT_SHIFT - BM_BLOCK_SHIFT)); in al_extent_to_bm_page()
501 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_nonblock()
502 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_nonblock()
560 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); in drbd_al_complete_io()
561 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_complete_io()
Ddrbd_int.h1198 #define AL_EXTENT_SHIFT 22 macro
1199 #define AL_EXTENT_SIZE (1<<AL_EXTENT_SHIFT)
1291 #define AL_EXT_PER_BM_SECT (1 << (BM_EXT_SHIFT - AL_EXTENT_SHIFT))