void ide_flush_cache(IDEState *s)

{

    if (s->bs == NULL) {

        ide_flush_cb(s, 0);

        return;

    }




    bdrv_acct_start(s->bs, &s->acct, 0, BDRV_ACCT_FLUSH);

    bdrv_aio_flush(s->bs, ide_flush_cb, s);

}
void ide_flush_cache(IDEState *s)

{

    if (s->bs == NULL) {

        ide_flush_cb(s, 0);

        return;

    }




    bdrv_acct_start(s->bs, &s->acct, 0, BDRV_ACCT_FLUSH);

    bdrv_aio_flush(s->bs, ide_flush_cb, s);

}
void FUNC_0(IDEState *VAR_0)

{

    if (VAR_0->bs == NULL) {

        ide_flush_cb(VAR_0, 0);

        return;

    }




    bdrv_acct_start(VAR_0->bs, &VAR_0->acct, 0, BDRV_ACCT_FLUSH);

    bdrv_aio_flush(VAR_0->bs, ide_flush_cb, VAR_0);

}
void FUNC_0(IDEState *VAR_0)
{ if (VAR_0->bs == NULL) { ide_flush_cb(VAR_0, 0); return; } bdrv_acct_start(VAR_0->bs, &VAR_0->acct, 0, BDRV_ACCT_FLUSH); bdrv_aio_flush(VAR_0->bs, ide_flush_cb, VAR_0); }