Lines Matching refs:md_size_sect
2972 u32 md_size_sect; member
3003 buffer->md_size_sect = cpu_to_be32(device->ldev->md.md_size_sect); in drbd_md_write()
3134 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; in check_offsets_and_sizes()
3139 if (in_core->md_size_sect != MD_128MB_SECT in check_offsets_and_sizes()
3147 if (capacity < in_core->md_size_sect) in check_offsets_and_sizes()
3149 if (capacity - in_core->md_size_sect < drbd_md_first_sector(bdev)) in check_offsets_and_sizes()
3179 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, in check_offsets_and_sizes()
3218 bdev->md.md_size_sect = 8; in drbd_md_read()
3262 bdev->md.md_size_sect = be32_to_cpu(buffer->md_size_sect); in drbd_md_read()
3276 if (be32_to_cpu(buffer->md_size_sect) != bdev->md.md_size_sect) { in drbd_md_read()
3278 be32_to_cpu(buffer->md_size_sect), bdev->md.md_size_sect); in drbd_md_read()