static inline void vring_used_flags_unset_bit(VirtQueue *vq, int mask)

{

    VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);

    VirtIODevice *vdev = vq->vdev;

    hwaddr pa = offsetof(VRingUsed, flags);

    uint16_t flags = virtio_lduw_phys_cached(vq->vdev, &caches->used, pa);



    virtio_stw_phys_cached(vdev, &caches->used, pa, flags & ~mask);

    address_space_cache_invalidate(&caches->used, pa, sizeof(flags));

}

static inline void vring_used_flags_unset_bit(VirtQueue *vq, int mask)

{

    VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);

    VirtIODevice *vdev = vq->vdev;

    hwaddr pa = offsetof(VRingUsed, flags);

    uint16_t flags = virtio_lduw_phys_cached(vq->vdev, &caches->used, pa);



    virtio_stw_phys_cached(vdev, &caches->used, pa, flags & ~mask);

    address_space_cache_invalidate(&caches->used, pa, sizeof(flags));

}

    VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);     VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);     VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);     VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);     VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);     VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);     VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);     VRingMemoryRegionCaches *caches = atomic_rcu_read(&vq->vring.caches);
static inline void FUNC_0(VirtQueue *VAR_0, int VAR_1)

{

    VRingMemoryRegionCaches *caches = atomic_rcu_read(&VAR_0->vring.caches);

    VirtIODevice *vdev = VAR_0->vdev;

    hwaddr pa = offsetof(VRingUsed, flags);

    uint16_t flags = virtio_lduw_phys_cached(VAR_0->vdev, &caches->used, pa);



    virtio_stw_phys_cached(vdev, &caches->used, pa, flags & ~VAR_1);

    address_space_cache_invalidate(&caches->used, pa, sizeof(flags));

}

static inline void FUNC_0(VirtQueue *VAR_0, int VAR_1)
{ VRingMemoryRegionCaches *caches = atomic_rcu_read(&VAR_0->vring.caches); VirtIODevice *vdev = VAR_0->vdev; hwaddr pa = offsetof(VRingUsed, flags); uint16_t flags = virtio_lduw_phys_cached(VAR_0->vdev, &caches->used, pa); virtio_stw_phys_cached(vdev, &caches->used, pa, flags & ~VAR_1); address_space_cache_invalidate(&caches->used, pa, sizeof(flags)); }