void block_job_yield(BlockJob *job)

{

    assert(job->busy);



    /* Check cancellation *before* setting busy = false, too!  */

    if (block_job_is_cancelled(job)) {

        return;

    }



    job->busy = false;

    if (!block_job_should_pause(job)) {

        qemu_coroutine_yield();

    }

    job->busy = true;



    block_job_pause_point(job);

}

void block_job_yield(BlockJob *job)

{

    assert(job->busy);



    

    if (block_job_is_cancelled(job)) {

        return;

    }



    job->busy = false;

    if (!block_job_should_pause(job)) {

        qemu_coroutine_yield();

    }

    job->busy = true;



    block_job_pause_point(job);

}

    job->busy = false;         qemu_coroutine_yield();     job->busy = true;
void FUNC_0(BlockJob *VAR_0)

{

    assert(VAR_0->busy);



    

    if (block_job_is_cancelled(VAR_0)) {

        return;

    }



    VAR_0->busy = false;

    if (!block_job_should_pause(VAR_0)) {

        qemu_coroutine_yield();

    }

    VAR_0->busy = true;



    block_job_pause_point(VAR_0);

}

void FUNC_0(BlockJob *VAR_0)
{ assert(VAR_0->busy); if (block_job_is_cancelled(VAR_0)) { return; } VAR_0->busy = false; if (!block_job_should_pause(VAR_0)) { qemu_coroutine_yield(); } VAR_0->busy = true; block_job_pause_point(VAR_0); }