Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dstorvsc_drv.c581 struct storvsc_device *stor_device; in get_out_stor_device() local
583 stor_device = hv_get_drvdata(device); in get_out_stor_device()
585 if (stor_device && stor_device->destroy) in get_out_stor_device()
586 stor_device = NULL; in get_out_stor_device()
588 return stor_device; in get_out_stor_device()
603 struct storvsc_device *stor_device; in get_in_stor_device() local
605 stor_device = hv_get_drvdata(device); in get_in_stor_device()
607 if (!stor_device) in get_in_stor_device()
615 if (stor_device->destroy && in get_in_stor_device()
616 (atomic_read(&stor_device->num_outstanding_req) == 0)) in get_in_stor_device()
[all …]