host_memory_backend_get_host_nodes(Object *obj, Visitor *v, const char *name,

                                   void *opaque, Error **errp)

{

    HostMemoryBackend *backend = MEMORY_BACKEND(obj);

    uint16List *host_nodes = NULL;

    uint16List **node = &host_nodes;

    unsigned long value;



    value = find_first_bit(backend->host_nodes, MAX_NODES);



    node = host_memory_append_node(node, value);



    if (value == MAX_NODES) {

        goto out;

    }



    do {

        value = find_next_bit(backend->host_nodes, MAX_NODES, value + 1);

        if (value == MAX_NODES) {

            break;

        }



        node = host_memory_append_node(node, value);

    } while (true);



out:

    visit_type_uint16List(v, name, &host_nodes, errp);

}

host_memory_backend_get_host_nodes(Object *obj, Visitor *v, const char *name,

                                   void *opaque, Error **errp)

{

    HostMemoryBackend *backend = MEMORY_BACKEND(obj);

    uint16List *host_nodes = NULL;

    uint16List **node = &host_nodes;

    unsigned long value;



    value = find_first_bit(backend->host_nodes, MAX_NODES);



    node = host_memory_append_node(node, value);



    if (value == MAX_NODES) {

        goto out;

    }



    do {

        value = find_next_bit(backend->host_nodes, MAX_NODES, value + 1);

        if (value == MAX_NODES) {

            break;

        }



        node = host_memory_append_node(node, value);

    } while (true);



out:

    visit_type_uint16List(v, name, &host_nodes, errp);

}

    node = host_memory_append_node(node, value);         goto out;         node = host_memory_append_node(node, value); out:
FUNC_0(Object *VAR_0, Visitor *VAR_1, const char *VAR_2,

                                   void *VAR_3, Error **VAR_4)

{

    HostMemoryBackend *backend = MEMORY_BACKEND(VAR_0);

    uint16List *host_nodes = NULL;

    uint16List **node = &host_nodes;

    unsigned long VAR_5;



    VAR_5 = find_first_bit(backend->host_nodes, MAX_NODES);



    node = host_memory_append_node(node, VAR_5);



    if (VAR_5 == MAX_NODES) {

        goto out;

    }



    do {

        VAR_5 = find_next_bit(backend->host_nodes, MAX_NODES, VAR_5 + 1);

        if (VAR_5 == MAX_NODES) {

            break;

        }



        node = host_memory_append_node(node, VAR_5);

    } while (true);



out:

    visit_type_uint16List(VAR_1, VAR_2, &host_nodes, VAR_4);

}

FUNC_0(Object *VAR_0, Visitor *VAR_1, const char *VAR_2,
void *VAR_3, Error **VAR_4)
{ HostMemoryBackend *backend = MEMORY_BACKEND(VAR_0); uint16List *host_nodes = NULL; uint16List **node = &host_nodes; unsigned long VAR_5; VAR_5 = find_first_bit(backend->host_nodes, MAX_NODES); node = host_memory_append_node(node, VAR_5); if (VAR_5 == MAX_NODES) { goto out; } do { VAR_5 = find_next_bit(backend->host_nodes, MAX_NODES, VAR_5 + 1); if (VAR_5 == MAX_NODES) { break; } node = host_memory_append_node(node, VAR_5); } while (true); out:
visit_type_uint16List(VAR_1, VAR_2, &host_nodes, VAR_4); }