Searched refs:kNumThreadLocalSizeBrackets (Results 1 – 3 of 3) sorted by relevance
532 + kNumThreadLocalSizeBrackets; in BracketSizeToIndex()541 (is_size_for_thread_local == (SizeToIndex(size) < kNumThreadLocalSizeBrackets))); in IsSizeForThreadLocal()565 - 1 + kNumThreadLocalSizeBrackets; in SizeToIndex()584 + kNumThreadLocalSizeBrackets; in SizeToIndexAndBracketSize()663 static constexpr size_t kNumThreadLocalSizeBrackets = 16; variable664 static_assert(kNumThreadLocalSizeBrackets == kNumRosAllocThreadLocalSizeBracketsInThread,
558 if (kUsePrefetchDuringAllocRun && idx < kNumThreadLocalSizeBrackets) { in AllocRun()660 if (LIKELY(idx < kNumThreadLocalSizeBrackets)) { in AllocFromRun()772 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in FreeFromRun()1106 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in BulkFree()1505 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in RevokeThreadLocalRuns()1568 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in RevokeThreadUnsafeCurrentRuns()1596 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in AssertThreadLocalRunsAreRevoked()1613 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in AssertAllThreadLocalRunsAreRevoked()1625 if (i < kNumThreadLocalSizeBrackets) { in Initialize()1628 bracketSizes[i] = kBracketQuantumSize * (i - kNumThreadLocalSizeBrackets + 1) + in Initialize()[all …]
65 DCHECK_LT(idx, kNumThreadLocalSizeBrackets); in CanAllocFromThreadLocalRun()