Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/usb/uvc/uvc_ctrl.c __uvc_ctrl_commit() -> uvc_ctrl_find_ctrl_idx()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 1 ctrls 4096-ptr_max
PARAM_VALUE 1 ctrls->controls 4096-ptr_max
PARAM_VALUE 1 ctrls->count 1-u32max
BUF_SIZE 1 ctrls (-1),128-16383
BUF_SIZE 1 ctrls (-1),128-16383
BUF_SIZE 1 ctrls->controls (-1),20
CAPPED_DATA 0 entity->ncontrols 1
CAPPED_DATA 0 &entity->chain 1
CAPPED_DATA 1 ctrls->count 1
CAPPED_DATA 1 ctrls->error_idx 1
CAPPED_DATA 1 ctrls->which 1
DATA_SOURCE 1 ctrls $2
BIT_INFO 1 ctrls->error_idx 0x0,0x7fffffff
NOSPEC 1 ctrls->count
NOSPEC 1 ctrls->error_idx
USER_DATA 1 ctrls->count 1-s32max[c]
USER_DATA 1 ctrls->error_idx 1-s32max[c]
USER_DATA 1 ctrls->request_fd s32min-s32max[u]
USER_DATA 1 ctrls->which 0-u32max[c]
USER_PTR 1 ctrls
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock