Lines Matching refs:queue
126 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); in virtsnd_ctl_msg_send() local
150 spin_lock_irqsave(&queue->lock, flags); in virtsnd_ctl_msg_send()
151 rc = virtqueue_add_sgs(queue->vqueue, psgs, nouts, nins, msg, in virtsnd_ctl_msg_send()
154 notify = virtqueue_kick_prepare(queue->vqueue); in virtsnd_ctl_msg_send()
158 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_ctl_msg_send()
174 virtqueue_notify(queue->vqueue); in virtsnd_ctl_msg_send()
235 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); in virtsnd_ctl_msg_cancel_all() local
238 spin_lock_irqsave(&queue->lock, flags); in virtsnd_ctl_msg_cancel_all()
246 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_ctl_msg_cancel_all()
296 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); in virtsnd_ctl_notify_cb() local
301 spin_lock_irqsave(&queue->lock, flags); in virtsnd_ctl_notify_cb()
307 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_ctl_notify_cb()