Lines Matching refs:backing_bdev
852 md_size_sect = drbd_get_capacity(bdev->backing_bdev); in drbd_md_set_sector_offsets()
1344 b = bdev->backing_bdev->bd_disk->queue; in drbd_setup_queue_param()
1389 local = queue_max_hw_sectors(bdev->backing_bdev->bd_disk->queue) << 9; in drbd_reconsider_queue_parameters()
1515 struct request_queue * const q = nbc->backing_bdev->bd_disk->queue; in sanitize_disk_conf()
1744 nbc->backing_bdev = bdev; in open_backing_devices()
1783 close_backing_dev(device, ldev->md_bdev, ldev->md_bdev != ldev->backing_bdev); in drbd_backing_dev_free()
1784 close_backing_dev(device, ldev->backing_bdev, true); in drbd_backing_dev_free()
1894 if ((nbc->backing_bdev == nbc->md_bdev) != in drbd_adm_attach()
1950 nbc->known_size = drbd_get_capacity(nbc->backing_bdev); in drbd_adm_attach()
2199 close_backing_dev(device, nbc->md_bdev, nbc->md_bdev != nbc->backing_bdev); in drbd_adm_attach()
2200 close_backing_dev(device, nbc->backing_bdev, true); in drbd_adm_attach()
2924 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) in drbd_adm_resize()
2925 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in drbd_adm_resize()
3387 q = bdev_get_queue(device->ldev->backing_bdev); in device_to_statistics()