vu_queue_notify(VuDev *dev, VuVirtq *vq)

{

    if (unlikely(dev->broken)) {

        return;

    }



    if (!vring_notify(dev, vq)) {

        DPRINT("skipped notify...\n");

        return;

    }



    if (eventfd_write(vq->call_fd, 1) < 0) {

        vu_panic(dev, "Error writing eventfd: %s", strerror(errno));

    }

}

vu_queue_notify(VuDev *dev, VuVirtq *vq)

{

    if (unlikely(dev->broken)) {

        return;

    }



    if (!vring_notify(dev, vq)) {

        DPRINT("skipped notify...\n");

        return;

    }



    if (eventfd_write(vq->call_fd, 1) < 0) {

        vu_panic(dev, "Error writing eventfd: %s", strerror(errno));

    }

}

    if (unlikely(dev->broken)) {     if (unlikely(dev->broken)) {     if (unlikely(dev->broken)) {     if (unlikely(dev->broken)) {
FUNC_0(VuDev *VAR_0, VuVirtq *VAR_1)

{

    if (unlikely(VAR_0->broken)) {

        return;

    }



    if (!vring_notify(VAR_0, VAR_1)) {

        DPRINT("skipped notify...\n");

        return;

    }



    if (eventfd_write(VAR_1->call_fd, 1) < 0) {

        vu_panic(VAR_0, "Error writing eventfd: %s", strerror(errno));

    }

}

FUNC_0(VuDev *VAR_0, VuVirtq *VAR_1)
{ if (unlikely(VAR_0->broken)) { return; } if (!vring_notify(VAR_0, VAR_1)) { DPRINT("skipped notify...\n"); return; } if (eventfd_write(VAR_1->call_fd, 1) < 0) { vu_panic(VAR_0, "Error writing eventfd: %s", strerror(errno)); } }