Documented in 2 files:
Defined in 3 files as a prototype:
- drivers/pci/hotplug/acpiphp_core.c, line 52 (as a prototype)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 53 (as a prototype)
- drivers/pci/hotplug/shpchp_core.c, line 44 (as a prototype)
Defined in 1 files as a member:
Defined in 6 files as a function:
- drivers/pci/hotplug/acpiphp_core.c, line 134 (as a function)
- drivers/pci/hotplug/acpiphp_glue.c, line 553 (as a function)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 81 (as a function)
- drivers/pci/hotplug/rpaphp_core.c, line 516 (as a function)
- drivers/pci/hotplug/s390_pci_hpc.c, line 46 (as a function)
- drivers/pci/hotplug/shpchp_core.c, line 165 (as a function)
Referenced in 13 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 562
- drivers/pci/hotplug/ibmphp_core.c, line 1157
- drivers/pci/hotplug/octep_hp.c, line 127
- drivers/pci/hotplug/pci_hotplug_core.c
- drivers/pci/hotplug/pciehp_core.c, line 63
- drivers/pci/hotplug/pnv_php.c, line 752
- drivers/pci/hotplug/rpaphp_core.c
- drivers/pci/hotplug/s390_pci_hpc.c
- drivers/pci/hotplug/shpchp_core.c
- drivers/usb/host/xhci.c
Smatch caller information:
drivers/pci/hotplug/acpiphp_glue.c acpiphp_check_bridge() -> disable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->bus | 4096-ptr_max |
| 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_disable_and_eject_slot() -> disable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| DATA_SOURCE | 0 | slot | $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 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/hotplug/pci_hotplug_core.c power_write_file() -> (struct hotplug_slot_ops)->disable_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->disable_slot | 1-u64max |
| CONTAINER | 0 | -8-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 |