Lines Matching defs:queue
117 * Context: Any context. Takes and releases the control queue spinlock.
126 struct virtio_snd_queue *queue = virtsnd_control_queue(snd);
150 spin_lock_irqsave(&queue->lock, flags);
151 rc = virtqueue_add_sgs(queue->vqueue, psgs, nouts, nins, msg,
154 notify = virtqueue_kick_prepare(queue->vqueue);
158 spin_unlock_irqrestore(&queue->lock, flags);
174 virtqueue_notify(queue->vqueue);
216 * Context: Any context. Expects the control queue spinlock to be held by
235 struct virtio_snd_queue *queue = virtsnd_control_queue(snd);
238 spin_lock_irqsave(&queue->lock, flags);
246 spin_unlock_irqrestore(&queue->lock, flags);
291 * Context: Interrupt context. Takes and releases the control queue spinlock.
296 struct virtio_snd_queue *queue = virtsnd_control_queue(snd);
301 spin_lock_irqsave(&queue->lock, flags);
309 spin_unlock_irqrestore(&queue->lock, flags);