Searched refs:new_slab (Results 1 – 1 of 1) sorted by relevance
155 void* new_slab = mmap(NULL, kSlabSize, PROT_READ|PROT_WRITE, in AllocateSlab() local157 if (new_slab == MAP_FAILED) in AllocateSlab()161 *((void**)((char*)new_slab + slab_next_offset_)) = slab_list_; in AllocateSlab()162 slab_list_ = new_slab; in AllocateSlab()166 FreeItem* item = reinterpret_cast<FreeItem*>(new_slab); in AllocateSlab()