Defined in 2 files as a function:
- drivers/media/pci/intel/ipu6/ipu6-isys-queue.c, line 194 (as a function)
- drivers/staging/media/ipu7/ipu7-isys-queue.c, line 203 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/staging/media/ipu7/ipu7-isys-queue.c buf_queue() -> buffer_list_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->nr_streaming | 0-s32max |
| PARAM_VALUE | 1 | bl | 622054268683128832 |
| CAPPED_DATA | 0 | stream->nr_queues | 1 |
| CAPPED_DATA | 0 | stream->nr_streaming | 1 |
| CAPPED_DATA | 0 | &stream->mutex | 1 |
| PARAM_COMPARE | 0 | stream->nr_queues | == $0->nr_streaming |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &stream->mutex | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock | ||
| TYPE_LOCK | (struct ipu7_isys_stream)->mutex |
drivers/staging/media/ipu7/ipu7-isys-queue.c ipu7_isys_stream_start() -> buffer_list_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->isys | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->isys->adev->syscom->num_output_queues | 0,3 |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->isys->stream_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->nr_queues | 0-s32max |
| PARAM_VALUE | 0 | stream->nr_streaming | 0-s32max |
| PARAM_VALUE | 0 | stream->seq_index | 0-1 |
| PARAM_VALUE | 0 | stream->stream_handle | 0-15 |
| PARAM_VALUE | 0 | stream->streaming | 1 |
| PARAM_VALUE | 0 | stream->vc | 0-15,255 |
| PARAM_VALUE | 1 | bl | 2654613932087578624 |
| BUF_SIZE | 1 | bl | 24 |
| CAPPED_DATA | 0 | &stream->isys->stream_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &stream->mutex | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| TYPE_LOCK | (struct ipu7_isys_stream)->mutex |
drivers/staging/media/ipu7/ipu7-isys-queue.c start_streaming() -> buffer_list_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->nr_streaming | 0-s32max |
| PARAM_VALUE | 0 | stream->queues.next | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->queues.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->queues.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->vc | 0-15,255 |
| PARAM_VALUE | 1 | bl | 1161453712328101888 |
| BUF_SIZE | 1 | bl | 24 |
| CAPPED_DATA | 0 | stream->nr_queues | 1 |
| CAPPED_DATA | 0 | stream->nr_streaming | 1 |
| CAPPED_DATA | 0 | &stream->mutex | 1 |
| PARAM_COMPARE | 0 | stream->nr_queues | == $0->nr_streaming |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &stream->mutex | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct ipu7_isys_stream)->mutex |
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c buf_queue() -> buffer_list_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->nr_streaming | 0-s32max |
| PARAM_VALUE | 1 | bl | 7038468230262583296 |
| CAPPED_DATA | 0 | stream->nr_queues | 1 |
| CAPPED_DATA | 0 | stream->nr_streaming | 1 |
| CAPPED_DATA | 0 | &stream->mutex | 1 |
| PARAM_COMPARE | 0 | stream->nr_queues | == $0->nr_streaming |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &stream->mutex | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock | ||
| TYPE_LOCK | (struct ipu6_isys_stream)->mutex |
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c ipu6_isys_stream_start() -> buffer_list_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->isys | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->nr_queues | 0-s32max |
| PARAM_VALUE | 0 | stream->nr_streaming | 0-s32max |
| PARAM_VALUE | 0 | stream->queues.next | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->seq_index | 0-1 |
| PARAM_VALUE | 0 | stream->stream_handle | 0-15 |
| PARAM_VALUE | 0 | stream->streaming | 1 |
| PARAM_VALUE | 0 | stream->vc | 0-15,255 |
| PARAM_VALUE | 1 | bl | 6598609926933315584 |
| PARAM_VALUE | 1 | bl->head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bl->head.prev->next | 1656799647613476864,6598609926933315584,7038468230262583296 |
| PARAM_VALUE | 1 | bl->head.prev->prev | 1656799647613476864,6598609926933315584,7038468230262583296 |
| BUF_SIZE | 1 | bl | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &stream->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct ipu6_isys_stream)->mutex |
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c start_streaming() -> buffer_list_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stream->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stream->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stream->nr_streaming | 0-s32max |
| PARAM_VALUE | 0 | stream->queues.next | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->queues.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->queues.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->vc | 0-15,255 |
| PARAM_VALUE | 1 | bl | 1656799647613476864 |
| BUF_SIZE | 1 | bl | 24 |
| CAPPED_DATA | 0 | stream->nr_queues | 1 |
| CAPPED_DATA | 0 | stream->nr_streaming | 1 |
| CAPPED_DATA | 0 | &stream->mutex | 1 |
| PARAM_COMPARE | 0 | stream->nr_queues | == $0->nr_streaming |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &stream->mutex | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct ipu6_isys_stream)->mutex |