void bdrv_set_io_limits(BlockDriverState *bs,

                        ThrottleConfig *cfg)

{

    int i;



    throttle_config(&bs->throttle_state, cfg);



    for (i = 0; i < 2; i++) {

        qemu_co_enter_next(&bs->throttled_reqs[i]);

    }

}

void bdrv_set_io_limits(BlockDriverState *bs,

                        ThrottleConfig *cfg)

{

    int i;



    throttle_config(&bs->throttle_state, cfg);



    for (i = 0; i < 2; i++) {

        qemu_co_enter_next(&bs->throttled_reqs[i]);

    }

}

void FUNC_0(BlockDriverState *VAR_0,

                        ThrottleConfig *VAR_1)

{

    int VAR_2;



    throttle_config(&VAR_0->throttle_state, VAR_1);



    for (VAR_2 = 0; VAR_2 < 2; VAR_2++) {

        qemu_co_enter_next(&VAR_0->throttled_reqs[VAR_2]);

    }

}

void FUNC_0(BlockDriverState *VAR_0,
ThrottleConfig *VAR_1)
{ int VAR_2; throttle_config(&VAR_0->throttle_state, VAR_1); for (VAR_2 = 0; VAR_2 < 2; VAR_2++) { qemu_co_enter_next(&VAR_0->throttled_reqs[VAR_2]); } }