Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/
Dstorvsc_drv.c515 struct storvsc_device *stor_device; in get_out_stor_device() local
517 stor_device = hv_get_drvdata(device); in get_out_stor_device()
519 if (stor_device && stor_device->destroy) in get_out_stor_device()
520 stor_device = NULL; in get_out_stor_device()
522 return stor_device; in get_out_stor_device()
537 struct storvsc_device *stor_device; in get_in_stor_device() local
539 stor_device = hv_get_drvdata(device); in get_in_stor_device()
541 if (!stor_device) in get_in_stor_device()
549 if (stor_device->destroy && in get_in_stor_device()
550 (atomic_read(&stor_device->num_outstanding_req) == 0)) in get_in_stor_device()
[all …]