static void raw_close_fd_pool(BDRVRawState *s)

{

    int i;



    for (i = 0; i < RAW_FD_POOL_SIZE; i++) {

        if (s->fd_pool[i] != -1) {

            close(s->fd_pool[i]);

            s->fd_pool[i] = -1;

        }

    }

}

static void raw_close_fd_pool(BDRVRawState *s)

{

    int i;



    for (i = 0; i < RAW_FD_POOL_SIZE; i++) {

        if (s->fd_pool[i] != -1) {

            close(s->fd_pool[i]);

            s->fd_pool[i] = -1;

        }

    }

}

static void FUNC_0(BDRVRawState *VAR_0)

{

    int VAR_1;



    for (VAR_1 = 0; VAR_1 < RAW_FD_POOL_SIZE; VAR_1++) {

        if (VAR_0->fd_pool[VAR_1] != -1) {

            close(VAR_0->fd_pool[VAR_1]);

            VAR_0->fd_pool[VAR_1] = -1;

        }

    }

}

static void FUNC_0(BDRVRawState *VAR_0)
{ int VAR_1; for (VAR_1 = 0; VAR_1 < RAW_FD_POOL_SIZE; VAR_1++) { if (VAR_0->fd_pool[VAR_1] != -1) { close(VAR_0->fd_pool[VAR_1]); VAR_0->fd_pool[VAR_1] = -1; } } }