void stream_start(BlockDriverState *bs, BlockDriverState *base,

                  const char *base_id, int64_t speed,

                  BlockDriverCompletionFunc *cb,

                  void *opaque, Error **errp)

{

    StreamBlockJob *s;

    Coroutine *co;



    s = block_job_create(&stream_job_type, bs, speed, cb, opaque, errp);

    if (!s) {

        return;

    }



    s->base = base;

    if (base_id) {

        pstrcpy(s->backing_file_id, sizeof(s->backing_file_id), base_id);

    }



    co = qemu_coroutine_create(stream_run);

    trace_stream_start(bs, base, s, co, opaque);

    qemu_coroutine_enter(co, s);

}

void stream_start(BlockDriverState *bs, BlockDriverState *base,

                  const char *base_id, int64_t speed,

                  BlockDriverCompletionFunc *cb,

                  void *opaque, Error **errp)

{

    StreamBlockJob *s;

    Coroutine *co;



    s = block_job_create(&stream_job_type, bs, speed, cb, opaque, errp);

    if (!s) {

        return;

    }



    s->base = base;

    if (base_id) {

        pstrcpy(s->backing_file_id, sizeof(s->backing_file_id), base_id);

    }



    co = qemu_coroutine_create(stream_run);

    trace_stream_start(bs, base, s, co, opaque);

    qemu_coroutine_enter(co, s);

}

    Coroutine *co;     co = qemu_coroutine_create(stream_run);     trace_stream_start(bs, base, s, co, opaque);     qemu_coroutine_enter(co, s);
void FUNC_0(BlockDriverState *VAR_0, BlockDriverState *VAR_1,

                  const char *VAR_2, int64_t VAR_3,

                  BlockDriverCompletionFunc *VAR_4,

                  void *VAR_5, Error **VAR_6)

{

    StreamBlockJob *s;

    Coroutine *co;



    s = block_job_create(&stream_job_type, VAR_0, VAR_3, VAR_4, VAR_5, VAR_6);

    if (!s) {

        return;

    }



    s->VAR_1 = VAR_1;

    if (VAR_2) {

        pstrcpy(s->backing_file_id, sizeof(s->backing_file_id), VAR_2);

    }



    co = qemu_coroutine_create(stream_run);

    trace_stream_start(VAR_0, VAR_1, s, co, VAR_5);

    qemu_coroutine_enter(co, s);

}

void FUNC_0(BlockDriverState *VAR_0, BlockDriverState *VAR_1,
const char *VAR_2, int64_t VAR_3,
BlockDriverCompletionFunc *VAR_4,
void *VAR_5, Error **VAR_6)
{ StreamBlockJob *s; Coroutine *co; s = block_job_create(&stream_job_type, VAR_0, VAR_3, VAR_4, VAR_5, VAR_6); if (!s) { return; } s->VAR_1 = VAR_1; if (VAR_2) { pstrcpy(s->backing_file_id, sizeof(s->backing_file_id), VAR_2); } co = qemu_coroutine_create(stream_run); trace_stream_start(VAR_0, VAR_1, s, co, VAR_5); qemu_coroutine_enter(co, s); }