Searched refs:n_chunks (Results 1 – 4 of 4) sorted by relevance
176 const CompactPtrT *chunks, uptr n_chunks) { in ReturnToAllocator() argument183 uptr new_num_freed_chunks = old_num_chunks + n_chunks; in ReturnToAllocator()193 for (uptr i = 0; i < n_chunks; i++) in ReturnToAllocator()196 region->stats.n_freed += n_chunks; in ReturnToAllocator()202 CompactPtrT *chunks, uptr n_chunks) { in GetFromAllocator() argument219 if (UNLIKELY(region->num_freed_chunks < n_chunks)) { in GetFromAllocator()221 n_chunks - region->num_freed_chunks))) in GetFromAllocator()223 CHECK_GE(region->num_freed_chunks, n_chunks); in GetFromAllocator()225 region->num_freed_chunks -= n_chunks; in GetFromAllocator()227 for (uptr i = 0; i < n_chunks; i++) in GetFromAllocator()[all …]
351 const uptr n_chunks = kRegionSize / (size + kMetadataSize); in PopulateFreeList() local358 for (uptr i = region; i < region + n_chunks * size; i += size) { in PopulateFreeList()
1383 static int n_chunks; variable1420 n_chunks--; in get_from_chain()1435 n_chunks++; in add_to_chain()
4324 int n_chunks = 1; local4331 n_chunks += 1;4336 str, n_alloc, n_chunks);