Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/xen/xen-pciback/
Dpassthrough.c77 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
84 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()
Dvpci.c153 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
163 found_dev = e->dev; in __xen_pcibk_release_pci_dev()
173 if (found_dev) { in __xen_pcibk_release_pci_dev()
175 device_lock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
176 pcistub_put_pci_dev(found_dev); in __xen_pcibk_release_pci_dev()
178 device_unlock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
Dpci_stub.c214 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev_by_slot() local
221 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev_by_slot()
224 return found_dev; in pcistub_get_pci_dev_by_slot()
231 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev() local
238 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev()
244 return found_dev; in pcistub_get_pci_dev()
/Linux-v4.19/drivers/scsi/libsas/
Dsas_scsi_host.c822 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() local
834 found_dev = dev; in sas_find_dev_by_rphy()
844 return found_dev; in sas_find_dev_by_rphy()
850 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy); in sas_target_alloc() local
852 if (!found_dev) in sas_target_alloc()
855 kref_get(&found_dev->kref); in sas_target_alloc()
856 starget->hostdata = found_dev; in sas_target_alloc()
947 struct domain_device *found_dev = starget->hostdata; in sas_target_destroy() local
949 if (!found_dev) in sas_target_destroy()
953 sas_put_device(found_dev); in sas_target_destroy()
Dsas_ata.c551 int sas_ata_init(struct domain_device *found_dev) in sas_ata_init() argument
553 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init()
574 ap->private_data = found_dev; in sas_ata_init()
585 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init()
586 found_dev->sata_dev.ap = ap; in sas_ata_init()
/Linux-v4.19/drivers/target/
Dtarget_core_xcopy.c60 struct se_device *found_dev; member
80 info->found_dev = se_dev; in target_xcopy_locate_se_dev_e4_iter()
96 struct se_device **found_dev) in target_xcopy_locate_se_dev_e4() argument
106 *found_dev = info.found_dev; in target_xcopy_locate_se_dev_e4()
/Linux-v4.19/arch/powerpc/platforms/ps3/
Drepository.c405 goto found_dev; in ps3_repository_find_device_by_id()
413 found_dev: in ps3_repository_find_device_by_id()