Lines Matching refs:desc
40 MallocDescEx desc;
58 return adesc->desc.malloc_desc.ptr;
71 return mallocdesc_get_alloc_end(&adesc->desc.malloc_desc);
128 memcpy(replaced, &existing->desc, sizeof(MallocDescEx));
151 adesc.desc.malloc_desc.ptr = address;
152 adesc.desc.malloc_desc.requested_bytes = block_size;
153 adesc.desc.malloc_desc.prefix_size = 0;
154 adesc.desc.malloc_desc.suffix_size = 0;
169 allocmap_insert(AllocMap* map, const MallocDescEx* desc, MallocDescEx* replaced)
179 memcpy(&adesc->desc, desc, sizeof(MallocDescEx));
196 return adesc != NULL ? &adesc->desc : NULL;
204 memcpy(pulled, &adesc->desc, sizeof(MallocDescEx));
218 memcpy(pulled, &first->desc, sizeof(MallocDescEx));
243 new_entry->desc.flags &= ~clear_flags;
244 new_entry->desc.flags |= set_flags;
245 if (entry->desc.call_stack_count) {
246 new_entry->desc.call_stack =
247 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong));
248 memcpy(new_entry->desc.call_stack, entry->desc.call_stack,
249 entry->desc.call_stack_count * sizeof(target_ulong));
251 new_entry->desc.call_stack = NULL;
253 new_entry->desc.call_stack_count = entry->desc.call_stack_count;
258 invalidate_tlb_cache(new_entry->desc.malloc_desc.ptr,
259 mallocdesc_get_alloc_end(&new_entry->desc.malloc_desc));
264 if (new_entry->desc.call_stack != NULL) {
265 qemu_free(new_entry->desc.call_stack);