Home | History | Annotate | Download | only in libmemunreachable

Lines Matching full:allocation

19 // For minimum allocation size (8 bytes), bitmap can store used allocations for
400 MapAllocation* allocation = reinterpret_cast<MapAllocation*>(AllocLocked(
404 FreeLocked(allocation);
407 allocation->ptr = ptr;
408 allocation->size = size;
409 allocation->next = map_allocation_list_;
410 map_allocation_list_ = allocation;
416 MapAllocation **allocation = &map_allocation_list_;
417 while (*allocation && (*allocation)->ptr != ptr)
418 allocation = &(*allocation)->next;
420 assert(*allocation != nullptr);
422 munmap((*allocation)->ptr, (*allocation)->size);
423 FreeLocked(*allocation);
425 *allocation = (*allocation)->next;