Documented in 1 files:
Defined in 4 files as a prototype:
- drivers/pci/hotplug/acpiphp_core.c, line 56 (as a prototype)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 58 (as a prototype)
- drivers/pci/hotplug/pciehp_core.c, line 48 (as a prototype)
- drivers/pci/hotplug/shpchp_core.c, line 47 (as a prototype)
Defined in 1 files as a member:
Defined in 6 files as a function:
- drivers/pci/hotplug/acpiphp_core.c, line 224 (as a function)
- drivers/pci/hotplug/cpci_hotplug_core.c, line 160 (as a function)
- drivers/pci/hotplug/cpqphp_core.c, line 535 (as a function)
- drivers/pci/hotplug/ibmphp_core.c, line 281 (as a function)
- drivers/pci/hotplug/pciehp_core.c, line 129 (as a function)
- drivers/pci/hotplug/shpchp_core.c, line 205 (as a function)
Referenced in 7 files:
- 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/shpchp_core.c
Smatch caller information:
drivers/pci/hotplug/shpchp_core.c init_slots() -> get_latch_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 latch_read_file() -> get_latch_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 8403173062058979328 |
| 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_latch_status() -> (struct hotplug_slot_ops)->get_latch_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_latch_status | 1-u64max |
| PARAM_VALUE | 1 | value | 8403173062058979328 |
| 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 |