Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/counter/counter-sysfs.c counter_comp_u64_show() -> (struct counter_comp)->count_u64_read()

Type Parameter Key Value
PARAM_VALUE 0 counter 4096-ptr_max
PARAM_VALUE 2 val 5328038193607467008
PARAM_VALUE 2 *val 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_u64_read()

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