Home
last modified time | relevance | path

Searched refs:md_bdev (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_nl.c845 bdev->md.md_size_sect = drbd_get_capacity(bdev->md_bdev); in drbd_md_set_sector_offsets()
1694 nbc->md_bdev = bdev; in open_backing_devices()
1713 close_backing_dev(device, ldev->md_bdev, in drbd_backing_dev_free()
1716 ldev->md_bdev != ldev->backing_bdev); in drbd_backing_dev_free()
1827 if ((nbc->backing_bdev == nbc->md_bdev) != in drbd_adm_attach()
1867 if (drbd_get_capacity(nbc->md_bdev) < min_md_device_sectors) { in drbd_adm_attach()
2133 close_backing_dev(device, nbc->md_bdev, in drbd_adm_attach()
2136 nbc->md_bdev != nbc->backing_bdev); in drbd_adm_attach()
H A Ddrbd_actlog.c142 bio = bio_alloc_bioset(bdev->md_bdev, 1, op | op_flags, GFP_NOIO, in _drbd_md_sync_page_io()
183 BUG_ON(!bdev->md_bdev); in drbd_md_sync_page_io()
H A Ddrbd_bitmap.c1043 bio = bio_alloc_bioset(device->ldev->md_bdev, 1, op, GFP_NOIO, in bm_page_io_async()
H A Ddrbd_int.h527 struct block_device *md_bdev; member
H A Ddrbd_main.c3116 sector_t capacity = drbd_get_capacity(bdev->md_bdev); in check_offsets_and_sizes()