Searched refs:VRING_USED_ALIGN_SIZE (Results 1 – 2 of 2) sorted by relevance
93 #define VRING_USED_ALIGN_SIZE 4 macro128 typedef struct vring_used_elem __attribute__((aligned(VRING_USED_ALIGN_SIZE)))155 typedef struct vring_used __attribute__((aligned(VRING_USED_ALIGN_SIZE)))
1539 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()