Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/acpi/power.c acpi_power_off_unlocked() -> __acpi_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->ref_count | 0 |
| PARAM_VALUE | 0 | resource->resource_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | resource->resource_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | resource | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &resource->resource_lock | |
| HALF_LOCKED2 | global &acpi_device_lock | ||
| TYPE_LOCK | (struct acpi_power_resource)->resource_lock |
drivers/acpi/power.c acpi_power_wakeup_list_init() -> __acpi_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->device.handle->descriptor_type | 0-255 |
| PARAM_VALUE | 0 | resource->device.handle->flags | 0-u16max |
| PARAM_VALUE | 0 | resource->device.handle->name.integer | 0-4294967295 |
| PARAM_VALUE | 0 | resource->device.handle->owner_id | 0-u16max |
| PARAM_VALUE | 0 | resource->device.handle->type | 0-255 |
| PARAM_VALUE | 0 | resource->ref_count | 0 |
| PARAM_VALUE | 0 | resource->resource_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | resource->resource_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | resource->state | 0-254 |
| CAPPED_DATA | 0 | &resource->resource_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &resource->resource_lock | |
| HALF_LOCKED2 | global &acpi_dep_list_lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| TYPE_LOCK | (struct acpi_power_resource)->resource_lock |
drivers/acpi/power.c acpi_resume_on_eb_gp12pxp() -> __acpi_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->device.handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | resource->device.handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | resource->device.handle->descriptor_type | 0-255 |
| PARAM_VALUE | 0 | resource->device.handle->flags | 0-u16max |
| PARAM_VALUE | 0 | resource->device.handle->name.integer | 0-4294967295 |
| PARAM_VALUE | 0 | resource->device.handle->owner_id | 0-u16max |
| PARAM_VALUE | 0 | resource->device.handle->type | 0-255 |
| PARAM_VALUE | 0 | resource->ref_count | 1-u32max |
| PARAM_VALUE | 0 | resource->resource_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | resource->resource_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | resource->state | 0-1 |
| DATA_SOURCE | 0 | resource | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &power_resource_list_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | 0 | &resource->resource_lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct acpi_power_resource)->resource_lock |
drivers/acpi/power.c acpi_turn_off_unused_power_resources() -> __acpi_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->ref_count | 0 |
| PARAM_VALUE | 0 | resource->resource_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | resource->resource_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | resource->resource_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | resource->resource_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | resource->state | 1 |
| CAPPED_DATA | 0 | &resource->list_node | 1 |
| CAPPED_DATA | 0 | &resource->resource_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &power_resource_list_lock | ||
| LOCK2 | 0 | &resource->resource_lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct acpi_power_resource)->resource_lock |