Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/powerpc/kernel/pci-hotplug.c
- drivers/pci/hotplug/acpiphp_glue.c
- drivers/pci/probe.c
- drivers/pcmcia/cardbus.c, line 79
Smatch caller information:
drivers/pcmcia/cardbus.c cb_alloc() -> pci_scan_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->self->link_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->hdr_type | 1-2 |
| PARAM_VALUE | 3 | pass | 0-1 |
| CAPPED_DATA | 0 | &bus->devices | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &s->ops_mutex | ||
| HALF_LOCKED2 | &s->skt_mutex |
drivers/pci/hotplug/acpiphp_glue.c acpiphp_native_scan_bridge() -> pci_scan_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->hdr_type | 1-2 |
| PARAM_VALUE | 1 | dev->shpc_managed | 0 |
| PARAM_VALUE | 3 | pass | 0 |
| CAPPED_DATA | 0 | &bus->devices | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &acpi_scan_lock | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/pci/hotplug/acpiphp_glue.c acpiphp_native_scan_bridge() -> pci_scan_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->hdr_type | 1-2 |
| PARAM_VALUE | 1 | dev->shpc_managed | 0 |
| PARAM_VALUE | 3 | pass | 1 |
| CAPPED_DATA | 0 | &bus->devices | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &acpi_scan_lock | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/pci/hotplug/acpiphp_glue.c enable_slot() -> pci_scan_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->hdr_type | 1-2 |
| PARAM_VALUE | 3 | pass | 0-1 |
| CAPPED_DATA | 0 | &bus->devices | 1 |
| FUZZY_MAX | 3 | pass | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock |
drivers/pci/probe.c pci_hp_add_bridge() -> pci_scan_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->hdr_type | 1-2 |
| PARAM_VALUE | 3 | pass | 0 |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &ctrl->reset_lock | ||
| HALF_LOCKED2 | &p_slot->ctrl->crit_sect | ||
| HALF_LOCKED2 | global &list_rwsem |