Searched refs:md_bdev (Results 1 – 5 of 5) sorted by relevance
844 bdev->md.md_size_sect = drbd_get_capacity(bdev->md_bdev); in drbd_md_set_sector_offsets()1758 nbc->md_bdev = bdev; in open_backing_devices()1777 close_backing_dev(device, ldev->md_bdev, ldev->md_bdev != ldev->backing_bdev); in drbd_backing_dev_free()1888 if ((nbc->backing_bdev == nbc->md_bdev) != in drbd_adm_attach()1928 if (drbd_get_capacity(nbc->md_bdev) < min_md_device_sectors) { in drbd_adm_attach()2192 close_backing_dev(device, nbc->md_bdev, nbc->md_bdev != nbc->backing_bdev); in drbd_adm_attach()
142 bio_set_dev(bio, bdev->md_bdev); in _drbd_md_sync_page_io()183 BUG_ON(!bdev->md_bdev); in drbd_md_sync_page_io()
1009 bio_set_dev(bio, device->ldev->md_bdev); in bm_page_io_async()
595 struct block_device *md_bdev; member
3153 sector_t capacity = drbd_get_capacity(bdev->md_bdev); in check_offsets_and_sizes()