Searched refs:n_chunks (Results 1 – 8 of 8) sorted by relevance
115 const CompactPtrT *chunks, uptr n_chunks) { in ReturnToAllocator() argument122 uptr new_num_freed_chunks = old_num_chunks + n_chunks; in ReturnToAllocator()132 for (uptr i = 0; i < n_chunks; i++) in ReturnToAllocator()135 region->stats.n_freed += n_chunks; in ReturnToAllocator()141 CompactPtrT *chunks, uptr n_chunks) { in GetFromAllocator() argument147 if (UNLIKELY(region->num_freed_chunks < n_chunks)) { in GetFromAllocator()149 n_chunks - region->num_freed_chunks))) in GetFromAllocator()151 CHECK_GE(region->num_freed_chunks, n_chunks); in GetFromAllocator()153 region->num_freed_chunks -= n_chunks; in GetFromAllocator()155 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()
1282 size_t n_chunks = 0; in VerifyChunkIterator() local1309 ++n_chunks; in VerifyChunkIterator()1311 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
1343 size_t n_chunks = 0; in VerifyChunkIterator() local1370 ++n_chunks; in VerifyChunkIterator()1372 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
1359 size_t n_chunks = 0; in VerifyChunkIterator() local1386 ++n_chunks; in VerifyChunkIterator()1388 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
898 uptr n_chunks = kRegionSize / (size + kMetadataSize); in PopulateFreeList() local901 for (uptr i = reg; i < reg + n_chunks * size; i += size) { in PopulateFreeList()