Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_int.h79 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
Ddrbd_main.c975 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()
Ddrbd_nl.c752 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()
Ddrbd_worker.c589 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()
Ddrbd_actlog.c868 nr_sectors = get_capacity(device->vdisk); in __drbd_change_sync()
Ddrbd_receiver.c1829 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()
Ddrbd_req.c901 nr_sectors = get_capacity(device->vdisk); in drbd_may_do_local_read()