Lines Matching defs:size
106 /* DMA address and size information */
146 /* DMA address and size information */
210 /* DMA, allocation, and size information */
311 static void *vring_alloc_queue(struct virtio_device *vdev, size_t size,
316 return dma_alloc_coherent(dma_dev, size,
319 void *queue = alloc_pages_exact(PAGE_ALIGN(size), flag);
337 free_pages_exact(queue, PAGE_ALIGN(size));
345 static void vring_free_queue(struct virtio_device *vdev, size_t size,
350 dma_free_coherent(dma_dev, size, queue, dma_handle);
352 free_pages_exact(queue, PAGE_ALIGN(size));
401 void *cpu_addr, size_t size,
408 cpu_addr, size, direction);
2730 * -ENOMEM: Failed to allocate a new ring, fall back to the original ring size.
2973 * virtqueue_get_vring_size - return the size of the virtqueue's vring
2976 * Returns the size of the vring. This is mainly used for boasting to
3113 * @size: the size of the buffer to do dma
3123 size_t size,
3132 return dma_map_single_attrs(vring_dma_dev(vq), ptr, size, dir, attrs);
3140 * @size: the size of the buffer
3148 size_t size, enum dma_data_direction dir,
3156 dma_unmap_single_attrs(vring_dma_dev(vq), addr, size, dir, attrs);
3204 * @size: buf size for sync
3213 unsigned long offset, size_t size,
3222 dma_sync_single_range_for_cpu(dev, addr, offset, size, dir);
3231 * @size: buf size for sync
3239 unsigned long offset, size_t size,
3248 dma_sync_single_range_for_device(dev, addr, offset, size, dir);