void bdrv_parent_drained_begin(BlockDriverState *bs)

{

    BdrvChild *c;



    QLIST_FOREACH(c, &bs->parents, next_parent) {

        if (c->role->drained_begin) {

            c->role->drained_begin(c);

        }

    }

}

void bdrv_parent_drained_begin(BlockDriverState *bs)

{

    BdrvChild *c;



    QLIST_FOREACH(c, &bs->parents, next_parent) {

        if (c->role->drained_begin) {

            c->role->drained_begin(c);

        }

    }

}

void FUNC_0(BlockDriverState *VAR_0)

{

    BdrvChild *c;



    QLIST_FOREACH(c, &VAR_0->parents, next_parent) {

        if (c->role->drained_begin) {

            c->role->drained_begin(c);

        }

    }

}

void FUNC_0(BlockDriverState *VAR_0)
{ BdrvChild *c; QLIST_FOREACH(c, &VAR_0->parents, next_parent) { if (c->role->drained_begin) { c->role->drained_begin(c); } } }