Searched refs:ElfAllocatorChunk (Results 1 – 2 of 2) sorted by relevance
26 ElfAllocatorChunk* chunk_to_free = current_chunk_; in ~ElfAllocator()28 ElfAllocatorChunk* next_chunk = chunk_to_free->prev; in ~ElfAllocator()40 ElfAllocatorChunk* new_chunk = in alloc()41 reinterpret_cast<ElfAllocatorChunk*>(malloc(ELF_ALLOC_CHUNK_SIZE)); in alloc()48 new_chunk->avail = INC_PTR(new_chunk, sizeof(ElfAllocatorChunk)); in alloc()49 new_chunk->remains = new_chunk->size - sizeof(ElfAllocatorChunk); in alloc()
44 typedef struct ElfAllocatorChunk { struct52 ElfAllocatorChunk* prev; argument62 } ElfAllocatorChunk; argument103 ElfAllocatorChunk* current_chunk_;