Home | History | Annotate | Download | only in sanitizer_common

Lines Matching refs:chunk

283 typedef void (*ForEachChunkCallback)(uptr chunk, void *arg);
446 for (uptr chunk = region_beg;
447 chunk < region_beg + region->allocated_user;
448 chunk += chunk_size) {
449 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
450 callback(chunk, arg);
495 static uptr GetChunkIdx(uptr chunk, uptr size) {
496 uptr offset = chunk % kRegionSize;
738 for (uptr chunk = region_beg;
739 chunk < region_beg + max_chunks_in_region * chunk_size;
740 chunk += chunk_size) {
741 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
742 callback(chunk, arg);
1030 if (p < ch) continue; // p is at left to this chunk, skip it.
1157 // When allocating 2^x bytes it should return 2^x aligned chunk.