void *postcopy_get_tmp_page(MigrationIncomingState *mis)

{

    if (!mis->postcopy_tmp_page) {

        mis->postcopy_tmp_page = mmap(NULL, getpagesize(),

                             PROT_READ | PROT_WRITE, MAP_PRIVATE |

                             MAP_ANONYMOUS, -1, 0);

        if (!mis->postcopy_tmp_page) {

            error_report("%s: %s", __func__, strerror(errno));

            return NULL;

        }

    }



    return mis->postcopy_tmp_page;

}

void *postcopy_get_tmp_page(MigrationIncomingState *mis)

{

    if (!mis->postcopy_tmp_page) {

        mis->postcopy_tmp_page = mmap(NULL, getpagesize(),

                             PROT_READ | PROT_WRITE, MAP_PRIVATE |

                             MAP_ANONYMOUS, -1, 0);

        if (!mis->postcopy_tmp_page) {

            error_report("%s: %s", __func__, strerror(errno));

            return NULL;

        }

    }



    return mis->postcopy_tmp_page;

}

        if (!mis->postcopy_tmp_page) {
void *FUNC_0(MigrationIncomingState *VAR_0)

{

    if (!VAR_0->postcopy_tmp_page) {

        VAR_0->postcopy_tmp_page = mmap(NULL, getpagesize(),

                             PROT_READ | PROT_WRITE, MAP_PRIVATE |

                             MAP_ANONYMOUS, -1, 0);

        if (!VAR_0->postcopy_tmp_page) {

            error_report("%s: %s", __func__, strerror(errno));

            return NULL;

        }

    }



    return VAR_0->postcopy_tmp_page;

}

void *FUNC_0(MigrationIncomingState *VAR_0)
{ if (!VAR_0->postcopy_tmp_page) { VAR_0->postcopy_tmp_page = mmap(NULL, getpagesize(),
PROT_READ | PROT_WRITE, MAP_PRIVATE |
MAP_ANONYMOUS, -1, 0); if (!VAR_0->postcopy_tmp_page) { error_report("%s: %s", __func__, strerror(errno)); return NULL; } } return VAR_0->postcopy_tmp_page; }