Lines Matching full:mem
112 ret = hv_vm_map(slot->mem, slot->start, slot->size, flags); in do_hvf_set_memory()
119 hvf_slot *mem; in hvf_set_phys_mem() local
143 mem = hvf_find_overlap_slot( in hvf_set_phys_mem()
147 if (mem && add) { in hvf_set_phys_mem()
148 if (mem->size == int128_get64(section->size) && in hvf_set_phys_mem()
149 mem->start == section->offset_within_address_space && in hvf_set_phys_mem()
150 mem->mem == (memory_region_get_ram_ptr(area) + in hvf_set_phys_mem()
157 if (mem) { in hvf_set_phys_mem()
158 mem->size = 0; in hvf_set_phys_mem()
159 if (do_hvf_set_memory(mem, 0)) { in hvf_set_phys_mem()
180 mem = &hvf_state->slots[x]; in hvf_set_phys_mem()
181 if (!mem->size) { in hvf_set_phys_mem()
191 mem->size = int128_get64(section->size); in hvf_set_phys_mem()
192 mem->mem = memory_region_get_ram_ptr(area) + section->offset_within_region; in hvf_set_phys_mem()
193 mem->start = section->offset_within_address_space; in hvf_set_phys_mem()
194 mem->region = area; in hvf_set_phys_mem()
196 if (do_hvf_set_memory(mem, flags)) { in hvf_set_phys_mem()