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()
215 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev_by_slot() local222 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev_by_slot()225 return found_dev; in pcistub_get_pci_dev_by_slot()232 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev() local239 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev()245 return found_dev; in pcistub_get_pci_dev()
766 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() local778 found_dev = dev; in sas_find_dev_by_rphy()788 return found_dev; in sas_find_dev_by_rphy()794 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy); in sas_target_alloc() local796 if (!found_dev) in sas_target_alloc()799 kref_get(&found_dev->kref); in sas_target_alloc()800 starget->hostdata = found_dev; in sas_target_alloc()1207 struct domain_device *found_dev = starget->hostdata; in sas_target_destroy() local1209 if (!found_dev) in sas_target_destroy()1213 sas_put_device(found_dev); in sas_target_destroy()
584 int sas_ata_init(struct domain_device *found_dev) in sas_ata_init() argument586 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init()607 ap->private_data = found_dev; in sas_ata_init()615 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init()616 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()