Defined in 1 files as a function:
Referenced in 5 files:
- drivers/media/pci/cx18/cx18-ioctl.c, line 840
- drivers/media/pci/cx18/cx18-mailbox.c
- drivers/media/pci/cx18/cx18-queue.c
- drivers/media/pci/cx18/cx18-streams.c
- drivers/media/pci/cx18/cx18-streams.h, line 38
Smatch caller information:
drivers/media/pci/cx18/cx18-streams.c _cx18_stream_put_mdl_fw() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cx->card->hw_audio_ctrl | 16 |
| PARAM_VALUE | 0 | s->q_busy.depth.counter | s32min-62 |
| PARAM_VALUE | 0 | s->q_free.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| BUF_SIZE | 0 | s | (-1),2704,2992,4248,6624,7168,14336,50000,60000 |
| BUF_SIZE | 0 | s | (-1),2704,2992,4248,6624,7168,14336,50000,60000 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | mdl | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &s->dvb->feedlock |
drivers/media/pci/cx18/cx18-streams.c _cx18_stream_put_mdl_fw() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cx->card->hw_audio_ctrl | 16 |
| PARAM_VALUE | 0 | s->handle | 0-4294967294 |
| PARAM_VALUE | 0 | s->q_busy.depth.counter | s32min-62 |
| PARAM_VALUE | 0 | s->q_free.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| PARAM_VALUE | 2 | q->depth.counter | s32min-62 |
| BUF_SIZE | 0 | s | (-1),2704,2992,4248,6624,7168,14336,50000,60000 |
| BUF_SIZE | 0 | s | (-1),2704,2992,4248,6624,7168,14336,50000,60000 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | mdl | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &s->dvb->feedlock |
drivers/media/pci/cx18/cx18-streams.c cx18_stream_rotate_idx_mdls() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dvb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->q_full.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->type | 5 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| BUF_SIZE | 0 | s | 7168 |
| BUF_SIZE | 0 | s | 7168 |
| DATA_SOURCE | 1 | mdl | r cx18_dequeue |
| PARAM_COMPARE | 0 | &s->q_full.list | != $0->q_full.list.next |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-mailbox.c epu_dma_done() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dvb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0-4294967294 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| CAPPED_DATA | 1 | mdl->id | 1 |
| DATA_SOURCE | 0 | s | r cx18_handle_to_stream |
| DATA_SOURCE | 1 | mdl | r cx18_queue_get_mdl |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-mailbox.c epu_dma_done() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0-4294967294 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| CAPPED_DATA | 1 | mdl->id | 1 |
| DATA_SOURCE | 0 | s | r cx18_handle_to_stream |
| DATA_SOURCE | 1 | mdl | r cx18_queue_get_mdl |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-mailbox.c epu_dma_done() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0-4294967294 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| CAPPED_DATA | 1 | mdl->id | 1 |
| DATA_SOURCE | 0 | s | r cx18_handle_to_stream |
| DATA_SOURCE | 1 | mdl | r cx18_queue_get_mdl |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-mailbox.c epu_dma_done() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0-4294967294 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| CAPPED_DATA | 1 | mdl->id | 1 |
| DATA_SOURCE | 0 | s | r cx18_handle_to_stream |
| DATA_SOURCE | 1 | mdl | r cx18_queue_get_mdl |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-mailbox.c epu_dma_done() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0-4294967294 |
| PARAM_VALUE | 0 | s->type | 5 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| CAPPED_DATA | 1 | mdl->id | 1 |
| DATA_SOURCE | 0 | s | r cx18_handle_to_stream |
| DATA_SOURCE | 1 | mdl | r cx18_queue_get_mdl |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-queue.c cx18_load_queues() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf_pool.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf_pool.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf_pool.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->bufs_per_mdl | 0-s32max |
| PARAM_VALUE | 0 | s->cx | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cx->card->hw_audio_ctrl | 16 |
| PARAM_VALUE | 0 | s->cx->scb->cpu_mdl_ack | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cx->vbi.frame | 0 |
| PARAM_VALUE | 0 | s->cx->vbi.inserted_frame | 0 |
| PARAM_VALUE | 0 | s->dvb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->q_busy.bytesused | 0 |
| PARAM_VALUE | 0 | s->q_busy.depth.counter | 0 |
| PARAM_VALUE | 0 | s->q_full.bytesused | 0 |
| PARAM_VALUE | 0 | s->q_full.depth.counter | 0 |
| PARAM_VALUE | 0 | s->q_idle.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->type | 0-5 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| BUF_SIZE | 0 | s | 2704,2992,4248,6624,7168,14336,50000,60000 |
| BUF_SIZE | 0 | s | 2704,2992,4248,6624,7168,14336,50000,60000 |
| CAPPED_DATA | 0 | s->bufs_per_mdl | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | mdl | r cx18_dequeue |
| PARAM_COMPARE | 0 | &s->q_idle.list | != $0->q_idle.list.next |
| BIT_INFO | 1 | mdl->id | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cx->serialize_lock | ||
| HALF_LOCKED2 | 0 | &s->dvb->feedlock |
drivers/media/pci/cx18/cx18-queue.c cx18_queue_get_mdl() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0-4294967294 |
| PARAM_VALUE | 0 | s->q_busy.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->type | 5 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| CAPPED_DATA | 0 | &s->q_busy.list | 1 |
| DATA_SOURCE | 0 | s | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-queue.c cx18_stream_alloc() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->buf_size | 0-4000000 |
| PARAM_VALUE | 0 | s->buffers | 1-u32max |
| PARAM_VALUE | 0 | s->cx | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cx->scb->cpu_mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->buf_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->buf_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->buf_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->buf_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->buf_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| BUF_SIZE | 1 | mdl | 64 |
| CAPPED_DATA | 0 | &s->cx->pci_dev->dev | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | mdl | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-fileops.c cx18_stream_put_mdl_fw() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | *s->cx->vbi.sliced_mpeg_size | 0-4294967295 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| BUF_SIZE | 0 | s | (-1),14336 |
| BUF_SIZE | 0 | s | (-1),14336 |
| BUF_SIZE | 1 | mdl | (-1),64 |
| BUF_SIZE | 1 | mdl | (-1),64 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | mdl | $1 |
| NOCHECK_CALL |
drivers/media/pci/cx18/cx18-ioctl.c cx18_g_enc_index() -> cx18_enqueue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dvb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->q_full.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->type | 5 |
| PARAM_VALUE | 1 | mdl | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | mdl->skipped | 0 |
| PARAM_VALUE | 2 | q | 4096-ptr_max |
| BUF_SIZE | 0 | s | 7168 |
| BUF_SIZE | 0 | s | 7168 |
| CAPPED_DATA | 1 | mdl->bytesused | 1 |
| DATA_SOURCE | 1 | mdl | r cx18_dequeue |
| PARAM_COMPARE | 0 | &s->q_full.list | != $0->q_full.list.next |
| PARAM_COMPARE | 1 | mdl->bytesused | <= $1->readpos |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |