Defined in 1 files as a member:

Defined in 12 files as a function:

Referenced in 57 files:

Smatch caller information:

drivers/media/v4l2-core/v4l2-ioctl.c v4l_g_selection() -> (struct v4l2_ioctl_ops)->vidioc_g_selection()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 1 fh 0
PARAM_VALUE 2 sel 4096-ptr_max
PARAM_VALUE 2 sel->type 0-8,11-u32max
BUF_SIZE 2 sel (-1),64,128-16383
BUF_SIZE 2 sel (-1),64,128-16383
DATA_SOURCE 0 file $1
DATA_SOURCE 2 sel $2
FUZZY_MAX 2 sel->type 2
USER_DATA 2 sel->flags 0-u32max[u]
USER_DATA 2 sel->r.height 0-u32max[u]
USER_DATA 2 sel->r.left s32min-s32max[u]
USER_DATA 2 sel->r.top s32min-s32max[u]
USER_DATA 2 sel->r.width 0-u32max[u]
USER_DATA 2 sel->target 0-u32max[u]
USER_DATA 2 sel->type 0-8,11-u32max[u]
USER_PTR 2 sel
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock