Defined in 2 files as a function:
- drivers/media/usb/uvc/uvc_video.c, line 1689 (as a function)
- drivers/usb/gadget/function/uvc_video.c, line 91 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/gadget/function/uvc_video.c uvcg_video_pump() -> (struct uvc_video)->encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uvc_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | uvc_urb->context->last_buf->state | 3 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->ep->enabled | 1 |
| PARAM_VALUE | 1 | buf->is_enabled | 1 |
| PARAM_VALUE | 1 | buf->queue.irqqueue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | meta_buf | 4096-ptr_max |
| CAPPED_DATA | 1 | &buf->req_free | 1 |
| DATA_SOURCE | 2 | meta_buf | r uvcg_queue_head |
| CONTAINER | 1 | -488+0 | $(-1) |
| PARAM_COMPARE | 1 | &buf->req_free | != $1->req_free.next |
| NOCHECK_CALL | |||
| LOCK2 | &queue->irqlock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct uvc_video_queue)->irqlock |
drivers/media/usb/uvc/uvc_video.c uvc_video_complete() -> (struct uvc_streaming)->decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uvc_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | uvc_urb->async_operations | 0 |
| PARAM_VALUE | 0 | uvc_urb->stream | 4096-ptr_max |
| PARAM_VALUE | 0 | uvc_urb->stream->queue.irqlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | buf | 0,4096-ptr_max |
| PARAM_VALUE | 2 | meta_buf | 0,4096-ptr_max |
| BUF_SIZE | 0 | uvc_urb | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uvc_urb | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | buf | r uvc_queue_get_current_buffer |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |