Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/virtio/virtio_pcm_ops.c virtsnd_pcm_dev_set_params() -> virtsnd_ctl_msg_send_sync()

Type Parameter Key Value
PARAM_VALUE 0 snd 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->notify.done 0
PARAM_VALUE 1 msg->notify.wait.lock.magic 3735899821
PARAM_VALUE 1 msg->notify.wait.lock.owner (-1)
PARAM_VALUE 1 msg->notify.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 msg->ref_count.refs.counter 1
PARAM_VALUE 1 msg->sg_request.dma_address 0
PARAM_VALUE 1 msg->sg_request.dma_flags 0
PARAM_VALUE 1 msg->sg_request.dma_length 0
PARAM_VALUE 1 msg->sg_request.length 0
PARAM_VALUE 1 msg->sg_request.offset 0
PARAM_VALUE 1 msg->sg_request.page_link 0
PARAM_VALUE 1 msg->sg_response.dma_address 0
PARAM_VALUE 1 msg->sg_response.dma_flags 0
PARAM_VALUE 1 msg->sg_response.dma_length 0
PARAM_VALUE 1 msg->sg_response.length 0
PARAM_VALUE 1 msg->sg_response.offset 0
PARAM_VALUE 1 msg->sg_response.page_link 0
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
DATA_SOURCE 1 msg r virtsnd_pcm_ctl_msg_alloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->buffer_mutex

sound/virtio/virtio_pcm_ops.c virtsnd_pcm_prepare() -> virtsnd_ctl_msg_send_sync()

Type Parameter Key Value
PARAM_VALUE 0 snd 4096-ptr_max
PARAM_VALUE 0 snd->ctl_msgs.prev 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->notify.done 0
PARAM_VALUE 1 msg->notify.wait.lock.magic 3735899821
PARAM_VALUE 1 msg->notify.wait.lock.owner (-1)
PARAM_VALUE 1 msg->notify.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 msg->ref_count.refs.counter 1
PARAM_VALUE 1 msg->sg_request.dma_address 0
PARAM_VALUE 1 msg->sg_request.dma_flags 0
PARAM_VALUE 1 msg->sg_request.dma_length 0
PARAM_VALUE 1 msg->sg_request.length 0
PARAM_VALUE 1 msg->sg_request.offset 0
PARAM_VALUE 1 msg->sg_request.page_link 0
PARAM_VALUE 1 msg->sg_response.dma_address 0
PARAM_VALUE 1 msg->sg_response.dma_flags 0
PARAM_VALUE 1 msg->sg_response.dma_length 0
PARAM_VALUE 1 msg->sg_response.length 0
PARAM_VALUE 1 msg->sg_response.offset 0
PARAM_VALUE 1 msg->sg_response.page_link 0
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
DATA_SOURCE 1 msg r virtsnd_pcm_ctl_msg_alloc
RX_PATH
TASK_NOT_RUNNING

sound/virtio/virtio_pcm_ops.c virtsnd_pcm_sync_stop() -> virtsnd_ctl_msg_send_sync()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->notify.done 0
PARAM_VALUE 1 msg->notify.wait.lock.magic 3735899821
PARAM_VALUE 1 msg->notify.wait.lock.owner (-1)
PARAM_VALUE 1 msg->notify.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 msg->ref_count.refs.counter 1
PARAM_VALUE 1 msg->sg_request.dma_address 0
PARAM_VALUE 1 msg->sg_request.dma_flags 0
PARAM_VALUE 1 msg->sg_request.dma_length 0
PARAM_VALUE 1 msg->sg_request.length 0
PARAM_VALUE 1 msg->sg_request.offset 0
PARAM_VALUE 1 msg->sg_request.page_link 0
PARAM_VALUE 1 msg->sg_response.dma_address 0
PARAM_VALUE 1 msg->sg_response.dma_flags 0
PARAM_VALUE 1 msg->sg_response.dma_length 0
PARAM_VALUE 1 msg->sg_response.length 0
PARAM_VALUE 1 msg->sg_response.offset 0
PARAM_VALUE 1 msg->sg_response.page_link 0
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
DATA_SOURCE 1 msg r virtsnd_pcm_ctl_msg_alloc
RX_PATH
TASK_NOT_RUNNING

sound/virtio/virtio_pcm_ops.c virtsnd_pcm_trigger() -> virtsnd_ctl_msg_send_sync()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->notify.done 0
PARAM_VALUE 1 msg->notify.wait.lock.magic 3735899821
PARAM_VALUE 1 msg->notify.wait.lock.owner (-1)
PARAM_VALUE 1 msg->notify.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 msg->ref_count.refs.counter 1
PARAM_VALUE 1 msg->sg_request.dma_address 0
PARAM_VALUE 1 msg->sg_request.dma_flags 0
PARAM_VALUE 1 msg->sg_request.dma_length 0
PARAM_VALUE 1 msg->sg_request.length 0
PARAM_VALUE 1 msg->sg_request.offset 0
PARAM_VALUE 1 msg->sg_request.page_link 0
PARAM_VALUE 1 msg->sg_response.dma_address 0
PARAM_VALUE 1 msg->sg_response.dma_flags 0
PARAM_VALUE 1 msg->sg_response.dma_length 0
PARAM_VALUE 1 msg->sg_response.length 0
PARAM_VALUE 1 msg->sg_response.offset 0
PARAM_VALUE 1 msg->sg_response.page_link 0
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
DATA_SOURCE 1 msg r virtsnd_pcm_ctl_msg_alloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex
HALF_LOCKED2 _T->lock

sound/virtio/virtio_pcm_ops.c virtsnd_pcm_trigger() -> virtsnd_ctl_msg_send_sync()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->notify.done 0
PARAM_VALUE 1 msg->notify.wait.lock.magic 3735899821
PARAM_VALUE 1 msg->notify.wait.lock.owner (-1)
PARAM_VALUE 1 msg->notify.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 msg->ref_count.refs.counter 1
PARAM_VALUE 1 msg->sg_request.dma_address 0
PARAM_VALUE 1 msg->sg_request.dma_flags 0
PARAM_VALUE 1 msg->sg_request.dma_length 0
PARAM_VALUE 1 msg->sg_request.length 0
PARAM_VALUE 1 msg->sg_request.offset 0
PARAM_VALUE 1 msg->sg_request.page_link 0
PARAM_VALUE 1 msg->sg_response.dma_address 0
PARAM_VALUE 1 msg->sg_response.dma_flags 0
PARAM_VALUE 1 msg->sg_response.dma_length 0
PARAM_VALUE 1 msg->sg_response.length 0
PARAM_VALUE 1 msg->sg_response.offset 0
PARAM_VALUE 1 msg->sg_response.page_link 0
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
DATA_SOURCE 1 msg r virtsnd_pcm_ctl_msg_alloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex
HALF_LOCKED2 _T->lock

sound/virtio/virtio_kctl.c virtsnd_kctl_get() -> virtsnd_ctl_msg_send_sync()

Type Parameter Key Value
PARAM_VALUE 0 snd->kctl_infos 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->notify.done 0
PARAM_VALUE 1 msg->notify.wait.lock.magic 3735899821
PARAM_VALUE 1 msg->notify.wait.lock.owner (-1)
PARAM_VALUE 1 msg->notify.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 msg->ref_count.refs.counter s32min-s32max
PARAM_VALUE 1 msg->sg_request.dma_address 0
PARAM_VALUE 1 msg->sg_request.dma_flags 0
PARAM_VALUE 1 msg->sg_request.dma_length 0
PARAM_VALUE 1 msg->sg_request.offset 0-4095
PARAM_VALUE 1 msg->sg_response.dma_address 0
PARAM_VALUE 1 msg->sg_response.dma_flags 0
PARAM_VALUE 1 msg->sg_response.dma_length 0
PARAM_VALUE 1 msg->sg_response.offset 0-4095
BUF_SIZE 0 snd s32min-(-2),1-s32max
BUF_SIZE 0 snd s32min-(-2),1-s32max
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
DATA_SOURCE 1 msg r virtsnd_ctl_msg_alloc
RX_PATH
TASK_NOT_RUNNING
UNITS 0 snd unit_byte
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/virtio/virtio_kctl.c virtsnd_kctl_put() -> virtsnd_ctl_msg_send_sync()

Type Parameter Key Value
PARAM_VALUE 0 snd->kctl_infos 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->notify.done 0
PARAM_VALUE 1 msg->notify.wait.lock.magic 3735899821
PARAM_VALUE 1 msg->notify.wait.lock.owner (-1)
PARAM_VALUE 1 msg->notify.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 msg->ref_count.refs.counter 1
PARAM_VALUE 1 msg->sg_request.dma_address 0
PARAM_VALUE 1 msg->sg_request.dma_flags 0
PARAM_VALUE 1 msg->sg_request.dma_length 0
PARAM_VALUE 1 msg->sg_request.offset 0-4095
PARAM_VALUE 1 msg->sg_response.dma_address 0
PARAM_VALUE 1 msg->sg_response.dma_flags 0
PARAM_VALUE 1 msg->sg_response.dma_length 0
PARAM_VALUE 1 msg->sg_response.offset 0-4095
BUF_SIZE 0 snd (-1),72,104,256,376,448,2728
BUF_SIZE 0 snd (-1),72,104,256,376,448,2728
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
BUF_SIZE 1 msg 196,204,212,708,716,724,1220
DATA_SOURCE 1 msg r virtsnd_ctl_msg_alloc
RX_PATH
TASK_NOT_RUNNING
UNITS 0 snd unit_byte
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock