Home
last modified time | relevance | path

Searched refs:vring_size (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/tools/virtio/
Dvringh_test.c154 mapsize = vring_size(RINGSIZE, ALIGN) in parallel_test()
300 data = guest_map + vring_size(RINGSIZE, ALIGN); in parallel_test()
483 memset(__user_addr_min, 0, vring_size(RINGSIZE, ALIGN)); in main()
511 __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); in main()
561 __kfree_ignore_start = __user_addr_min + vring_size(RINGSIZE, ALIGN); in main()
580 __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); in main()
Dvirtio_test.c103 memset(info->ring, 0, vring_size(num, 4096)); in vq_reset()
118 r = posix_memalign(&info->ring, 4096, vring_size(num, 4096)); in vq_info_add()
/linux-5.19.10/tools/virtio/ringtest/
Dvirtio_ring_0_9.c70 ret = posix_memalign(&p, 0x1000, vring_size(ring_size, 0x1000)); in alloc_ring()
75 memset(p, 0, vring_size(ring_size, 0x1000)); in alloc_ring()
/linux-5.19.10/include/uapi/linux/
Dvirtio_ring.h203 static inline unsigned vring_size(unsigned int num, unsigned long align) in vring_size() function
/linux-5.19.10/drivers/platform/mellanox/
Dmlxbf-tmfifo.c217 size = vring_size(vring->num, vring->align); in mlxbf_tmfifo_free_vrings()
248 size = vring_size(vring->num, vring->align); in mlxbf_tmfifo_alloc_vrings()
950 size = vring_size(vring->num, vring->align); in mlxbf_tmfifo_virtio_find_vqs()
/linux-5.19.10/drivers/remoteproc/
Dremoteproc_virtio.c110 size = vring_size(len, rvring->align); in rp_find_vq()
Dremoteproc_core.c337 size = PAGE_ALIGN(vring_size(rvring->len, rvring->align)); in rproc_alloc_vring()
/linux-5.19.10/drivers/virtio/
Dvirtio_ring.c935 for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) { in vring_create_virtqueue_split()
936 queue = vring_alloc_queue(vdev, vring_size(num, vring_align), in vring_create_virtqueue_split()
950 queue = vring_alloc_queue(vdev, vring_size(num, vring_align), in vring_create_virtqueue_split()
956 queue_size_in_bytes = vring_size(num, vring_align); in vring_create_virtqueue_split()