Lines Matching refs:n_chunks
310 AsanChunk *AllocateChunks(uint8_t size_class, size_t n_chunks) {
315 for (size_t i = 0; i < n_chunks; i++) {
522 size_t n_chunks = mmap_size / size;
523 CHECK(n_chunks * size == mmap_size);
526 n_chunks--;
531 CHECK(n_chunks > 0);
538 thread_stats.mmaped_by_size[size_class] += n_chunks;
541 for (size_t i = 0; i < n_chunks; i++) {
548 n_chunks * size);
553 pg->last_chunk = (uintptr_t)(mem + size * (n_chunks - 1));