Documented in 2 files:
Defined in 3 files as a prototype:
- drivers/pci/hotplug/acpiphp_core.c, line 51 (as a prototype)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 52 (as a prototype)
- drivers/pci/hotplug/shpchp_core.c, line 43 (as a prototype)
Defined in 1 files as a member:
Defined in 7 files as a function:
- drivers/pci/hotplug/acpiphp_core.c, line 117 (as a function)
- drivers/pci/hotplug/acpiphp_glue.c, line 482 (as a function)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 71 (as a function)
- drivers/pci/hotplug/ibmphp_core.c, line 893 (as a function)
- drivers/pci/hotplug/rpaphp_core.c, line 484 (as a function)
- drivers/pci/hotplug/s390_pci_hpc.c, line 22 (as a function)
- drivers/pci/hotplug/shpchp_core.c, line 155 (as a function)
Referenced in 12 files:
- drivers/pci/hotplug/acpiphp_core.c
- drivers/pci/hotplug/acpiphp_glue.c
- drivers/pci/hotplug/cpci_hotplug_core.c
- drivers/pci/hotplug/cpqphp_core.c, line 561
- drivers/pci/hotplug/ibmphp_core.c
- drivers/pci/hotplug/octep_hp.c, line 126
- drivers/pci/hotplug/pci_hotplug_core.c
- drivers/pci/hotplug/pciehp_core.c, line 62
- drivers/pci/hotplug/pnv_php.c, line 751
- drivers/pci/hotplug/rpaphp_core.c
- drivers/pci/hotplug/s390_pci_hpc.c
- drivers/pci/hotplug/shpchp_core.c
Smatch caller information:
drivers/pci/hotplug/acpiphp_glue.c acpiphp_check_bridge() -> enable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | bridge | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_enable_slot() -> enable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 1 | bridge | 0 |
| DATA_SOURCE | 0 | slot | $0 |
| BIT_INFO | 0 | slot->flags | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/acpiphp_glue.c hotplug_event() -> enable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 1 | bridge | 0 |
| BIT_INFO | 0 | slot->flags | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &acpi_scan_lock | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/pci/hotplug/pci_hotplug_core.c power_write_file() -> (struct hotplug_slot_ops)->enable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ops->enable_slot | 1-u64max |
| CONTAINER | 0 | -0-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |