Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/hwmon/acpi_power_meter.c acpi_power_meter_notify() -> update_cap()

Type Parameter Key Value
PARAM_VALUE 0 resource->lock.dep_map->name 0-255
PARAM_VALUE 0 resource->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 resource->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 resource->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 resource->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 resource->lock.wait_lock.owner (-1)
PARAM_VALUE 0 resource->lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 resource s32min-(-2),1-s32max
BUF_SIZE 0 resource s32min-(-2),1-s32max
CAPPED_DATA 0 &resource->lock 1
UNITS 0 resource unit_byte
LOCK2 _T->lock
LOCK2 0 &resource->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct acpi_power_meter_resource)->lock

drivers/hwmon/acpi_power_meter.c get_power_alarm_state() -> update_cap()

Type Parameter Key Value
PARAM_VALUE 0 resource 4096-ptr_max
PARAM_VALUE 0 resource->sensors_valid s32min-(-1),1-s32max
BUF_SIZE 0 resource s32min-(-2),1-s32max
BUF_SIZE 0 resource s32min-(-2),1-s32max
DATA_SOURCE 0 resource $0
BIT_INFO 0 resource->caps.flags 0x0,0xfffffffffffffff7
RX_PATH
TASK_NOT_RUNNING
UNITS 0 resource unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/acpi_power_meter.c power_meter_read() -> update_cap()

Type Parameter Key Value
BUF_SIZE 0 resource s32min-(-2),1-s32max
BUF_SIZE 0 resource s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 resource unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex