Searched refs:found_dev (Results 1 – 7 of 7) sorted by relevance
77 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local84 found_dev = dev_entry->dev; in __xen_pcibk_release_pci_dev()91 if (found_dev) { in __xen_pcibk_release_pci_dev()93 device_lock(&found_dev->dev); in __xen_pcibk_release_pci_dev()94 pcistub_put_pci_dev(found_dev); in __xen_pcibk_release_pci_dev()96 device_unlock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
155 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local165 found_dev = e->dev; in __xen_pcibk_release_pci_dev()175 if (found_dev) { in __xen_pcibk_release_pci_dev()177 device_lock(&found_dev->dev); in __xen_pcibk_release_pci_dev()178 pcistub_put_pci_dev(found_dev); in __xen_pcibk_release_pci_dev()180 device_unlock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
216 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev_by_slot() local223 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev_by_slot()226 return found_dev; in pcistub_get_pci_dev_by_slot()233 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev() local240 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev()246 return found_dev; in pcistub_get_pci_dev()
798 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() local810 found_dev = dev; in sas_find_dev_by_rphy()820 return found_dev; in sas_find_dev_by_rphy()826 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy); in sas_target_alloc() local828 if (!found_dev) in sas_target_alloc()831 kref_get(&found_dev->kref); in sas_target_alloc()832 starget->hostdata = found_dev; in sas_target_alloc()924 struct domain_device *found_dev = starget->hostdata; in sas_target_destroy() local926 if (!found_dev) in sas_target_destroy()930 sas_put_device(found_dev); in sas_target_destroy()
546 int sas_ata_init(struct domain_device *found_dev) in sas_ata_init() argument548 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init()569 ap->private_data = found_dev; in sas_ata_init()580 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init()581 found_dev->sata_dev.ap = ap; in sas_ata_init()
76 struct se_device *found_dev = NULL; in target_xcopy_locate_se_dev_e4() local97 found_dev = this_dev; in target_xcopy_locate_se_dev_e4()102 if (found_dev == NULL) in target_xcopy_locate_se_dev_e4()106 found_dev, &found_dev->dev_group); in target_xcopy_locate_se_dev_e4()107 *_found_dev = found_dev; in target_xcopy_locate_se_dev_e4()
393 goto found_dev; in ps3_repository_find_device_by_id()401 found_dev: in ps3_repository_find_device_by_id()