Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/unisys/visorhba/
Dvisorhba_main.c372 struct visordisk_info *vdisk; in visorhba_abort_handler() local
376 vdisk = scsidev->hostdata; in visorhba_abort_handler()
377 if (atomic_read(&vdisk->error_count) < VISORHBA_ERROR_COUNT) in visorhba_abort_handler()
378 atomic_inc(&vdisk->error_count); in visorhba_abort_handler()
380 atomic_set(&vdisk->ios_threshold, IOS_ERROR_THRESHOLD); in visorhba_abort_handler()
399 struct visordisk_info *vdisk; in visorhba_device_reset_handler() local
403 vdisk = scsidev->hostdata; in visorhba_device_reset_handler()
404 if (atomic_read(&vdisk->error_count) < VISORHBA_ERROR_COUNT) in visorhba_device_reset_handler()
405 atomic_inc(&vdisk->error_count); in visorhba_device_reset_handler()
407 atomic_set(&vdisk->ios_threshold, IOS_ERROR_THRESHOLD); in visorhba_device_reset_handler()
[all …]
/Linux-v5.4/drivers/staging/unisys/include/
Diochannel.h226 void *vdisk; member
/Linux-v5.4/drivers/block/drbd/
Ddrbd_int.h80 dev_printk(level, disk_to_dev((device)->vdisk), fmt, ## args)
82 dev_printk(level, disk_to_dev((peer_device)->device->vdisk), fmt, ## args)
124 dynamic_dev_dbg(disk_to_dev(device->vdisk), fmt, ## args)
845 struct gendisk *vdisk; member
Ddrbd_req.c30 req->i.size >> 9, &device->vdisk->part0); in _drbd_start_io_acct()
39 &device->vdisk->part0, req->start_jif); in _drbd_end_io_acct()
Ddrbd_main.c2034 set_capacity(device->vdisk, size); in _drbd_set_my_capacity()
2255 put_disk(device->vdisk); in drbd_destroy_device()
2813 device->vdisk = disk; in drbd_create_device()
2951 del_gendisk(device->vdisk); in drbd_delete_device()
Ddrbd_nl.c753 set_disk_ro(device->vdisk, new_role == R_SECONDARY); in drbd_set_role()
754 kobject_uevent(&disk_to_dev(device->vdisk)->kobj, KOBJ_CHANGE); in drbd_set_role()
1725 err = bd_link_disk_holder(bdev, device->vdisk); in open_backing_dev()
1774 bd_unlink_disk_holder(bdev, device->vdisk); in close_backing_dev()
2184 kobject_uevent(&disk_to_dev(device->vdisk)->kobj, KOBJ_CHANGE); in drbd_adm_attach()