Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/vhost/
Dvhost.c1539 BUILD_BUG_ON(__alignof__ *vq->used > VRING_USED_ALIGN_SIZE); in vhost_vring_set_addr()
1541 (a.used_user_addr & (VRING_USED_ALIGN_SIZE - 1)) || in vhost_vring_set_addr()
1542 (a.log_guest_addr & (VRING_USED_ALIGN_SIZE - 1))) in vhost_vring_set_addr()