Documented in 1 files:
Defined in 4 files as a prototype:
- drivers/pci/hotplug/acpiphp_core.c, line 57 (as a prototype)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 57 (as a prototype)
- drivers/pci/hotplug/pciehp_core.c, line 49 (as a prototype)
- drivers/pci/hotplug/shpchp_core.c, line 48 (as a prototype)
Defined in 1 files as a member:
Defined in 7 files as a function:
- drivers/pci/hotplug/acpiphp_core.c, line 244 (as a function)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 151 (as a function)
- drivers/pci/hotplug/cpqphp_core.c, line 547 (as a function)
- drivers/pci/hotplug/pciehp_core.c, line 140 (as a function)
- drivers/pci/hotplug/rpaphp_core.c, line 104 (as a function)
- drivers/pci/hotplug/s390_pci_hpc.c, line 111 (as a function)
- drivers/pci/hotplug/shpchp_core.c, line 220 (as a function)
Referenced in 13 files:
- arch/powerpc/kernel/eeh_driver.c
- drivers/pci/hotplug/acpiphp_core.c
- drivers/pci/hotplug/cpci_hotplug_core.c
- drivers/pci/hotplug/cpqphp_core.c
- drivers/pci/hotplug/ibmphp_core.c, line 1162
- drivers/pci/hotplug/pci_hotplug_core.c
- drivers/pci/hotplug/pciehp_core.c
- drivers/pci/hotplug/pnv_php.c, line 748
- drivers/pci/hotplug/rpaphp_core.c
- drivers/pci/hotplug/s390_pci_hpc.c
- drivers/pci/hotplug/shpchp_core.c
- drivers/platform/x86/asus-wmi.c, line 2356
- drivers/platform/x86/eeepc-laptop.c, line 720
Smatch caller information:
drivers/pci/hotplug/shpchp_core.c init_slots() -> get_adapter_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| PARAM_VALUE | 0 | hotplug_slot->mod_name | 6224577605160603648 |
| PARAM_VALUE | 0 | hotplug_slot->ops | 5944549635998564352 |
| PARAM_VALUE | 0 | hotplug_slot->ops->disable_slot | 0 |
| PARAM_VALUE | 0 | hotplug_slot->ops->enable_slot | 0 |
| PARAM_VALUE | 0 | hotplug_slot->ops->get_attention_status | 0 |
| PARAM_VALUE | 0 | hotplug_slot->ops->get_power_status | 0 |
| PARAM_VALUE | 0 | hotplug_slot->ops->set_attention_status | 0 |
| PARAM_VALUE | 0 | hotplug_slot->owner | 0 |
| PARAM_VALUE | 0 | hotplug_slot->pci_slot | 4096-ptr_max |
| PARAM_VALUE | 0 | hotplug_slot->pci_slot->kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | hotplug_slot->pci_slot->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hotplug_slot->pci_slot->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | value | 4096-ptr_max |
| BUF_SIZE | 0 | hotplug_slot | 32 |
| BUF_SIZE | 0 | hotplug_slot->ops | 72 |
| STR_LEN | 0 | hotplug_slot->mod_name | (-1) |
| TERMINATED | 0 | hotplug_slot->mod_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hotplug_slot->pci_slot->number | 0-61[c] |
drivers/pci/hotplug/pci_hotplug_core.c presence_read_file() -> get_adapter_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 1529015738426724352 |
| 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/hotplug/pci_hotplug_core.c get_adapter_status() -> (struct hotplug_slot_ops)->get_adapter_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| PARAM_VALUE | 0 | hotplug_slot->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | hotplug_slot->ops->get_adapter_status | 1-u64max |
| PARAM_VALUE | 1 | value | 1529015738426724352 |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| DATA_SOURCE | 1 | value | $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 |