• Home
  • Raw
  • Download

Lines Matching refs:desc

34     MallocDescEx            desc;  member
52 return adesc->desc.malloc_desc.ptr; in allocmapentry_alloc_begins()
65 return mallocdesc_get_alloc_end(&adesc->desc.malloc_desc); in allocmapentry_alloc_ends()
122 memcpy(replaced, &existing->desc, sizeof(MallocDescEx)); in allocmap_insert_desc()
145 adesc.desc.malloc_desc.ptr = address; in allocmap_find_entry()
146 adesc.desc.malloc_desc.requested_bytes = block_size; in allocmap_find_entry()
147 adesc.desc.malloc_desc.prefix_size = 0; in allocmap_find_entry()
148 adesc.desc.malloc_desc.suffix_size = 0; in allocmap_find_entry()
163 allocmap_insert(AllocMap* map, const MallocDescEx* desc, MallocDescEx* replaced) in allocmap_insert() argument
173 memcpy(&adesc->desc, desc, sizeof(MallocDescEx)); in allocmap_insert()
190 return adesc != NULL ? &adesc->desc : NULL; in allocmap_find()
198 memcpy(pulled, &adesc->desc, sizeof(MallocDescEx)); in allocmap_pull()
212 memcpy(pulled, &first->desc, sizeof(MallocDescEx)); in allocmap_pull_first()
237 new_entry->desc.flags &= ~clear_flags; in allocmap_copy()
238 new_entry->desc.flags |= set_flags; in allocmap_copy()
239 if (entry->desc.call_stack_count) { in allocmap_copy()
240 new_entry->desc.call_stack = in allocmap_copy()
241 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong)); in allocmap_copy()
242 memcpy(new_entry->desc.call_stack, entry->desc.call_stack, in allocmap_copy()
243 entry->desc.call_stack_count * sizeof(target_ulong)); 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()
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()