Documented in 2 files:

Defined in 3 files as a prototype:

Defined in 1 files as a member:

Defined in 6 files as a function:

Referenced in 13 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 slot 4096-ptr_max
PARAM_VALUE 0 slot->bus 4096-ptr_max
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_disable_and_eject_slot() -> disable_slot()

Type Parameter Key Value
PARAM_VALUE 0 slot 4096-ptr_max
DATA_SOURCE 0 slot $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 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/pci/hotplug/pci_hotplug_core.c power_write_file() -> (struct hotplug_slot_ops)->disable_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->disable_slot 1-u64max
CONTAINER 0 -8-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