Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/media/common/videobuf2/videobuf2-core.c
- drivers/media/common/videobuf2/videobuf2-v4l2.c, line 575
Smatch caller information:
drivers/media/common/videobuf2/videobuf2-core.c __buffers_in_use() -> vb2_buffer_in_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->buf_ops->copy_timestamp | 0,3401818510708633600 |
| PARAM_VALUE | 0 | q->buf_ops->fill_user_buffer | 0,5298842246379896832,5841025948992888832 |
| PARAM_VALUE | 0 | q->buf_ops->fill_vb2_buffer | 0,1786911256580034560,5041348282711113728 |
| PARAM_VALUE | 0 | q->buf_ops->init_buffer | 0,384438844081053696 |
| PARAM_VALUE | 0 | q->buf_ops->verify_planes_array | 0,6675302666440089600 |
| PARAM_VALUE | 0 | q->bufs | 4096-ptr_max |
| PARAM_VALUE | 0 | q->max_num_buffers | 1-u32max |
| PARAM_VALUE | 0 | q->mem_ops->vaddr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->memory | 1 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | q->mmap_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | q->mmap_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | q->mmap_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | q->ops->buf_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | q->streaming | 0 |
| PARAM_VALUE | 1 | vb | 1-u64max |
| 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->fileio | (-1),808 |
| 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 |
| DATA_SOURCE | 0 | q | $0 |
| DATA_SOURCE | 1 | vb | r vb2_get_buffer |
| STR_LEN | 0 | q->drv_priv | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | q->non_coherent_mem | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | q->max_num_buffers | |
| LOCK2 | 0 | &q->mmap_lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| TYPE_LOCK | (struct vb2_queue)->mmap_lock |
drivers/media/common/videobuf2/videobuf2-v4l2.c __fill_v4l2_buffer() -> vb2_buffer_in_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | vb | 4096-ptr_max |
| PARAM_VALUE | 1 | vb->vb2_queue | 4096-ptr_max |
| DATA_SOURCE | 1 | vb | $0 |
| RX_PATH |