Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/acpi/sbs.c acpi_battery_add() -> acpi_battery_read()

Type Parameter Key Value
PARAM_VALUE 0 battery 4096-ptr_max
PARAM_VALUE 0 battery->id 0-3
PARAM_VALUE 0 battery->sbs 4096-ptr_max
PARAM_VALUE 0 battery->sbs->charger 0,4096-ptr_max
PARAM_VALUE 0 battery->sbs->charger_exists 1
PARAM_VALUE 0 battery->sbs->device 4096-ptr_max
PARAM_VALUE 0 battery->sbs->lock.first_waiter 0
PARAM_VALUE 0 battery->sbs->lock.magic 4096-ptr_max
PARAM_VALUE 0 battery->sbs->lock.osq.tail.counter 0
PARAM_VALUE 0 battery->sbs->lock.owner.counter 0
BUF_SIZE 0 battery->sbs 1176
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/sbs.c acpi_sbs_callback() -> acpi_battery_read()

Type Parameter Key Value
PARAM_VALUE 0 battery 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL