Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/counter/counter-sysfs.c counter_comp_u8_show() -> (struct counter_comp)->count_u8_read()

Type Parameter Key Value
PARAM_VALUE 0 counter 4096-ptr_max
PARAM_VALUE 2 enable 3453491560099467264
PARAM_VALUE 2 *enable 0
DATA_SOURCE 0 counter r counter_from_dev
CONTAINER 1 *(-24-72+120) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/counter/counter-chrdev.c counter_get_data() -> (struct counter_comp)->count_u8_read()

Type Parameter Key Value
PARAM_VALUE 2 enable 1823426683173502976
PARAM_VALUE 2 *enable 0
DATA_SOURCE 0 counter $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &counter->events_list_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct counter_device)->events_list_lock