Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/usb/uvc/uvc_ctrl.c __uvc_query_v4l2_ctrl() -> __uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v4l2_id | 1-u32max |
| PARAM_VALUE | 2 | mapping | 3630397978284081152 |
| PARAM_VALUE | 2 | *mapping | 0 |
| PARAM_VALUE | 3 | control | 613456048718864384 |
| PARAM_VALUE | 3 | *control | 0 |
| PARAM_VALUE | 4 | next | 0 |
| PARAM_VALUE | 5 | next_compound | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | v4l2_id | unit_array_size |
| HALF_LOCKED2 | &chain->ctrl_mutex |
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_find_ctrl_idx() -> __uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | mapping | 3044078471615315968 |
| PARAM_VALUE | 2 | *mapping | 0,4096-ptr_max |
| PARAM_VALUE | 3 | control | 7561922480695070720 |
| PARAM_VALUE | 3 | *control | 0,4096-ptr_max |
| PARAM_VALUE | 4 | next | 0 |
| PARAM_VALUE | 5 | next_compound | 0 |
| CAPPED_DATA | 0 | entity->ncontrols | 1 |
| DATA_SOURCE | 0 | entity | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | v4l2_id | unit_array_size |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_is_accessible() -> __uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v4l2_id | 1-u32max |
| PARAM_VALUE | 2 | mapping | 1883531536259362816 |
| PARAM_VALUE | 2 | *mapping | 0 |
| PARAM_VALUE | 3 | control | 5995896397916532736 |
| PARAM_VALUE | 3 | *control | 0 |
| PARAM_VALUE | 4 | next | 0 |
| PARAM_VALUE | 5 | next_compound | 0 |
| NOCHECK_CALL | |||
| UNITS | 1 | v4l2_id | unit_array_size |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_send_slave_event() -> __uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v4l2_id | 1-u32max |
| PARAM_VALUE | 2 | mapping | 662072686048305152 |
| PARAM_VALUE | 2 | *mapping | 0 |
| PARAM_VALUE | 3 | control | 5566464013717491712 |
| PARAM_VALUE | 3 | *control | 0 |
| PARAM_VALUE | 4 | next | 0 |
| PARAM_VALUE | 5 | next_compound | 0 |
| DATA_SOURCE | 1 | v4l2_id | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chain->ctrl_mutex |
drivers/media/usb/uvc/uvc_ctrl.c uvc_find_control() -> __uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 1 | v4l2_id | 0-268435455 |
| PARAM_VALUE | 2 | mapping | 478460816956420096,2781829567564427264,5461865120574386176,5712078827429842944,6619784939497037824,8206146872044449792,9150951109705510912 |
| PARAM_VALUE | 2 | *mapping | 0,4096-ptr_max |
| PARAM_VALUE | 3 | control | 8614501809327108096 |
| PARAM_VALUE | 3 | *control | 0,4096-ptr_max |
| PARAM_VALUE | 4 | next | s32min-0 |
| PARAM_VALUE | 5 | next_compound | 0,1073741824 |
| CAPPED_DATA | 0 | &entity->chain | 1 |
| DATA_SOURCE | 1 | v4l2_id | $1 [m] |
| DATA_SOURCE | 2 | mapping | $2 |
| BIT_INFO | 5 | next_compound | 0x0,0x40000000 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | v4l2_id | 0-268435455[c] |
| USER_DATA | 4 | next | 0[c] |
| USER_DATA | 5 | next_compound | 1073741824[c] |
| UNITS | 1 | v4l2_id | unit_array_size |
| HALF_LOCKED2 | &chain->ctrl_mutex | ||
| HALF_LOCKED2 | &fh->subscribe_lock |