static void bdrv_co_maybe_schedule_bh(BlockAIOCBCoroutine *acb)

{

    acb->need_bh = false;

    if (acb->req.error != -EINPROGRESS) {

        BlockDriverState *bs = acb->common.bs;



        acb->bh = aio_bh_new(bdrv_get_aio_context(bs), bdrv_co_em_bh, acb);

        qemu_bh_schedule(acb->bh);

    }

}

static void bdrv_co_maybe_schedule_bh(BlockAIOCBCoroutine *acb)

{

    acb->need_bh = false;

    if (acb->req.error != -EINPROGRESS) {

        BlockDriverState *bs = acb->common.bs;



        acb->bh = aio_bh_new(bdrv_get_aio_context(bs), bdrv_co_em_bh, acb);

        qemu_bh_schedule(acb->bh);

    }

}

static void FUNC_0(BlockAIOCBCoroutine *VAR_0)

{

    VAR_0->need_bh = false;

    if (VAR_0->req.error != -EINPROGRESS) {

        BlockDriverState *bs = VAR_0->common.bs;



        VAR_0->bh = aio_bh_new(bdrv_get_aio_context(bs), bdrv_co_em_bh, VAR_0);

        qemu_bh_schedule(VAR_0->bh);

    }

}

static void FUNC_0(BlockAIOCBCoroutine *VAR_0)
{ VAR_0->need_bh = false; if (VAR_0->req.error != -EINPROGRESS) { BlockDriverState *bs = VAR_0->common.bs; VAR_0->bh = aio_bh_new(bdrv_get_aio_context(bs), bdrv_co_em_bh, VAR_0); qemu_bh_schedule(VAR_0->bh); } }