Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/common/videobuf2/videobuf2-core.c
- drivers/media/common/videobuf2/videobuf2-v4l2.c
- drivers/media/dvb-core/dvb_vb2.c, line 321
Smatch caller information:
drivers/media/common/videobuf2/videobuf2-core.c __vb2_cleanup_fileio() -> vb2_core_reqbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->drv_priv->chained | 0 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->chained_count | s32min-s32max |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | q->drv_priv->m2m->isi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->last_ctx | 0 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->pipe->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->pipe->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->pipe->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | q->drv_priv->m2m->pipe->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->pipe->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->usage_count | s32min-s32max |
| PARAM_VALUE | 0 | q->drv_priv->pipe->acquired_res | 0 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->available_res | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->chained | 0 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->irq_handler | 0 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | q->drv_priv->vdev.entity.graph_obj.mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->vdev.entity.graph_obj.mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | q->drv_priv->video_dev.entity.pads->graph_obj.mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->video_dev.entity.pads->pipe->start_count | s32min-s32max |
| PARAM_VALUE | 0 | q->error | 0 |
| PARAM_VALUE | 0 | q->fileio | 0 |
| PARAM_VALUE | 0 | q->last_buffer_dequeued | 0 |
| PARAM_VALUE | 0 | q->owned_by_drv_count.counter | 0 |
| PARAM_VALUE | 0 | q->queued_count | 0 |
| PARAM_VALUE | 0 | q->queued_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->start_streaming_called | 0 |
| PARAM_VALUE | 0 | q->streaming | 0 |
| PARAM_VALUE | 0 | q->uses_qbuf | 0 |
| PARAM_VALUE | 0 | q->uses_requests | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | count | 4096-ptr_max |
| PARAM_VALUE | 3 | *count | 0 |
| BUF_SIZE | 0 | q | (-1),632 |
| BUF_SIZE | 0 | q | (-1),632 |
| BUF_SIZE | 0 | q->dev | (-1),1616 |
| BUF_SIZE | 0 | q->drv_priv | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | q->lock | (-1),152 |
| BUF_SIZE | 0 | q->mem_ops | (-1),120 |
| BUF_SIZE | 0 | q->ops | (-1),96 |
| BUF_SIZE | 0 | q->owner | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | q->threadio | (-1),32 |
| CAPPED_DATA | 0 | q->max_num_buffers | 1 |
| CAPPED_DATA | 0 | q->type | 1 |
| DATA_SOURCE | 0 | q | $0 |
| STR_LEN | 0 | q->drv_priv | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/common/videobuf2/videobuf2-core.c __vb2_init_fileio() -> vb2_core_reqbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->fileio | 4096-ptr_max |
| PARAM_VALUE | 0 | q->fileio->memory | 1 |
| PARAM_VALUE | 0 | q->io_modes | 4-u32max |
| PARAM_VALUE | 0 | q->mem_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | q->mem_ops->vaddr | 1-u64max |
| PARAM_VALUE | 0 | q->streaming | 0 |
| PARAM_VALUE | 1 | memory | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | count | 4096-ptr_max |
| BUF_SIZE | 0 | q->fileio | 808 |
| BUF_SIZE | 0 | q->owner | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | q | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/common/videobuf2/videobuf2-core.c __vb2_init_fileio() -> vb2_core_reqbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->done_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->drv_priv->m2m->last_ctx | 0 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->pipe->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->m2m->pipe->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->pipe->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | q->drv_priv->vdev.entity.graph_obj.mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->drv_priv->video_dev.entity.pads->graph_obj.mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->error | 0 |
| PARAM_VALUE | 0 | q->fileio | 4096-ptr_max |
| PARAM_VALUE | 0 | q->fileio->count | 0 |
| PARAM_VALUE | 0 | q->fileio->memory | 1 |
| PARAM_VALUE | 0 | q->io_modes | 4-u32max |
| PARAM_VALUE | 0 | q->is_busy | 0 |
| PARAM_VALUE | 0 | q->mem_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | q->mem_ops->vaddr | 1-u64max |
| PARAM_VALUE | 0 | q->min_reqbufs_allocation | 0 |
| PARAM_VALUE | 0 | q->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->mmap_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->mmap_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | q->mmap_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | q->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | q->owned_by_drv_count.counter | 0 |
| PARAM_VALUE | 0 | q->queued_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | q->queued_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | q->streaming | 0 |
| PARAM_VALUE | 0 | q->uses_requests | 0 |
| PARAM_VALUE | 1 | memory | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | count | 4096-ptr_max |
| PARAM_VALUE | 3 | *count | 0 |
| BUF_SIZE | 0 | q->fileio | 808 |
| BUF_SIZE | 0 | q->owner | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | q->max_num_buffers | 1 |
| DATA_SOURCE | 0 | q | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/dvb-core/dvb_vb2.c dvb_vb2_reqbufs() -> vb2_core_reqbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | memory | 1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | count | 4096-ptr_max |
| USER_DATA | 3 | *count | 0-u32max[u] |
| USER_PTR | 3 | count | |
| LOCK2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &dmxdevfilter->mutex | ||
| TYPE_LOCK | (struct dmxdev)->mutex |
drivers/media/common/videobuf2/videobuf2-v4l2.c vb2_ioctl_reqbufs() -> vb2_core_reqbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->fileio | 0 |
| PARAM_VALUE | 0 | q->type | 1-14 |
| PARAM_VALUE | 1 | memory | 1-2,4 |
| PARAM_VALUE | 2 | flags | 0-1 |
| PARAM_VALUE | 3 | count | 4096-ptr_max |
| CAPPED_DATA | 0 | q->owner | 1 |
| CAPPED_DATA | 0 | q->type | 1 |
| USER_DATA | 1 | memory | 1-2,4[u] |
| USER_DATA | 2 | flags | 0-1[c][u] |
| USER_DATA | 3 | *count | 0-u32max[u] |
| USER_PTR | 3 | count | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/common/videobuf2/videobuf2-v4l2.c vb2_reqbufs() -> vb2_core_reqbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->fileio | 0 |
| PARAM_VALUE | 0 | q->mem_ops->alloc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->mem_ops->mmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->mem_ops->put | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->type | 1-14 |
| PARAM_VALUE | 1 | memory | 1-2,4 |
| PARAM_VALUE | 2 | flags | 0-1 |
| PARAM_VALUE | 3 | count | 4096-ptr_max |
| BUF_SIZE | 0 | q | (-1),632 |
| BUF_SIZE | 0 | q | (-1),632 |
| CAPPED_DATA | 0 | q->type | 1 |
| DATA_SOURCE | 0 | q | $0 |
| USER_DATA | 0 | q->memory | 1-2,4[c][u] |
| USER_DATA | 1 | memory | 1-2,4[u] |
| USER_DATA | 2 | flags | 0-1[c][u] |
| USER_DATA | 3 | *count | 0-u32max[u] |
| USER_PTR | 3 | count | |
| HALF_LOCKED2 | &video->queue_lock | ||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |