Searched refs:vdisk (Results 1 – 7 of 7) sorted by relevance
979 p->c_size = cpu_to_be64(get_capacity(device->vdisk)); in drbd_send_sizes()2013 set_capacity_and_notify(device->vdisk, size); in drbd_set_my_capacity()2044 set_capacity_and_notify(device->vdisk, 0); in drbd_device_cleanup()2222 put_disk(device->vdisk); in drbd_destroy_device()2715 device->vdisk = disk; in drbd_create_device()2848 del_gendisk(device->vdisk); in drbd_delete_device()3004 buffer->la_size_sect = cpu_to_be64(get_capacity(device->vdisk)); in drbd_md_write()3062 device->ldev->md.la_size_sect = get_capacity(device->vdisk); in drbd_md_sync()
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()1300 disk_update_readahead(device->vdisk); in drbd_setup_queue_param()1655 err = bd_link_disk_holder(bdev, device->vdisk); in open_backing_dev()1704 bd_unlink_disk_holder(bdev, device->vdisk); in close_backing_dev()1877 if (drbd_get_max_capacity(nbc) < get_capacity(device->vdisk)) { in drbd_adm_attach()2118 kobject_uevent(&disk_to_dev(device->vdisk)->kobj, KOBJ_CHANGE); in drbd_adm_attach()3326 s->dev_size = get_capacity(device->vdisk); in device_to_statistics()3766 nla_put_u64_0pad(skb, T_capacity, get_capacity(device->vdisk)) || in nla_put_status_info()
591 const sector_t capacity = get_capacity(device->vdisk); in make_resync_request()770 const sector_t capacity = get_capacity(device->vdisk); in make_ov_request()
870 nr_sectors = get_capacity(device->vdisk); in __drbd_change_sync()
1851 const sector_t capacity = get_capacity(device->vdisk); in read_in_block()2817 capacity = get_capacity(device->vdisk); in receive_DataRequest()4077 cur_size = get_capacity(device->vdisk); in receive_sizes()4210 if (be64_to_cpu(p->c_size) != get_capacity(device->vdisk) || in receive_sizes()
905 nr_sectors = get_capacity(device->vdisk); in drbd_may_do_local_read()
774 struct gendisk *vdisk; member