Home
last modified time | relevance | path

Searched refs:found_dev (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
H A 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()
H A Dvpci.c155 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
165 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()
H A Dpci_stub.c216 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev_by_slot() local
223 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() local
240 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev()
246 return found_dev; in pcistub_get_pci_dev()
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/
H A 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()
H A Dvpci.c155 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
165 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()
H A Dpci_stub.c215 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev_by_slot() local
222 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() local
239 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev()
245 return found_dev; in pcistub_get_pci_dev()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_scsi_host.c798 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() local
810 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() local
828 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() local
926 if (!found_dev) in sas_target_destroy()
930 sas_put_device(found_dev); in sas_target_destroy()
[all...]
H A Dsas_ata.c552 int sas_ata_init(struct domain_device *found_dev) in sas_ata_init() argument
554 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init()
575 ap->private_data = found_dev; in sas_ata_init()
586 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init()
587 found_dev->sata_dev.ap = ap; in sas_ata_init()
/kernel/linux/linux-6.6/drivers/scsi/libsas/
H A Dsas_scsi_host.c766 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() local
778 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() local
796 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() local
1209 if (!found_dev) in sas_target_destroy()
1213 sas_put_device(found_dev); in sas_target_destroy()
[all...]
H A Dsas_ata.c584 int sas_ata_init(struct domain_device *found_dev) in sas_ata_init() argument
586 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()
/third_party/vulkan-loader/loader/
H A Dloader.h165 struct loader_icd_term *loader_get_icd_and_device(const void *device, struct loader_device **found_dev, uint32_t *icd_index);
168 void loader_add_logical_device(struct loader_icd_term *icd_term, struct loader_device *found_dev);
169 void loader_remove_logical_device(struct loader_icd_term *icd_term, struct loader_device *found_dev,
H A Dloader.c1231 struct loader_icd_term *loader_get_icd_and_device(const void *device, struct loader_device **found_dev, uint32_t *icd_index) { in loader_get_icd_and_device() argument
1234 *found_dev = NULL; in loader_get_icd_and_device()
1238 *found_dev = NULL; in loader_get_icd_and_device()
1247 *found_dev = dev; in loader_get_icd_and_device()
1292 void loader_remove_logical_device(struct loader_icd_term *icd_term, struct loader_device *found_dev, in loader_remove_logical_device() argument
1296 if (!icd_term || !found_dev) return; in loader_remove_logical_device()
1300 while (dev && dev != found_dev) { in loader_remove_logical_device()
1306 prev_dev->next = found_dev->next; in loader_remove_logical_device()
1308 icd_term->logical_device_list = found_dev->next; in loader_remove_logical_device()
1309 loader_destroy_logical_device(found_dev, pAllocato in loader_remove_logical_device()
[all...]
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_xcopy.c89 struct se_device *found_dev = NULL; in target_xcopy_locate_se_dev_e4() local
110 found_dev = this_dev; in target_xcopy_locate_se_dev_e4()
115 if (found_dev == NULL) in target_xcopy_locate_se_dev_e4()
119 found_dev, &found_dev->dev_group); in target_xcopy_locate_se_dev_e4()
120 *_found_dev = found_dev; in target_xcopy_locate_se_dev_e4()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_xcopy.c76 struct se_device *found_dev = NULL; in target_xcopy_locate_se_dev_e4() local
97 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
H A Drepository.c393 goto found_dev; in ps3_repository_find_device_by_id()
401 found_dev: in ps3_repository_find_device_by_id()
/kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/
H A Drepository.c393 goto found_dev; in ps3_repository_find_device_by_id()
401 found_dev: in ps3_repository_find_device_by_id()
/third_party/vulkan-loader/loader/generated/
H A Dvk_loader_extensions.c41 struct loader_device *found_dev; in vkDevExtError() local
43 struct loader_icd_term *icd_term = loader_get_icd_and_device(dev, &found_dev, NULL); in vkDevExtError()

Completed in 39 milliseconds