Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/
H A Dloop.c174 struct block_device *backing_bdev) in lo_bdev_can_use_dio() argument
176 unsigned short sb_bsize = bdev_logical_block_size(backing_bdev); in lo_bdev_can_use_dio()
189 struct block_device *backing_bdev = NULL; in __loop_update_dio() local
193 backing_bdev = I_BDEV(inode); in __loop_update_dio()
195 backing_bdev = inode->i_sb->s_bdev; in __loop_update_dio()
198 (!backing_bdev || lo_bdev_can_use_dio(lo, backing_bdev)); in __loop_update_dio()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_int.h526 struct block_device *backing_bdev; member
1786 s = drbd_get_capacity(bdev->backing_bdev) in drbd_get_max_capacity()
1793 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity()
1801 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity()
1821 return (drbd_get_capacity(bdev->backing_bdev) & ~7ULL) - 8; in drbd_md_ss()
H A Ddrbd_nl.c854 md_size_sect = drbd_get_capacity(bdev->backing_bdev); in drbd_md_set_sector_offsets()
1215 if (bdev && !bdev_max_discard_sectors(bdev->backing_bdev)) in decide_on_discard_support()
1281 b = bdev->backing_bdev->bd_disk->queue; in drbd_setup_queue_param()
1442 struct block_device *bdev = nbc->backing_bdev; in sanitize_disk_conf()
1674 nbc->backing_bdev = bdev; in open_backing_devices()
1716 ldev->md_bdev != ldev->backing_bdev); in drbd_backing_dev_free()
1717 close_backing_dev(device, ldev->backing_bdev, device, true); in drbd_backing_dev_free()
1827 if ((nbc->backing_bdev == nbc->md_bdev) != in drbd_adm_attach()
1882 nbc->known_size = drbd_get_capacity(nbc->backing_bdev); in drbd_adm_attach()
2136 nbc->md_bdev != nbc->backing_bdev); in drbd_adm_attach()
[all …]
H A Ddrbd_req.c529 device->ldev->backing_bdev); in drbd_report_io_error()
1223 req->private_bio = bio_alloc_clone(device->ldev->backing_bdev, in drbd_request_prepare()
H A Ddrbd_receiver.c1284 struct bio *bio = bio_alloc(device->ldev->backing_bdev, 0, in submit_one_flush()
1515 struct block_device *bdev = device->ldev->backing_bdev; in drbd_issue_discard_or_zero_out()
1583 if (!bdev_max_discard_sectors(device->ldev->backing_bdev)) in can_do_reliable_discards()
1692 bio = bio_alloc(device->ldev->backing_bdev, nr_pages, peer_req->opf, GFP_NOIO); in drbd_submit_peer_request()
2758 struct gendisk *disk = device->ldev->backing_bdev->bd_disk; in drbd_rs_c_min_rate_throttle()
4201 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) { in receive_sizes()
4202 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in receive_sizes()
H A Ddrbd_worker.c1526 req->private_bio = bio_alloc_clone(device->ldev->backing_bdev, in w_restart_disk_io()
1679 struct gendisk *disk = device->ldev->backing_bdev->bd_disk; in drbd_rs_controller_reset()
H A Ddrbd_main.c931 struct block_device *bdev = device->ldev->backing_bdev; in drbd_send_sizes()