Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/
Ddrbd_main.c3135 if (in_core->al_offset != MD_4kB_SECT) in check_offsets_and_sizes()
3137 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3140 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()
3147 || in_core->al_offset != MD_4kB_SECT in check_offsets_and_sizes()
3148 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()
3165 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3175 if (on_disk_bm_sect < (in_core->la_size_sect+7)/MD_4kB_SECT/8/512) in check_offsets_and_sizes()
Ddrbd_int.h1121 #define MD_4kB_SECT 8 macro
1241 ((MD_128MB_SECT - MD_32kB_SECT - MD_4kB_SECT) * (1LL<<(BM_EXT_SHIFT-9)))
1758 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()