Documented in 2 files:
Defined in 4 files as a prototype:
- drivers/pci/hotplug/acpiphp_core.c, line 54 (as a prototype)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 55 (as a prototype)
- drivers/pci/hotplug/pciehp_core.c, line 47 (as a prototype)
- drivers/pci/hotplug/shpchp_core.c, line 45 (as a prototype)
Defined in 2 files as a member:
Defined in 8 files as a function:
- drivers/pci/hotplug/acpiphp_core.c, line 178 (as a function)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 127 (as a function)
- drivers/pci/hotplug/cpqphp_core.c, line 513 (as a function)
- drivers/pci/hotplug/ibmphp_core.c, line 306 (as a function)
- drivers/pci/hotplug/pciehp_core.c, line 118 (as a function)
- drivers/pci/hotplug/rpaphp_core.c, line 81 (as a function)
- drivers/pci/hotplug/s390_pci_hpc.c, line 102 (as a function)
- drivers/pci/hotplug/shpchp_core.c, line 175 (as a function)
Referenced in 14 files:
- drivers/misc/enclosure.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
- drivers/pci/hotplug/pci_hotplug_core.c
- drivers/pci/hotplug/pciehp_core.c
- drivers/pci/hotplug/pnv_php.c, line 747
- 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 2357
- drivers/platform/x86/eeepc-laptop.c, line 721
- drivers/scsi/ses.c, line 437
Smatch caller information:
drivers/pci/hotplug/shpchp_core.c init_slots() -> get_power_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 power_read_file() -> get_power_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 1184873278120054784 |
| 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_power_status() -> (struct hotplug_slot_ops)->get_power_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_power_status | 1-u64max |
| PARAM_VALUE | 1 | value | 1184873278120054784 |
| 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 |