Documented in 2 files:
Defined in 3 files as a prototype:
- drivers/pci/hotplug/acpiphp_core.c, line 55 (as a prototype)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 56 (as a prototype)
- drivers/pci/hotplug/shpchp_core.c, line 46 (as a prototype)
Defined in 1 files as a member:
Defined in 7 files as a function:
- drivers/pci/hotplug/acpiphp_ampere_altra.c, line 75 (as a function)
- drivers/pci/hotplug/acpiphp_core.c, line 200 (as a function)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 136 (as a function)
- drivers/pci/hotplug/cpqphp_core.c, line 524 (as a function)
- drivers/pci/hotplug/ibmphp_core.c, line 254 (as a function)
- drivers/pci/hotplug/rpaphp_core.c, line 97 (as a function)
- drivers/pci/hotplug/shpchp_core.c, line 190 (as a function)
Referenced in 10 files:
- drivers/pci/hotplug/acpiphp_ampere_altra.c, line 82
- 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 749
- drivers/pci/hotplug/rpaphp_core.c
- drivers/pci/hotplug/shpchp_core.c
Smatch caller information:
drivers/pci/hotplug/shpchp_core.c init_slots() -> get_attention_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 attention_read_file() -> get_attention_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 6755827295062552576 |
| 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_attention_status() -> (struct hotplug_slot_ops)->get_attention_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_attention_status | 1-u64max |
| PARAM_VALUE | 1 | value | 6755827295062552576 |
| 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 |