static void raw_aio_remove(RawAIOCB *acb)

{

    RawAIOCB **pacb;



    /* remove the callback from the queue */

    pacb = &posix_aio_state->first_aio;

    for(;;) {

        if (*pacb == NULL) {

            fprintf(stderr, "raw_aio_remove: aio request not found!\n");

            break;

        } else if (*pacb == acb) {

            *pacb = acb->next;

            qemu_aio_release(acb);

            break;

        }

        pacb = &(*pacb)->next;

    }

}

static void raw_aio_remove(RawAIOCB *acb)

{

    RawAIOCB **pacb;



    

    pacb = &posix_aio_state->first_aio;

    for(;;) {

        if (*pacb == NULL) {

            fprintf(stderr, "raw_aio_remove: aio request not found!\n");

            break;

        } else if (*pacb == acb) {

            *pacb = acb->next;

            qemu_aio_release(acb);

            break;

        }

        pacb = &(*pacb)->next;

    }

}

static void FUNC_0(RawAIOCB *VAR_0)

{

    RawAIOCB **pacb;



    

    pacb = &posix_aio_state->first_aio;

    for(;;) {

        if (*pacb == NULL) {

            fprintf(stderr, "FUNC_0: aio request not found!\n");

            break;

        } else if (*pacb == VAR_0) {

            *pacb = VAR_0->next;

            qemu_aio_release(VAR_0);

            break;

        }

        pacb = &(*pacb)->next;

    }

}

static void FUNC_0(RawAIOCB *VAR_0)
{ RawAIOCB **pacb; pacb = &posix_aio_state->first_aio; for(;;) { if (*pacb == NULL) { fprintf(stderr, "FUNC_0: aio request not found!\n"); break; } else if (*pacb == VAR_0) { *pacb = VAR_0->next; qemu_aio_release(VAR_0); break; } pacb = &(*pacb)->next; } }