Lines Matching refs:new_entry
230 AllocMapEntry* new_entry = in allocmap_copy() local
232 if (new_entry == NULL) { in allocmap_copy()
236 memcpy(new_entry, entry, sizeof(AllocMapEntry)); in allocmap_copy()
237 new_entry->desc.flags &= ~clear_flags; in allocmap_copy()
238 new_entry->desc.flags |= set_flags; in allocmap_copy()
240 new_entry->desc.call_stack = in allocmap_copy()
242 memcpy(new_entry->desc.call_stack, entry->desc.call_stack, in allocmap_copy()
245 new_entry->desc.call_stack = NULL; in allocmap_copy()
247 new_entry->desc.call_stack_count = entry->desc.call_stack_count; in allocmap_copy()
248 ins_res = allocmap_insert_desc(to, new_entry, NULL); in allocmap_copy()
252 invalidate_tlb_cache(new_entry->desc.malloc_desc.ptr, in allocmap_copy()
253 mallocdesc_get_alloc_end(&new_entry->desc.malloc_desc)); in allocmap_copy()
258 if (new_entry->desc.call_stack != NULL) { in allocmap_copy()
259 qemu_free(new_entry->desc.call_stack); in allocmap_copy()
261 qemu_free(new_entry); in allocmap_copy()