Home
last modified time | relevance | path

Searched refs:VRING_USED_ALIGN_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/uapi/linux/
Dvirtio_ring.h93 #define VRING_USED_ALIGN_SIZE 4 macro
128 typedef struct vring_used_elem __attribute__((aligned(VRING_USED_ALIGN_SIZE)))
155 typedef struct vring_used __attribute__((aligned(VRING_USED_ALIGN_SIZE)))
/linux-6.6.21/drivers/vhost/
Dvhost.c1820 BUILD_BUG_ON(__alignof__ *vq->used > VRING_USED_ALIGN_SIZE); in vhost_vring_set_addr()
1822 (a.used_user_addr & (VRING_USED_ALIGN_SIZE - 1)) || in vhost_vring_set_addr()
1823 (a.log_guest_addr & (VRING_USED_ALIGN_SIZE - 1))) in vhost_vring_set_addr()