Lines Matching refs:msg_sz
164 size_t msg_sz = iov_to_buf(cmd->elem->out_sg, in virtio_snd_handle_pcm_info() local
170 if (msg_sz != sizeof(virtio_snd_query_info)) { in virtio_snd_handle_pcm_info()
176 %zu\n", __func__, msg_sz, sizeof(virtio_snd_query_info)); in virtio_snd_handle_pcm_info()
293 size_t msg_sz = iov_to_buf(cmd->elem->out_sg, in virtio_snd_handle_pcm_set_params() local
299 if (msg_sz != sizeof(virtio_snd_pcm_set_params)) { in virtio_snd_handle_pcm_set_params()
305 %zu\n", __func__, msg_sz, sizeof(virtio_snd_pcm_set_params)); in virtio_snd_handle_pcm_set_params()
513 size_t msg_sz = iov_to_buf(cmd->elem->out_sg, in virtio_snd_handle_pcm_prepare() local
520 cmd->resp.code = msg_sz == sizeof(stream_id) in virtio_snd_handle_pcm_prepare()
539 size_t msg_sz = iov_to_buf(cmd->elem->out_sg, in virtio_snd_handle_pcm_start_stop() local
545 if (msg_sz != sizeof(virtio_snd_pcm_hdr)) { in virtio_snd_handle_pcm_start_stop()
548 %zu\n", __func__, msg_sz, sizeof(virtio_snd_pcm_hdr)); in virtio_snd_handle_pcm_start_stop()
605 size_t msg_sz = iov_to_buf(cmd->elem->out_sg, in virtio_snd_handle_pcm_release() local
611 if (msg_sz != sizeof(stream_id)) { in virtio_snd_handle_pcm_release()
617 %zu\n", __func__, msg_sz, sizeof(stream_id)); in virtio_snd_handle_pcm_release()
664 size_t msg_sz = iov_to_buf(cmd->elem->out_sg, in process_cmd() local
670 if (msg_sz != sizeof(virtio_snd_hdr)) { in process_cmd()
676 %zu\n", __func__, msg_sz, sizeof(virtio_snd_hdr)); in process_cmd()
851 size_t msg_sz, size; in virtio_snd_handle_tx_xfer() local
873 msg_sz = iov_to_buf(elem->out_sg, in virtio_snd_handle_tx_xfer()
878 if (msg_sz != sizeof(virtio_snd_pcm_xfer)) { in virtio_snd_handle_tx_xfer()
894 size = iov_size(elem->out_sg, elem->out_num) - msg_sz; in virtio_snd_handle_tx_xfer()
932 size_t msg_sz, size; in virtio_snd_handle_rx_xfer() local
954 msg_sz = iov_to_buf(elem->out_sg, in virtio_snd_handle_rx_xfer()
959 if (msg_sz != sizeof(virtio_snd_pcm_xfer)) { in virtio_snd_handle_rx_xfer()