Lines Matching refs:found_psdev
261 struct pcistub_device *psdev, *found_psdev = NULL; in pcistub_put_pci_dev() local
270 found_psdev = psdev; in pcistub_put_pci_dev()
276 if (WARN_ON(!found_psdev)) in pcistub_put_pci_dev()
309 spin_lock_irqsave(&found_psdev->lock, flags); in pcistub_put_pci_dev()
310 found_psdev->pdev = NULL; in pcistub_put_pci_dev()
311 spin_unlock_irqrestore(&found_psdev->lock, flags); in pcistub_put_pci_dev()
313 pcistub_device_put(found_psdev); in pcistub_put_pci_dev()
602 struct pcistub_device *psdev, *found_psdev = NULL; in pcistub_remove() local
613 found_psdev = psdev; in pcistub_remove()
620 if (found_psdev) { in pcistub_remove()
622 found_psdev->pdev ? "- in-use" : ""); in pcistub_remove()
624 if (found_psdev->pdev) { in pcistub_remove()
628 pci_name(found_psdev->dev), domid); in pcistub_remove()
635 xen_pcibk_release_pci_dev(found_psdev->pdev, in pcistub_remove()
636 found_psdev->dev, in pcistub_remove()
641 list_del(&found_psdev->dev_list); in pcistub_remove()
645 pcistub_device_put(found_psdev); in pcistub_remove()