Home
last modified time | relevance | path

Searched refs:MD_4kB_SECT (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_main.c3238 if (in_core->al_offset != MD_4kB_SECT) in check_offsets_and_sizes()
3240 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3243 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()
3250 || in_core->al_offset != MD_4kB_SECT in check_offsets_and_sizes()
3251 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()
3268 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3278 if (on_disk_bm_sect < (in_core->la_size_sect+7)/MD_4kB_SECT/8/512) in check_offsets_and_sizes()
Ddrbd_int.h1187 #define MD_4kB_SECT 8 macro
1307 ((MD_128MB_SECT - MD_32kB_SECT - MD_4kB_SECT) * (1LL<<(BM_EXT_SHIFT-9)))
1850 return bdev->md.md_offset + MD_4kB_SECT -1; in drbd_md_last_sector()
Ddrbd_nl.c838 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
839 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()
844 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
845 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()
859 md_size_sect += MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()
863 bdev->md.bm_offset = -md_size_sect + MD_4kB_SECT; in drbd_md_set_sector_offsets()