Home
last modified time | relevance | path

Searched refs:backing_bdev (Results 1 – 6 of 6) sorted by relevance

/drivers/block/drbd/
Ddrbd_int.h594 struct block_device *backing_bdev; member
1850 s = drbd_get_capacity(bdev->backing_bdev) in drbd_get_max_capacity()
1857 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity()
1865 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity()
1885 return (drbd_get_capacity(bdev->backing_bdev) & ~7ULL) - 8; in drbd_md_ss()
Ddrbd_nl.c853 md_size_sect = drbd_get_capacity(bdev->backing_bdev); in drbd_md_set_sector_offsets()
1345 b = bdev->backing_bdev->bd_disk->queue; in drbd_setup_queue_param()
1382 local = queue_max_hw_sectors(bdev->backing_bdev->bd_disk->queue) << 9; in drbd_reconsider_queue_parameters()
1508 struct request_queue * const q = nbc->backing_bdev->bd_disk->queue; in sanitize_disk_conf()
1738 nbc->backing_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()
1778 close_backing_dev(device, ldev->backing_bdev, true); in drbd_backing_dev_free()
1888 if ((nbc->backing_bdev == nbc->md_bdev) != in drbd_adm_attach()
1943 nbc->known_size = drbd_get_capacity(nbc->backing_bdev); in drbd_adm_attach()
2192 close_backing_dev(device, nbc->md_bdev, nbc->md_bdev != nbc->backing_bdev); in drbd_adm_attach()
[all …]
Ddrbd_req.c520 bdevname(device->ldev->backing_bdev, b)); in drbd_report_io_error()
910 bdi = device->ldev->backing_bdev->bd_disk->queue->backing_dev_info; in remote_due_to_read_balancing()
1152 bio_set_dev(bio, device->ldev->backing_bdev); in drbd_submit_req_private_bio()
Ddrbd_receiver.c1299 bio_set_dev(bio, device->ldev->backing_bdev); in submit_one_flush()
1514 struct block_device *bdev = device->ldev->backing_bdev; in drbd_issue_discard_or_zero_out()
1579 struct request_queue *q = bdev_get_queue(device->ldev->backing_bdev); in can_do_reliable_discards()
1611 struct block_device *bdev = device->ldev->backing_bdev; in drbd_issue_peer_wsame()
1697 bio_set_dev(bio, device->ldev->backing_bdev); in drbd_submit_peer_request()
1904 if (data_size != bdev_logical_block_size(device->ldev->backing_bdev)) { in read_in_block()
1906 data_size, bdev_logical_block_size(device->ldev->backing_bdev)); in read_in_block()
2792 struct gendisk *disk = device->ldev->backing_bdev->bd_disk; in drbd_rs_c_min_rate_throttle()
4246 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) { in receive_sizes()
4247 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in receive_sizes()
Ddrbd_worker.c1527 bio_set_dev(req->private_bio, device->ldev->backing_bdev); in w_restart_disk_io()
1675 struct gendisk *disk = device->ldev->backing_bdev->bd_disk; in drbd_rs_controller_reset()
Ddrbd_main.c965 struct request_queue *q = bdev_get_queue(device->ldev->backing_bdev); in drbd_send_sizes()