Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 hdl 1-u64max
PARAM_VALUE 1 cs 4096-ptr_max
PARAM_VALUE 1 cs->count 1-u32max
PARAM_VALUE 1 cs->error_idx 1-u32max
PARAM_VALUE 1 cs->which 0,65536-268369920
PARAM_VALUE 2 helpers 1-18446744073709551614
PARAM_VALUE 3 vdev 4096-ptr_max
PARAM_VALUE 4 get 0
BUF_SIZE 1 cs (-1),128-16383
BUF_SIZE 1 cs (-1),128-16383
BUF_SIZE 2 helpers 96,120-103079215080
BUF_SIZE 2 helpers 96,120-103079215080
DATA_SOURCE 0 hdl $1
DATA_SOURCE 1 cs $2
DATA_SOURCE 3 vdev $3
BIT_INFO 1 cs->which 0x0,0xfff0000
USER_DATA 1 cs->count 1-u32max[u]
USER_DATA 1 cs->error_idx 1-u32max[u]
USER_DATA 1 cs->request_fd s32min-s32max[u]
USER_DATA 1 cs->which 0,65536-268369920[c]
USER_PTR 1 cs
HALF_LOCKED2 lock

drivers/media/v4l2-core/v4l2-ctrls-api.c v4l2_g_ext_ctrls_common() -> prepare_ext_ctrls()

Type Parameter Key Value
PARAM_VALUE 0 hdl 1-u64max
PARAM_VALUE 1 cs 4096-ptr_max
PARAM_VALUE 1 cs->count 1-u32max
PARAM_VALUE 1 cs->error_idx 1-u32max
PARAM_VALUE 1 cs->which 0,65536-268369920
PARAM_VALUE 2 helpers 1-18446744073709551614
PARAM_VALUE 3 vdev 4096-ptr_max
PARAM_VALUE 4 get 1
BUF_SIZE 1 cs (-1),128-16383
BUF_SIZE 1 cs (-1),128-16383
BUF_SIZE 1 cs->controls (-1),20
BUF_SIZE 2 helpers 96,120-103079215080
BUF_SIZE 2 helpers 96,120-103079215080
DATA_SOURCE 0 hdl $0
DATA_SOURCE 1 cs $1
DATA_SOURCE 3 vdev $2
BIT_INFO 1 cs->which 0x0,0xfff0000
USER_DATA 1 cs->count 1-u32max[u]
USER_DATA 1 cs->error_idx 1-u32max[u]
USER_DATA 1 cs->request_fd s32min-s32max[u]
USER_DATA 1 cs->which 0,65536-268369920[c]
USER_PTR 1 cs
HALF_LOCKED2 &video->stream_lock
HALF_LOCKED2 lock