Lines Matching refs:found_psdev
260 struct pcistub_device *psdev, *found_psdev = NULL; in pcistub_put_pci_dev() local
269 found_psdev = psdev; in pcistub_put_pci_dev()
275 if (WARN_ON(!found_psdev)) in pcistub_put_pci_dev()
308 spin_lock_irqsave(&found_psdev->lock, flags); in pcistub_put_pci_dev()
309 found_psdev->pdev = NULL; in pcistub_put_pci_dev()
310 spin_unlock_irqrestore(&found_psdev->lock, flags); in pcistub_put_pci_dev()
312 pcistub_device_put(found_psdev); in pcistub_put_pci_dev()
601 struct pcistub_device *psdev, *found_psdev = NULL; in pcistub_remove() local
612 found_psdev = psdev; in pcistub_remove()
619 if (found_psdev) { in pcistub_remove()
621 found_psdev->pdev ? "- in-use" : ""); in pcistub_remove()
623 if (found_psdev->pdev) { in pcistub_remove()
627 pci_name(found_psdev->dev), domid); in pcistub_remove()
634 xen_pcibk_release_pci_dev(found_psdev->pdev, in pcistub_remove()
635 found_psdev->dev, in pcistub_remove()
640 list_del(&found_psdev->dev_list); in pcistub_remove()
644 pcistub_device_put(found_psdev); in pcistub_remove()