Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 31 files:
- arch/arm/kernel/bios32.c, line 574
- arch/loongarch/pci/acpi.c, line 249
- arch/mips/pci/pci-generic.c, line 35
- arch/x86/pci/fixup.c, line 316
- drivers/acpi/apei/einj-cxl.c, line 57
- drivers/acpi/arm64/iort.c, line 1096
- drivers/cxl/pci.c, line 784
- drivers/iommu/dma-iommu.c, line 510
- drivers/mfd/ioc3.c, line 127
- drivers/pci/controller/cadence/pcie-cadence-host-hpa.c, line 29
- drivers/pci/controller/cadence/pcie-cadence-host.c, line 26
- drivers/pci/controller/pci-loongson.c, line 127
- drivers/pci/controller/vmd.c
- drivers/pci/host-bridge.c
- drivers/pci/hotplug/acpi_pcihp.c, line 81
- drivers/pci/hotplug/pciehp_core.c, line 260
- drivers/pci/ide.c
- drivers/pci/irq.c, line 147
- drivers/pci/p2pdma.c
- drivers/pci/pci-acpi.c
- drivers/pci/pci.c
- drivers/pci/pcie/aer.c
- drivers/pci/pcie/aer_cxl_rch.c, line 32
- drivers/pci/pcie/aspm.c, line 1245
- drivers/pci/pcie/dpc.c, line 114
- drivers/pci/pcie/err.c, line 217
- drivers/pci/pcie/portdrv.c, line 220
- drivers/pci/probe.c
- drivers/pci/quirks.c, line 5625
- drivers/pci/rebar.c, line 304
- drivers/pci/setup-bus.c, line 1836
Smatch caller information:
drivers/pci/setup-bus.c pci_realloc_detect() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/vmd.c vmd_acpi_find_companion() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pci_acpi_companion_lookup_sem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/controller/vmd.c vmd_enable_domain() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/irq.c pci_assign_irq() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/pcie/aer.c aer_root_reset() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/pcie/aer.c pcie_aer_is_native() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
drivers/pci/hotplug/pciehp_core.c pme_is_native() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|
drivers/pci/pcie/err.c pcie_do_recovery() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/ide.c pci_ide_init() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/ide.c pci_ide_stream_alloc() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/ide.c pci_ide_stream_free() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/ide.c pci_ide_stream_register() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/ide.c pci_ide_stream_unregister() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/pci/controller/pci-loongson.c loongson_mrrs_quirk() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|
drivers/pci/rebar.c pci_resize_resource() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
arch/x86/pci/fixup.c pci_xeon_x2_bifurc_quirk() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|
drivers/acpi/apei/einj-cxl.c cxl_dport_get_sbdf() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/iommu/dma-iommu.c iova_reserve_pci_windows() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &group->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex |
drivers/pci/p2pdma.c host_bridge_whitelist() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/p2pdma.c host_bridge_whitelist() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/probe.c pci_alloc_child_bus() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BUF_SIZE | 0 | bus | (-1)-0,1904 |
| BUF_SIZE | 0 | bus | (-1)-0,1904 |
| DATA_SOURCE | 0 | bus | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->self->bus->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/probe.c pci_configure_extended_tags() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
drivers/cxl/pci.c cxl_pci_probe() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/cadence/pcie-cadence-host.c cdns_pci_map_bus() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BUF_SIZE | 0 | bus | (-1),88,1904,1984-3064,3712 |
| BUF_SIZE | 0 | bus | (-1),88,1904,1984-3064,3712 |
| CAPPED_DATA | 0 | bus | 1 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | bus->dev.p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 0 | bus->dev.physical_location | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &inject_lock | ||
| HALF_LOCKED2 | global &pci_lock | ||
| HALF_LOCKED2 | irq |
drivers/pci/host-bridge.c pcibios_bus_to_resource() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bus | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pf_dev->dev.mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/host-bridge.c pcibios_resource_to_bus() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bus | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &image->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/pci/controller/cadence/pcie-cadence-host-hpa.c cdns_pci_hpa_map_bus() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BUF_SIZE | 0 | bus | (-1),88,1904,1984-3064,3712 |
| BUF_SIZE | 0 | bus | (-1),88,1904,1984-3064,3712 |
| CAPPED_DATA | 0 | bus | 1 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | bus->dev.p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 0 | bus->dev.physical_location | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &inject_lock | ||
| HALF_LOCKED2 | global &pci_lock | ||
| HALF_LOCKED2 | irq |
drivers/pci/hotplug/acpi_pcihp.c acpi_get_hp_hw_control_from_firmware() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/pci/pcie/aspm.c pci_configure_ltr() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/pci.c pci_host_bridge_disable_device() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
drivers/pci/pci.c pci_host_bridge_enable_device() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &dev->dev.mutex |
drivers/pci/pci.c pci_suspend_retains_context() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fsm->lock |
drivers/pci/pci.c pcibios_reset_secondary_bus() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctrl->reset_lock |
drivers/pci/pci.c pcie_set_readrq() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &alx->mtx | ||
| HALF_LOCKED2 | global &mthca_device_mutex |
drivers/pci/pci-acpi.c acpi_pci_add_bus() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->parent | 0 |
| BUF_SIZE | 0 | bus | 1904 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->busn_res.start | 0-16777470[c] |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
drivers/pci/pci-acpi.c pci_acpi_optimize_delay() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|
drivers/pci/pci-acpi.c pciehp_is_native() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
drivers/pci/pci-acpi.c program_hpx_type2() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/pcie/aer_cxl_rch.c cxl_error_is_native() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_bus_sem |
drivers/pci/quirks.c quirk_no_ext_tags() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|
drivers/pci/pcie/portdrv.c get_port_device_capability() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/pcie/dpc.c pci_dpc_recovered() -> pci_find_host_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |