Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- sound/virtio/virtio_ctl_msg.c
- sound/virtio/virtio_kctl.c
- sound/virtio/virtio_pcm_msg.c, line 408
- sound/virtio/virtio_pcm_ops.c, line 189
Smatch caller information:
sound/virtio/virtio_pcm_ops.c virtsnd_pcm_dev_set_params() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | msg->ref_count.refs.counter | 1 |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0 |
| PARAM_VALUE | 0 | msg->sg_request.page_link | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0 |
| PARAM_VALUE | 0 | msg->sg_response.page_link | 0 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | r virtsnd_pcm_ctl_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/virtio/virtio_kctl.c virtsnd_kctl_get() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | msg->ref_count.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0-4095 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0-4095 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | r virtsnd_ctl_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/virtio/virtio_kctl.c virtsnd_kctl_get_enum_items() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | msg->ref_count.refs.counter | 1 |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0-4095 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0-4095 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | r virtsnd_ctl_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/virtio/virtio_kctl.c virtsnd_kctl_put() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | msg->ref_count.refs.counter | 1 |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0-4095 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0-4095 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | r virtsnd_ctl_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/virtio/virtio_kctl.c virtsnd_kctl_tlv_op() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | msg->ref_count.refs.counter | 1 |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0-4095 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0-4095 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | r virtsnd_ctl_msg_alloc |
| HALF_LOCKED2 | _T->lock |
sound/virtio/virtio_pcm_msg.c virtsnd_pcm_ctl_msg_alloc() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | msg->ref_count.refs.counter | 1 |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0-4095 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0-4095 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | r virtsnd_ctl_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/virtio/virtio_ctl_msg.c virtsnd_ctl_msg_send() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0-4095 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0-4095 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/virtio/virtio_ctl_msg.c virtsnd_ctl_query_info() -> virtsnd_ctl_msg_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.done | 0 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | msg->notify.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | msg->notify.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->notify.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->ref_count.refs.counter | 1 |
| PARAM_VALUE | 0 | msg->sg_request.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_request.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_request.offset | 0-4095 |
| PARAM_VALUE | 0 | msg->sg_response.dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg_response.dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg_response.offset | 0-4095 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| BUF_SIZE | 0 | msg | 196,204,212,708,716,724,1220 |
| DATA_SOURCE | 0 | msg | r virtsnd_ctl_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |