Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/occ/common.c occ_active() -> occ_poll()

Type Parameter Key Value
PARAM_VALUE 0 occ 4096-ptr_max
PARAM_VALUE 0 occ->active 0
PARAM_VALUE 0 occ->error_count 0
PARAM_VALUE 0 occ->hwmon_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->hwmon_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 occ->hwmon_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->hwmon_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->hwmon_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->hwmon_lock.wait_lock.owner (-1)
PARAM_VALUE 0 occ->hwmon_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 occ->last_safe 0
PARAM_VALUE 0 occ->lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 occ->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.wait_lock.owner (-1)
PARAM_VALUE 0 occ->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 occ->poll_cmd_data 0,16,32
PARAM_VALUE 0 occ->powr_sample_time_us 0,250,500
PARAM_VALUE 0 occ->send_cmd 0,2958491065109020672,3464263004002525184
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ->bus_dev (-1),1616
CAPPED_DATA 0 &occ->hwmon_lock 1
CAPPED_DATA 0 &occ->lock 1
DATA_SOURCE 0 occ $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 occ unit_byte
LOCK2 0 &occ->hwmon_lock
LOCK2 0 &occ->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct occ)->hwmon_lock
TYPE_LOCK (struct occ)->lock

drivers/hwmon/occ/common.c occ_update_response() -> occ_poll()

Type Parameter Key Value
PARAM_VALUE 0 occ 4096-ptr_max
PARAM_VALUE 0 occ->active 1
PARAM_VALUE 0 occ->lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 occ->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.wait_lock.owner (-1)
PARAM_VALUE 0 occ->lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ s32min-(-2),1-s32max
CAPPED_DATA 0 &occ->lock 1
DATA_SOURCE 0 occ $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 occ unit_byte
LOCK2 &of->mutex
LOCK2 0 &occ->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct occ)->lock