Lines Matching refs:frontier

297 void ScanRangeForPointers(uptr begin, uptr end, Frontier *frontier,  in ScanRangeForPointers()  argument
337 if (frontier) in ScanRangeForPointers()
338 frontier->push_back(chunk); in ScanRangeForPointers()
343 void ScanGlobalRange(uptr begin, uptr end, Frontier *frontier) { in ScanGlobalRange() argument
350 ScanRangeForPointers(begin, allocator_begin, frontier, "GLOBAL", in ScanGlobalRange()
353 ScanRangeForPointers(allocator_end, end, frontier, "GLOBAL", kReachable); in ScanGlobalRange()
355 ScanRangeForPointers(begin, end, frontier, "GLOBAL", kReachable); in ScanGlobalRange()
360 Frontier *frontier) { in ScanExtraStackRanges() argument
362 ScanRangeForPointers(ranges[i].begin, ranges[i].end, frontier, "FAKE STACK", in ScanExtraStackRanges()
381 static void ProcessThreadRegistry(Frontier *frontier) { in ProcessThreadRegistry() argument
397 frontier->push_back(chunk); in ProcessThreadRegistry()
403 Frontier *frontier, tid_t caller_tid, in ProcessThreads() argument
440 ScanRangeForPointers(registers_begin, registers_end, frontier, in ProcessThreads()
465 ScanRangeForPointers(stack_begin, stack_end, frontier, "STACK", in ProcessThreads()
469 ScanExtraStackRanges(extra_ranges, frontier); in ProcessThreads()
479 ScanRangeForPointers(tls_begin, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
482 ScanRangeForPointers(tls_begin, cache_begin, frontier, "TLS", in ProcessThreads()
485 ScanRangeForPointers(cache_end, tls_end, frontier, "TLS", in ProcessThreads()
501 __libc_iterate_dynamic_tls(os_id, cb, frontier); in ProcessThreads()
510 ScanRangeForPointers(dtls_beg, dtls_end, frontier, "DTLS", in ProcessThreads()
524 ProcessThreadRegistry(frontier); in ProcessThreads()
543 void ScanRootRegions(Frontier *frontier, in ScanRootRegions() argument
560 ScanRangeForPointers(r.begin, r.end, frontier, "ROOT", kReachable); in ScanRootRegions()
565 static void ProcessRootRegions(Frontier *frontier) { in ProcessRootRegions() argument
574 ScanRootRegions(frontier, mapped_regions); in ProcessRootRegions()
577 static void FloodFillTag(Frontier *frontier, ChunkTag tag) { in FloodFillTag() argument
578 while (frontier->size()) { in FloodFillTag()
579 uptr next_chunk = frontier->back(); in FloodFillTag()
580 frontier->pop_back(); in FloodFillTag()
582 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
631 Frontier *frontier, tid_t caller_tid, in ClassifyAllChunks() argument
639 ForEachChunk(CollectIgnoredCb, frontier); in ClassifyAllChunks()
640 ProcessGlobalRegions(frontier); in ClassifyAllChunks()
641 ProcessThreads(suspended_threads, frontier, caller_tid, caller_sp); in ClassifyAllChunks()
642 ProcessRootRegions(frontier); in ClassifyAllChunks()
643 FloodFillTag(frontier, kReachable); in ClassifyAllChunks()
649 ProcessPlatformSpecificAllocations(frontier); in ClassifyAllChunks()
650 FloodFillTag(frontier, kReachable); in ClassifyAllChunks()
733 ClassifyAllChunks(suspended_threads, &param->frontier, param->caller_tid, in CheckForLeaksCallback()