Home | History | Annotate | Download | only in asan

Lines Matching full:n_chunks

228   AsanChunk *AllocateChunks(u8 size_class, uptr n_chunks) {
233 for (uptr i = 0; i < n_chunks; i++) {
443 uptr n_chunks = mmap_size / size;
444 CHECK(n_chunks * size == mmap_size);
448 n_chunks--;
453 CHECK(n_chunks > 0);
460 thread_stats.mmaped_by_size[size_class] += n_chunks;
463 for (uptr i = 0; i < n_chunks; i++) {
470 PageGroup *pg = (PageGroup*)(mem + n_chunks * size);
475 pg->last_chunk = (uptr)(mem + size * (n_chunks - 1));