Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/v4l2-core/v4l2-ctrls-api.c __v4l2_ctrl_modify_range() -> validate_new()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->handler 4096-ptr_max
PARAM_VALUE 0 ctrl->is_array 0
PARAM_VALUE 0 ctrl->minimum 0-s64max
PARAM_VALUE 0 ctrl->type 1-3,5,8-9,256-258
CAPPED_DATA 0 ctrl->minimum 1
DATA_SOURCE 0 ctrl $0

drivers/media/v4l2-core/v4l2-ctrls-api.c set_ctrl() -> validate_new()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->cluster 4096-ptr_max
PARAM_VALUE 0 ctrl->handler 4096-ptr_max
PARAM_VALUE 0 ctrl->type_ops->validate 4096-ptr_max
BUF_SIZE 0 ctrl (-1),248-s32max
BUF_SIZE 0 ctrl (-1),248-s32max
DATA_SOURCE 0 ctrl $1
STR_LEN 0 ctrl (-1)-0
STR_LEN 0 ctrl (-1)-0
PREEMPT_ADD
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_s32 s32min-s32max[u]
USER_PTR 0 ctrl->p_new.p
HALF_LOCKED2 0 ctrl->handler->lock

drivers/media/v4l2-core/v4l2-ctrls-api.c try_set_ext_ctrls_common() -> validate_new()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->is_new 1
PARAM_VALUE 0 ctrl->is_ptr 1
PARAM_VALUE 0 ctrl->p_array 16,4096-ptr_max
PARAM_VALUE 0 ctrl->p_cur.p 4096-ptr_max
PARAM_VALUE 0 ctrl->p_new.p 16,4096-ptr_max
USER_DATA 0 *ctrl->p_new.p s64min-s64max
USER_DATA 0 *ctrl->p_new.p_char 0-255
NO_OVERFLOW_SIMPLE 0 ctrl->p_new.p_char
USER_PTR 0 ctrl->p_new.p
USER_PTR 0 ctrl->p_new.p_char
LOCK2 master->handler->lock
HALF_LOCKED2 lock

drivers/media/v4l2-core/v4l2-ctrls-api.c validate_ctrls() -> validate_new()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->is_ptr 0
BIT_INFO 0 ctrl->flags 0x0,0xfffffffffffffffb
HALF_LOCKED2 lock