Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/v4l2-core/v4l2-ctrls-core.c v4l2_ctrl_type_op_validate() -> std_validate_elem()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->new_elems 1-u32max
PARAM_VALUE 0 ctrl->type 0-3,5,7-u32max
PARAM_VALUE 0 ctrl->type_ops 4096-ptr_max
PARAM_VALUE 0 ctrl->type_ops->validate 4096-ptr_max
PARAM_VALUE 1 idx 0-4294967294
BUF_SIZE 0 ctrl (-1),248-s32max
BUF_SIZE 0 ctrl (-1),248-s32max
CAPPED_DATA 1 idx 1
DATA_SOURCE 0 ctrl $0
DATA_SOURCE 2 ptr $1
PARAM_COMPARE 0 ctrl->new_elems > $1
PARAM_COMPARE 1 idx < $0->new_elems
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ctrl->val 0-1,7-133[c]
USER_DATA 0 ctrl->val s32min-s32max
USER_DATA 0 *ctrl->p_new.p s64min-s64max
USER_DATA 0 *ctrl->p_new.p_char 0-255
USER_DATA 0 *ctrl->p_new.p_s32 s32min-s32max[u]
NO_OVERFLOW_SIMPLE 0 ctrl->p_new.p_char
USER_PTR 0 ctrl->p_new.p
USER_PTR 0 ctrl->p_new.p_char
HALF_LOCKED2 master->handler->lock
HALF_LOCKED2 0 ctrl->handler->lock