Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/acpi/container.c check_offline() -> acpi_scan_is_offline()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 uevent 0
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/scan.c acpi_scan_hot_remove() -> acpi_scan_is_offline()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->flags.hotplug_notify 1
PARAM_VALUE 0 adev->flags.is_dock_station 0
PARAM_VALUE 0 adev->handler 4096-ptr_max
PARAM_VALUE 0 adev->handler->hotplug.demand_offline 1
PARAM_VALUE 0 adev->handler->hotplug.enabled 1
PARAM_VALUE 1 uevent 1
DATA_SOURCE 0 adev $0
LOCK2 global &acpi_scan_lock
LOCK2 global &device_hotplug_lock
HALF_LOCKED2 &pool->lock