Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_init_ctrl() -> uvc_ctrl_add_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->entity->controls | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->entity->ncontrols | 1-u32max |
| PARAM_VALUE | 2 | info | 4096-ptr_max |
| BUF_SIZE | 1 | ctrl | (-1),72-s32max |
| BUF_SIZE | 1 | ctrl | (-1),72-s32max |
| CAPPED_DATA | 1 | ctrl->index | 1 |
| CAPPED_DATA | 2 | info->index | 1 |
| DATA_SOURCE | 1 | ctrl | $1 |
| PARAM_COMPARE | 1 | ctrl->index | == $2->index |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | ctrl->entity->ncontrols |
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_init_xu_ctrl() -> uvc_ctrl_add_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->index | 0-254 |
| PARAM_VALUE | 1 | ctrl->initialized | 0 |
| PARAM_VALUE | 2 | info | 8436680990476701696 |
| PARAM_VALUE | 2 | info->index | 0-254 |
| PARAM_VALUE | 2 | info->selector | 1-255 |
| CAPPED_DATA | 1 | ctrl->index | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | ctrl | $1 |
| LOCK2 | &chain->ctrl_mutex | ||
| TYPE_LOCK | (struct uvc_video_chain)->ctrl_mutex |