Lines Matching refs:queue
90 /* Actual memory layout for this queue. */
119 /* Actual memory layout for this queue. */
319 void *queue = alloc_pages_exact(PAGE_ALIGN(size), flag);
321 if (queue) {
322 phys_addr_t phys_addr = virt_to_phys(queue);
337 free_pages_exact(queue, PAGE_ALIGN(size));
341 return queue;
346 void *queue, dma_addr_t dma_handle,
350 dma_free_coherent(dma_dev, size, queue, dma_handle);
352 free_pages_exact(queue, PAGE_ALIGN(size));
840 pr_debug("No more buffers in queue\n");
1097 void *queue = NULL;
1106 /* TODO: allocate each queue chunk individually */
1108 queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
1112 if (queue)
1121 if (!queue) {
1123 queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
1127 if (!queue)
1130 vring_init(&vring_split->vring, num, queue, vring_align);
1690 pr_debug("No more buffers in queue\n");
2360 * Returns false if host notify failed or queue is broken, otherwise true.
2454 * This re-enables callbacks; it returns current queue state
2479 * Returns "true" if there are pending used buffers in the queue.
2501 * buffers in the queue, to detect a possible race between the driver
2521 * it returns "false" if there are many pending buffers in the queue,
2545 * This is not valid on an active queue; it is useful for device
2546 * shutdown or the reset queue.