Home
last modified time | relevance | path

Searched refs:vring_align (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/linux/
H A Dvirtio_ring.h71 unsigned int vring_align,
86 unsigned int vring_align,
102 unsigned int vring_align,
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_ring.c244 unsigned int vring_align, in vring_create_virtqueue() argument
258 for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) { in vring_create_virtqueue()
259 queue = memalign(PAGE_SIZE, vring_size(num, vring_align)); in vring_create_virtqueue()
269 queue = memalign(PAGE_SIZE, vring_size(num, vring_align)); in vring_create_virtqueue()
274 memset(queue, 0, vring_size(num, vring_align)); in vring_create_virtqueue()
275 vring_init(&vring, num, queue, vring_align); in vring_create_virtqueue()
/openbmc/linux/drivers/virtio/
H A Dvirtio_ring.c114 u32 vring_align; member
1093 unsigned int vring_align, in vring_alloc_queue_split() argument
1107 for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) { in vring_alloc_queue_split()
1108 queue = vring_alloc_queue(vdev, vring_size(num, vring_align), in vring_alloc_queue_split()
1123 queue = vring_alloc_queue(vdev, vring_size(num, vring_align), in vring_alloc_queue_split()
1130 vring_init(&vring_split->vring, num, queue, vring_align); in vring_alloc_queue_split()
1133 vring_split->queue_size_in_bytes = vring_size(num, vring_align); in vring_alloc_queue_split()
1135 vring_split->vring_align = vring_align; in vring_alloc_queue_split()
1144 unsigned int vring_align, in vring_create_virtqueue_split() argument
1158 err = vring_alloc_queue_split(&vring_split, vdev, num, vring_align, in vring_create_virtqueue_split()
[all …]
/openbmc/linux/tools/virtio/linux/
H A Dvirtio.h62 unsigned int vring_align,
/openbmc/u-boot/include/
H A Dvirtio_ring.h230 unsigned int vring_align,
/openbmc/qemu/hw/virtio/
H A Dvirtio-hmp-cmds.c257 s->vring_align); in hmp_virtio_queue_status()
H A Dvirtio.c297 vring->used = vring_align(vring->avail + in virtio_queue_update_rings()
4192 status->vring_align = vdev->vq[queue].vring.align; in qmp_x_query_virtio_queue_status()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio.h41 static inline hwaddr vring_align(hwaddr addr, in vring_align() function
/openbmc/u-boot/doc/
H A DREADME.virtio208 unsigned int vring_align,