Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/counter/counter-sysfs.c counter_comp_u32_show() -> (struct counter_comp)->count_u32_read()

Type Parameter Key Value
PARAM_VALUE 0 counter 4096-ptr_max
PARAM_VALUE 2 function 9041062406193995776
PARAM_VALUE 2 *function 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_u32_read()

Type Parameter Key Value
PARAM_VALUE 2 function 853109935578365952
PARAM_VALUE 2 *function 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