Searched refs:new_mappings (Results 1 – 1 of 1) sorted by relevance
142 host_memory_block_lists_t *new_mappings; in renode_set_host_blocks() local146 new_mappings = tlib_malloc(sizeof(host_memory_block_lists_t)); in renode_set_host_blocks()147 new_mappings->size = count; in renode_set_host_blocks()148 new_mappings->elements = tlib_malloc(sizeof(host_memory_block_t) * count); in renode_set_host_blocks()150 new_mappings->guest_to_host_nodes = tlib_malloc(sizeof(list_node_t) * count); in renode_set_host_blocks()151 new_mappings->guest_to_host_head = &new_mappings->guest_to_host_nodes[0]; in renode_set_host_blocks()152 new_mappings->host_to_guest_nodes = tlib_malloc(sizeof(list_node_t) * count); in renode_set_host_blocks()153 new_mappings->host_to_guest_head = &new_mappings->host_to_guest_nodes[0]; in renode_set_host_blocks()156 new_mappings->elements[i].start = blocks[i].start; in renode_set_host_blocks()157 new_mappings->elements[i].size = blocks[i].size; in renode_set_host_blocks()[all …]