Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/counter/counter-sysfs.c counter_comp_array_u32_store() -> counter_find_enum()

Type Parameter Key Value
PARAM_VALUE 0 enum_item 8674273684535476224
PARAM_VALUE 0 *enum_item 0
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 4 string_array 16
DATA_SOURCE 3 buf $2
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-sysfs.c counter_comp_u32_store() -> counter_find_enum()

Type Parameter Key Value
PARAM_VALUE 0 enum_item 4858811790060699648
PARAM_VALUE 0 *enum_item 0
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 4 string_array 64
DATA_SOURCE 3 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num_enums unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/counter/counter-sysfs.c counter_comp_u32_store() -> counter_find_enum()

Type Parameter Key Value
PARAM_VALUE 0 enum_item 4858811790060699648
PARAM_VALUE 0 *enum_item 0
PARAM_VALUE 1 enums 0,4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 4 string_array 32
DATA_SOURCE 3 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num_enums unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/counter/counter-sysfs.c counter_comp_u32_store() -> counter_find_enum()

Type Parameter Key Value
PARAM_VALUE 0 enum_item 4858811790060699648
PARAM_VALUE 0 *enum_item 0
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 4 string_array 80
DATA_SOURCE 3 buf $2
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-sysfs.c counter_comp_u32_store() -> counter_find_enum()

Type Parameter Key Value
PARAM_VALUE 0 enum_item 4858811790060699648
PARAM_VALUE 0 *enum_item 0
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 4 string_array 16
DATA_SOURCE 3 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex