Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dvirtio_ring.h93 #define VRING_USED_ALIGN_SIZE 4 macro
122 typedef struct vring_used_elem __attribute__((aligned(VRING_USED_ALIGN_SIZE)))
149 typedef struct vring_used __attribute__((aligned(VRING_USED_ALIGN_SIZE)))
/Linux-v5.10/drivers/vhost/
Dvhost.c1521 BUILD_BUG_ON(__alignof__ *vq->used > VRING_USED_ALIGN_SIZE); in vhost_vring_set_addr()
1523 (a.used_user_addr & (VRING_USED_ALIGN_SIZE - 1)) || in vhost_vring_set_addr()
1524 (a.log_guest_addr & (VRING_USED_ALIGN_SIZE - 1))) in vhost_vring_set_addr()