Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_main.c3123 if (in_core->al_offset != MD_4kB_SECT) in check_offsets_and_sizes()
3125 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3128 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; in check_offsets_and_sizes()
3135 || in_core->al_offset != MD_4kB_SECT in check_offsets_and_sizes()
3136 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT in check_offsets_and_sizes()
3153 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3163 if (on_disk_bm_sect < (in_core->la_size_sect+7)/MD_4kB_SECT/8/512) in check_offsets_and_sizes()
Ddrbd_int.h1182 #define MD_4kB_SECT 8 macro
1302 ((MD_128MB_SECT - MD_32kB_SECT - MD_4kB_SECT) * (1LL<<(BM_EXT_SHIFT-9)))
1813 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()