Lines Matching refs:md_size_sect
831 sector_t md_size_sect = 0; in drbd_md_set_sector_offsets() local
839 bdev->md.md_size_sect = MD_128MB_SECT; in drbd_md_set_sector_offsets()
845 bdev->md.md_size_sect = drbd_get_capacity(bdev->md_bdev); in drbd_md_set_sector_offsets()
854 md_size_sect = drbd_get_capacity(bdev->backing_bdev); in drbd_md_set_sector_offsets()
855 md_size_sect = ALIGN(md_size_sect, BM_SECT_PER_EXT); in drbd_md_set_sector_offsets()
856 md_size_sect = BM_SECT_TO_EXT(md_size_sect); in drbd_md_set_sector_offsets()
857 md_size_sect = ALIGN(md_size_sect, 8); in drbd_md_set_sector_offsets()
861 md_size_sect += MD_4kB_SECT + al_size_sect; in drbd_md_set_sector_offsets()
863 bdev->md.md_size_sect = md_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()
937 u32 md_size_sect; in drbd_determine_dev_size() member
969 prev.md_size_sect = md->md_size_sect; in drbd_determine_dev_size()
1028 || prev.md_size_sect != md->md_size_sect; in drbd_determine_dev_size()
1080 md->md_size_sect = prev.md_size_sect; in drbd_determine_dev_size()