Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/acpi/ac.c acpi_ac_battery_notify() -> acpi_ac_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| NOCHECK_CALL |
drivers/acpi/ac.c acpi_ac_notify() -> acpi_ac_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| BUF_SIZE | 0 | ac | 16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| BUF_SIZE | 0 | ac | 16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| DATA_SOURCE | 0 | ac | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/ac.c acpi_ac_probe() -> acpi_ac_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->device | 4096-ptr_max |
| BUF_SIZE | 0 | ac | 136 |
| DATA_SOURCE | 0 | ac | r devm_kzalloc |
| MEM_ZERO | 0 | ac | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/ac.c acpi_ac_resume() -> acpi_ac_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| BUF_SIZE | 0 | ac | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ac | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ac | unit_byte |
drivers/acpi/ac.c get_ac_property() -> acpi_ac_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 1-u64max |
| BUF_SIZE | 0 | ac | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ac | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ac | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |