Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dstorvsc_drv.c557 struct storvsc_device *stor_device; in get_out_stor_device() local
559 stor_device = hv_get_drvdata(device); in get_out_stor_device()
561 if (stor_device && stor_device->destroy) in get_out_stor_device()
562 stor_device = NULL; in get_out_stor_device()
564 return stor_device; in get_out_stor_device()
579 struct storvsc_device *stor_device; in get_in_stor_device() local
581 stor_device = hv_get_drvdata(device); in get_in_stor_device()
583 if (!stor_device) in get_in_stor_device()
591 if (stor_device->destroy && in get_in_stor_device()
592 (atomic_read(&stor_device->num_outstanding_req) == 0)) in get_in_stor_device()
[all …]