Documented in 1 files:

Defined in 4 files as a prototype:

Defined in 1 files as a member:

Defined in 7 files as a function:

Referenced in 13 files:

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