Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/usb/uvc/uvc_v4l2.c uvc_ioctl_g_ext_ctrls() -> uvc_ctrl_check_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctrls | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrls->count | 1-u32max |
| PARAM_VALUE | 2 | which | 0,251658240,251789312,251854848 |
| PARAM_VALUE | 3 | ioctl | 3223344711 |
| BUF_SIZE | 1 | ctrls | (-1),128-16383 |
| BUF_SIZE | 1 | ctrls | (-1),128-16383 |
| CAPPED_DATA | 1 | ctrls->count | 1 |
| CAPPED_DATA | 1 | ctrls->which | 1 |
| CAPPED_DATA | 2 | which | 1 |
| DATA_SOURCE | 1 | ctrls | $2 |
| FUZZY_MAX | 2 | which | 0 |
| USER_DATA | 1 | ctrls->count | 1-u32max[c] |
| USER_DATA | 1 | ctrls->error_idx | 0-u32max[u] |
| USER_DATA | 1 | ctrls->request_fd | s32min-s32max[u] |
| USER_DATA | 1 | ctrls->which | 0-u32max[c] |
| USER_DATA | 2 | which | 0,251658240,251789312,251854848[c] |
| USER_PTR | 1 | ctrls | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/uvc/uvc_v4l2.c uvc_ioctl_s_try_ext_ctrls() -> uvc_ctrl_check_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctrls | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrls->count | 1-u32max |
| PARAM_VALUE | 2 | which | 0 |
| PARAM_VALUE | 3 | ioctl | 3223344712-3223344713 |
| BUF_SIZE | 1 | ctrls | (-1),128-16383 |
| BUF_SIZE | 1 | ctrls | (-1),128-16383 |
| CAPPED_DATA | 1 | ctrls->count | 1 |
| CAPPED_DATA | 1 | ctrls->which | 1 |
| DATA_SOURCE | 1 | ctrls | $1 |
| DATA_SOURCE | 3 | ioctl | $2 |
| HARD_MAX | 3 | ioctl | 3223344713 |
| USER_DATA | 1 | ctrls->count | 1-u32max[c] |
| USER_DATA | 1 | ctrls->error_idx | 0-u32max[u] |
| 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 |