Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/
Dstorvsc_drv.c554 struct storvsc_device *stor_device; in get_out_stor_device() local
556 stor_device = hv_get_drvdata(device); in get_out_stor_device()
558 if (stor_device && stor_device->destroy) in get_out_stor_device()
559 stor_device = NULL; in get_out_stor_device()
561 return stor_device; in get_out_stor_device()
576 struct storvsc_device *stor_device; in get_in_stor_device() local
578 stor_device = hv_get_drvdata(device); in get_in_stor_device()
580 if (!stor_device) in get_in_stor_device()
588 if (stor_device->destroy && in get_in_stor_device()
589 (atomic_read(&stor_device->num_outstanding_req) == 0)) in get_in_stor_device()
[all …]