Lines Matching refs:frontier

186                           Frontier *frontier,  in ScanRangeForPointers()  argument
216 if (frontier) in ScanRangeForPointers()
217 frontier->push_back(chunk); in ScanRangeForPointers()
222 void ScanGlobalRange(uptr begin, uptr end, Frontier *frontier) { in ScanGlobalRange() argument
229 ScanRangeForPointers(begin, allocator_begin, frontier, "GLOBAL", in ScanGlobalRange()
232 ScanRangeForPointers(allocator_end, end, frontier, "GLOBAL", kReachable); in ScanGlobalRange()
234 ScanRangeForPointers(begin, end, frontier, "GLOBAL", kReachable); in ScanGlobalRange()
239 Frontier *frontier = reinterpret_cast<Frontier *>(arg); in ForEachExtraStackRangeCb() local
240 ScanRangeForPointers(begin, end, frontier, "FAKE STACK", kReachable); in ForEachExtraStackRangeCb()
256 static void ProcessThreadRegistry(Frontier *frontier) { in ProcessThreadRegistry() argument
273 frontier->push_back(chunk); in ProcessThreadRegistry()
279 Frontier *frontier) { in ProcessThreads() argument
310 ScanRangeForPointers(registers_begin, registers_end, frontier, in ProcessThreads()
334 ScanRangeForPointers(stack_begin, stack_end, frontier, "STACK", in ProcessThreads()
336 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
346 ScanRangeForPointers(tls_begin, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
349 ScanRangeForPointers(tls_begin, cache_begin, frontier, "TLS", in ProcessThreads()
352 ScanRangeForPointers(cache_end, tls_end, frontier, "TLS", in ProcessThreads()
368 __libc_iterate_dynamic_tls(os_id, cb, frontier); in ProcessThreads()
376 ScanRangeForPointers(dtls_beg, dtls_end, frontier, "DTLS", in ProcessThreads()
390 ProcessThreadRegistry(frontier); in ProcessThreads()
395 void ScanRootRegion(Frontier *frontier, const RootRegion &root_region, in ScanRootRegion() argument
405 ScanRangeForPointers(intersection_begin, intersection_end, frontier, "ROOT", in ScanRootRegion()
409 static void ProcessRootRegion(Frontier *frontier, in ProcessRootRegion() argument
414 ScanRootRegion(frontier, root_region, segment.start, segment.end, in ProcessRootRegion()
420 static void ProcessRootRegions(Frontier *frontier) { in ProcessRootRegions() argument
424 ProcessRootRegion(frontier, (*root_regions)[i]); in ProcessRootRegions()
428 static void FloodFillTag(Frontier *frontier, ChunkTag tag) { in FloodFillTag() argument
429 while (frontier->size()) { in FloodFillTag()
430 uptr next_chunk = frontier->back(); in FloodFillTag()
431 frontier->pop_back(); in FloodFillTag()
433 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
490 Frontier *frontier; member
512 param->frontier->push_back(chunk); in MarkInvalidPCCb()
537 void ProcessPC(Frontier *frontier) { in ProcessPC() argument
540 arg.frontier = frontier; in ProcessPC()
549 Frontier *frontier) { in ClassifyAllChunks() argument
556 ForEachChunk(CollectIgnoredCb, frontier); in ClassifyAllChunks()
557 ProcessGlobalRegions(frontier); in ClassifyAllChunks()
558 ProcessThreads(suspended_threads, frontier); in ClassifyAllChunks()
559 ProcessRootRegions(frontier); in ClassifyAllChunks()
560 FloodFillTag(frontier, kReachable); in ClassifyAllChunks()
562 CHECK_EQ(0, frontier->size()); in ClassifyAllChunks()
563 ProcessPC(frontier); in ClassifyAllChunks()
569 ProcessPlatformSpecificAllocations(frontier); in ClassifyAllChunks()
570 FloodFillTag(frontier, kReachable); in ClassifyAllChunks()
671 ClassifyAllChunks(suspended_threads, &param->frontier); in CheckForLeaksCallback()