Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/drbd/
Ddrbd_main.c3128 if (in_core->al_offset != MD_4kB_SECT) in check_offsets_and_sizes()
3130 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3133 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()
3140 || in_core->al_offset != MD_4kB_SECT in check_offsets_and_sizes()
3141 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()
3158 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3168 if (on_disk_bm_sect < (in_core->la_size_sect+7)/MD_4kB_SECT/8/512) in check_offsets_and_sizes()
Ddrbd_int.h1118 #define MD_4kB_SECT 8 macro
1238 ((MD_128MB_SECT - MD_32kB_SECT - MD_4kB_SECT) * (1LL<<(BM_EXT_SHIFT-9)))
1748 return bdev->md.md_offset + MD_4kB_SECT -1; in drbd_md_last_sector()
Ddrbd_nl.c840 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
841 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()
846 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
847 bdev->md.bm_offset = MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()
861 md_size_sect += MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()
865 bdev->md.bm_offset = -md_size_sect + MD_4kB_SECT; in drbd_md_set_sector_offsets()