Defined in 5 files as a function:
- drivers/media/common/saa7146/saa7146_vbi.c, line 290 (as a function)
- drivers/media/common/saa7146/saa7146_video.c, line 635 (as a function)
- drivers/media/pci/intel/ipu6/ipu6-isys-queue.c, line 472 (as a function)
- drivers/media/platform/ti/vpe/vip.c, line 2215 (as a function)
- drivers/staging/media/ipu7/ipu7-isys-queue.c, line 479 (as a function)
Referenced in 7 files:
- drivers/media/common/saa7146/saa7146_vbi.c
- drivers/media/common/saa7146/saa7146_video.c
- drivers/media/pci/intel/ipu6/ipu6-isys-queue.c
- drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
- drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c
- drivers/media/platform/ti/vpe/vip.c
- drivers/staging/media/ipu7/ipu7-isys-queue.c
Smatch caller information:
drivers/staging/media/ipu7/ipu7-isys-queue.c start_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/staging/media/ipu7/ipu7-isys-queue.c stop_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/common/saa7146/saa7146_vbi.c start_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->buf_ops->copy_timestamp | 0,3401818510708633600 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_user_buffer | 0,5298842246379896832,5841025948992888832 |
| PARAM_VALUE | 0 | aq->mem_ops->vaddr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_out_validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_request_complete | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->prepare_streaming | 0,24308144410918912,286021761384681472,1093081165171929088,2522930580274020352,5719911731853049856,8217013222128635904 |
| PARAM_VALUE | 0 | aq->ops->start_streaming | 1-u64max |
| PARAM_VALUE | 0 | aq->start_streaming_called | 1 |
| PARAM_VALUE | 1 | state | 3 |
| BUF_SIZE | 0 | aq | (-1),128 |
| BUF_SIZE | 0 | aq | (-1),128 |
| BUF_SIZE | 0 | aq->fileio | (-1),808 |
| BUF_SIZE | 0 | aq->owner | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | aq->min_queued_buffers | 1 |
| DATA_SOURCE | 0 | aq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | aq->max_num_buffers | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | 0 | aq->lock |
drivers/media/common/saa7146/saa7146_vbi.c stop_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->buf_ops->copy_timestamp | 0,3401818510708633600 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_user_buffer | 0,5298842246379896832,5841025948992888832 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_vb2_buffer | 0,1786911256580034560,5041348282711113728 |
| PARAM_VALUE | 0 | aq->buf_ops->init_buffer | 0,384438844081053696 |
| PARAM_VALUE | 0 | aq->buf_ops->verify_planes_array | 0,6675302666440089600 |
| PARAM_VALUE | 0 | aq->mem_ops->vaddr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->stop_streaming | 1-u64max |
| PARAM_VALUE | 0 | aq->start_streaming_called | 1 |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 1 | state | 6 |
| BUF_SIZE | 0 | aq | (-1),632 |
| BUF_SIZE | 0 | aq | (-1),632 |
| BUF_SIZE | 0 | aq->dev | (-1),1616 |
| BUF_SIZE | 0 | aq->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 | aq->fileio | (-1),808 |
| BUF_SIZE | 0 | aq->lock | (-1),152 |
| BUF_SIZE | 0 | aq->mem_ops | (-1),120 |
| BUF_SIZE | 0 | aq->ops | (-1),96 |
| BUF_SIZE | 0 | aq->owner | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | aq->threadio | (-1),32 |
| DATA_SOURCE | 0 | aq | $0 |
| STR_LEN | 0 | aq->drv_priv | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | aq->non_coherent_mem | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | aq->max_num_buffers | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | 0 | &aq->mmap_lock |
drivers/media/common/saa7146/saa7146_video.c start_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->buf_ops->copy_timestamp | 0,3401818510708633600 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_user_buffer | 0,5298842246379896832,5841025948992888832 |
| PARAM_VALUE | 0 | aq->mem_ops->vaddr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_out_validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_request_complete | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->prepare_streaming | 0,24308144410918912,286021761384681472,1093081165171929088,2522930580274020352,5719911731853049856,8217013222128635904 |
| PARAM_VALUE | 0 | aq->ops->start_streaming | 1-u64max |
| PARAM_VALUE | 0 | aq->start_streaming_called | 1 |
| PARAM_VALUE | 1 | state | 3 |
| BUF_SIZE | 0 | aq | (-1),128 |
| BUF_SIZE | 0 | aq | (-1),128 |
| BUF_SIZE | 0 | aq->fileio | (-1),808 |
| BUF_SIZE | 0 | aq->owner | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | aq->min_queued_buffers | 1 |
| DATA_SOURCE | 0 | aq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | aq->max_num_buffers | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | 0 | aq->lock |
drivers/media/common/saa7146/saa7146_video.c stop_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->buf_ops->copy_timestamp | 0,3401818510708633600 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_user_buffer | 0,5298842246379896832,5841025948992888832 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_vb2_buffer | 0,1786911256580034560,5041348282711113728 |
| PARAM_VALUE | 0 | aq->buf_ops->init_buffer | 0,384438844081053696 |
| PARAM_VALUE | 0 | aq->buf_ops->verify_planes_array | 0,6675302666440089600 |
| PARAM_VALUE | 0 | aq->mem_ops->vaddr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->stop_streaming | 1-u64max |
| PARAM_VALUE | 0 | aq->start_streaming_called | 1 |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 1 | state | 6 |
| BUF_SIZE | 0 | aq | (-1),632 |
| BUF_SIZE | 0 | aq | (-1),632 |
| BUF_SIZE | 0 | aq->dev | (-1),1616 |
| BUF_SIZE | 0 | aq->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 | aq->fileio | (-1),808 |
| BUF_SIZE | 0 | aq->lock | (-1),152 |
| BUF_SIZE | 0 | aq->mem_ops | (-1),120 |
| BUF_SIZE | 0 | aq->ops | (-1),96 |
| BUF_SIZE | 0 | aq->owner | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | aq->threadio | (-1),32 |
| DATA_SOURCE | 0 | aq | $0 |
| STR_LEN | 0 | aq->drv_priv | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | aq->non_coherent_mem | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | aq->max_num_buffers | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | 0 | &aq->mmap_lock |
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c start_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c stop_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/platform/ti/vpe/vip.c vip_start_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->buf_ops->copy_timestamp | 0,3401818510708633600 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_user_buffer | 0,5298842246379896832,5841025948992888832 |
| PARAM_VALUE | 0 | aq->mem_ops->vaddr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_out_validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_request_complete | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->prepare_streaming | 0,24308144410918912,286021761384681472,1093081165171929088,2522930580274020352,5719911731853049856,8217013222128635904 |
| PARAM_VALUE | 0 | aq->ops->start_streaming | 1-u64max |
| PARAM_VALUE | 0 | aq->start_streaming_called | 1 |
| PARAM_VALUE | 1 | state | 3 |
| BUF_SIZE | 0 | aq | (-1),128 |
| BUF_SIZE | 0 | aq | (-1),128 |
| BUF_SIZE | 0 | aq->fileio | (-1),808 |
| BUF_SIZE | 0 | aq->owner | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | aq->min_queued_buffers | 1 |
| DATA_SOURCE | 0 | aq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | aq->max_num_buffers | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | 0 | aq->lock |
drivers/media/platform/ti/vpe/vip.c vip_stop_streaming() -> return_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aq | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->buf_ops->copy_timestamp | 0,3401818510708633600 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_user_buffer | 0,5298842246379896832,5841025948992888832 |
| PARAM_VALUE | 0 | aq->buf_ops->fill_vb2_buffer | 0,1786911256580034560,5041348282711113728 |
| PARAM_VALUE | 0 | aq->buf_ops->init_buffer | 0,384438844081053696 |
| PARAM_VALUE | 0 | aq->buf_ops->verify_planes_array | 0,6675302666440089600 |
| PARAM_VALUE | 0 | aq->mem_ops->vaddr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->buf_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | aq->ops->stop_streaming | 1-u64max |
| PARAM_VALUE | 0 | aq->start_streaming_called | 1 |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 0 | aq->threadio->thread->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 1 | state | 6 |
| BUF_SIZE | 0 | aq | (-1),632 |
| BUF_SIZE | 0 | aq | (-1),632 |
| BUF_SIZE | 0 | aq->dev | (-1),1616 |
| BUF_SIZE | 0 | aq->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 | aq->fileio | (-1),808 |
| BUF_SIZE | 0 | aq->lock | (-1),152 |
| BUF_SIZE | 0 | aq->mem_ops | (-1),120 |
| BUF_SIZE | 0 | aq->ops | (-1),96 |
| BUF_SIZE | 0 | aq->owner | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | aq->threadio | (-1),32 |
| DATA_SOURCE | 0 | aq | $0 |
| STR_LEN | 0 | aq->drv_priv | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | aq->non_coherent_mem | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | aq->max_num_buffers | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | 0 | &aq->mmap_lock |