Documented in 2 files:

Defined in 3 files as a prototype:

Defined in 1 files as a member:

Defined in 7 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/pci/hotplug/acpiphp_glue.c acpiphp_check_bridge() -> enable_slot()

Type Parameter Key Value
PARAM_VALUE 0 slot 4096-ptr_max
PARAM_VALUE 0 slot->bus 4096-ptr_max
PARAM_VALUE 1 bridge 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &acpi_scan_lock
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/pci/hotplug/acpiphp_glue.c acpiphp_enable_slot() -> enable_slot()

Type Parameter Key Value
PARAM_VALUE 0 slot 4096-ptr_max
PARAM_VALUE 1 bridge 0
DATA_SOURCE 0 slot $0
BIT_INFO 0 slot->flags 0x0,0xfffffffc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/pci/hotplug/acpiphp_glue.c hotplug_event() -> enable_slot()

Type Parameter Key Value
PARAM_VALUE 0 slot 4096-ptr_max
PARAM_VALUE 1 bridge 0
BIT_INFO 0 slot->flags 0x0,0xfffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &acpi_scan_lock
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/pci/hotplug/pci_hotplug_core.c power_write_file() -> (struct hotplug_slot_ops)->enable_slot()

Type Parameter Key Value
PARAM_VALUE 0 slot 4096-ptr_max
PARAM_VALUE 0 slot->ops 4096-ptr_max
PARAM_VALUE 0 slot->ops->enable_slot 1-u64max
CONTAINER 0 -0-0+0 $(-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