Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_add_event() -> uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | mapping | 478460816956420096 |
| CAPPED_DATA | 0 | &chain->ctrl_mutex | 1 |
| USER_DATA | 1 | v4l2_id | 0-u32max[u] |
| UNITS | 1 | v4l2_id | unit_array_size |
| LOCK2 | &fh->subscribe_lock | ||
| LOCK2 | 0 | &chain->ctrl_mutex | |
| HALF_LOCKED2 | lock | ||
| TYPE_LOCK | (struct uvc_video_chain)->ctrl_mutex | ||
| TYPE_LOCK | (struct v4l2_fh)->subscribe_lock |
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_get() -> uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | mapping | 6619784939497037824 |
| DATA_SOURCE | 0 | chain | $0 |
| 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 | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 2 | mapping | 8206146872044449792 |
| DATA_SOURCE | 0 | chain | $0 |
| DATA_SOURCE | 1 | v4l2_id | $1 |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_send_events() -> uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->dev->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | mapping | 2781829567564427264 |
| UNITS | 1 | v4l2_id | unit_array_size |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_set() -> uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | mapping | 5461865120574386176 |
| UNITS | 1 | v4l2_id | unit_array_size |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/usb/uvc/uvc_ctrl.c uvc_query_v4l2_ctrl() -> uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain->ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | v4l2_id | 0-2147483646,2147483648-u32max |
| PARAM_VALUE | 2 | mapping | 9150951109705510912 |
| CAPPED_DATA | 0 | &chain->ctrl_mutex | 1 |
| CAPPED_DATA | 1 | v4l2_id | 1 |
| DATA_SOURCE | 0 | chain | $0 |
| USER_DATA | 1 | v4l2_id | 0-2147483646,2147483648-u32max[c] |
| UNITS | 1 | v4l2_id | unit_array_size |
| LOCK2 | 0 | &chain->ctrl_mutex | |
| TYPE_LOCK | (struct uvc_video_chain)->ctrl_mutex |
drivers/media/usb/uvc/uvc_ctrl.c uvc_query_v4l2_menu() -> uvc_find_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain->ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->ctrl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | mapping | 5712078827429842944 |
| CAPPED_DATA | 0 | &chain->ctrl_mutex | 1 |
| DATA_SOURCE | 0 | chain | $0 |
| USER_DATA | 1 | v4l2_id | 0-u32max[u] |
| LOCK2 | 0 | &chain->ctrl_mutex | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| TYPE_LOCK | (struct uvc_video_chain)->ctrl_mutex |