static void mirror_drain(MirrorBlockJob *s)

{

    while (s->in_flight > 0) {

        mirror_wait_for_io(s);

    }

}

static void mirror_drain(MirrorBlockJob *s)

{

    while (s->in_flight > 0) {

        mirror_wait_for_io(s);

    }

}

static void FUNC_0(MirrorBlockJob *VAR_0)

{

    while (VAR_0->in_flight > 0) {

        mirror_wait_for_io(VAR_0);

    }

}

static void FUNC_0(MirrorBlockJob *VAR_0)
{ while (VAR_0->in_flight > 0) { mirror_wait_for_io(VAR_0); } }