Lines Matching defs:queue
197 * Context: Any context. Expects the tx/rx queue and the VirtIO substream
279 * of the queue.
333 * @queue: Underlying tx/rx virtqueue.
335 * Context: Interrupt context. Takes and releases the tx/rx queue spinlock.
337 static inline void virtsnd_pcm_notify_cb(struct virtio_snd_queue *queue)
343 spin_lock_irqsave(&queue->lock, flags);
345 virtqueue_disable_cb(queue->vqueue);
346 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes)))
348 if (unlikely(virtqueue_is_broken(queue->vqueue)))
350 } while (!virtqueue_enable_cb(queue->vqueue));
351 spin_unlock_irqrestore(&queue->lock, flags);