Searched refs:vdisk (Results 1 – 7 of 7) sorted by relevance
/drivers/block/drbd/ |
D | drbd_int.h | 79 dev_printk(level, disk_to_dev((device)->vdisk), fmt, ## args) 81 dev_printk(level, disk_to_dev((peer_device)->device->vdisk), fmt, ## args) 123 dynamic_dev_dbg(disk_to_dev(device->vdisk), fmt, ## args) 840 struct gendisk *vdisk; member
|
D | drbd_main.c | 975 p->c_size = cpu_to_be64(get_capacity(device->vdisk)); in drbd_send_sizes() 2001 set_capacity_and_notify(device->vdisk, size); in drbd_set_my_capacity() 2032 set_capacity_and_notify(device->vdisk, 0); in drbd_device_cleanup() 2210 put_disk(device->vdisk); in drbd_destroy_device() 2703 device->vdisk = disk; in drbd_create_device() 2836 del_gendisk(device->vdisk); in drbd_delete_device() 2992 buffer->la_size_sect = cpu_to_be64(get_capacity(device->vdisk)); in drbd_md_write() 3050 device->ldev->md.la_size_sect = get_capacity(device->vdisk); in drbd_md_sync()
|
D | drbd_nl.c | 752 set_disk_ro(device->vdisk, new_role == R_SECONDARY); in drbd_set_role() 753 kobject_uevent(&disk_to_dev(device->vdisk)->kobj, KOBJ_CHANGE); in drbd_set_role() 1002 if (get_capacity(device->vdisk) != size || in drbd_determine_dev_size() 1288 disk_update_readahead(device->vdisk); in drbd_setup_queue_param() 1641 err = bd_link_disk_holder(bdev, device->vdisk); in open_backing_dev() 1690 bd_unlink_disk_holder(bdev, device->vdisk); in close_backing_dev() 1860 if (drbd_get_max_capacity(nbc) < get_capacity(device->vdisk)) { in drbd_adm_attach() 2099 kobject_uevent(&disk_to_dev(device->vdisk)->kobj, KOBJ_CHANGE); in drbd_adm_attach() 3303 s->dev_size = get_capacity(device->vdisk); in device_to_statistics() 3743 nla_put_u64_0pad(skb, T_capacity, get_capacity(device->vdisk)) || in nla_put_status_info()
|
D | drbd_worker.c | 589 const sector_t capacity = get_capacity(device->vdisk); in make_resync_request() 767 const sector_t capacity = get_capacity(device->vdisk); in make_ov_request()
|
D | drbd_actlog.c | 868 nr_sectors = get_capacity(device->vdisk); in __drbd_change_sync()
|
D | drbd_receiver.c | 1829 const sector_t capacity = get_capacity(device->vdisk); in read_in_block() 2799 capacity = get_capacity(device->vdisk); in receive_DataRequest() 4062 cur_size = get_capacity(device->vdisk); in receive_sizes() 4195 if (be64_to_cpu(p->c_size) != get_capacity(device->vdisk) || in receive_sizes()
|
D | drbd_req.c | 901 nr_sectors = get_capacity(device->vdisk); in drbd_may_do_local_read()
|