Lines Matching refs:desc
34 MallocDescEx desc;
52 return adesc->desc.malloc_desc.ptr;
65 return mallocdesc_get_alloc_end(&adesc->desc.malloc_desc);
122 memcpy(replaced, &existing->desc, sizeof(MallocDescEx));
145 adesc.desc.malloc_desc.ptr = address;
146 adesc.desc.malloc_desc.requested_bytes = block_size;
147 adesc.desc.malloc_desc.prefix_size = 0;
148 adesc.desc.malloc_desc.suffix_size = 0;
163 allocmap_insert(AllocMap* map, const MallocDescEx* desc, MallocDescEx* replaced)
173 memcpy(&adesc->desc, desc, sizeof(MallocDescEx));
190 return adesc != NULL ? &adesc->desc : NULL;
198 memcpy(pulled, &adesc->desc, sizeof(MallocDescEx));
212 memcpy(pulled, &first->desc, sizeof(MallocDescEx));
237 new_entry->desc.flags &= ~clear_flags;
238 new_entry->desc.flags |= set_flags;
239 if (entry->desc.call_stack_count) {
240 new_entry->desc.call_stack =
241 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong));
242 memcpy(new_entry->desc.call_stack, entry->desc.call_stack,
243 entry->desc.call_stack_count * sizeof(target_ulong));
245 new_entry->desc.call_stack = NULL;
247 new_entry->desc.call_stack_count = entry->desc.call_stack_count;
252 invalidate_tlb_cache(new_entry->desc.malloc_desc.ptr,
253 mallocdesc_get_alloc_end(&new_entry->desc.malloc_desc));
258 if (new_entry->desc.call_stack != NULL) {
259 qemu_free(new_entry->desc.call_stack);