Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/acpi/dock.c acpi_dock_add() -> acpi_device_is_battery()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/bus.c acpi_bus_get_status() -> acpi_device_is_battery()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | adev | (-1),2408 |
| BUF_SIZE | 0 | adev | (-1),2408 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adev | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/acpi/scan.c is_ejectable_bay() -> acpi_device_is_battery()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |