Lines Matching full:primary
108 Allocator.Primary.Options.load())))
159 Primary.Options.set(OptionBit::MayReturnNull);
161 Primary.Options.setFillContentsMode(ZeroFill);
163 Primary.Options.setFillContentsMode(PatternOrZeroFill);
165 Primary.Options.set(OptionBit::DeallocTypeMismatch);
167 Primary.Options.set(OptionBit::DeleteSizeMismatch);
170 Primary.Options.set(OptionBit::UseMemoryTagging);
180 Primary.init(ReleaseToOsIntervalMs);
250 Primary.unmapTestOnly();
263 void initCache(CacheT *Cache) { Cache->init(&Stats, &Primary); }
267 // - releasing the cached pointers back to the Primary;
339 const Options Options = Primary.Options.load();
463 const Options Options = Primary.Options.load();
486 const Options Options = Primary.Options.load();
608 Primary.disable();
617 Primary.enable();
651 Primary.getFragmentationInfo(&Str);
660 Primary.releaseToOS(ReleaseType);
684 // A chunk header can either have a zero tag (tagged primary) or the
685 // header tag (secondary, or untagged primary). We don't know which so
699 if (useMemoryTagging<AllocatorConfig>(Primary.Options.load()))
705 Primary.iterateOverBlocks(Lambda);
714 return Primary.Options.load().get(OptionBit::MayReturnNull);
728 Primary.Options.set(OptionBit::UseOddEvenTags);
730 Primary.Options.clear(OptionBit::UseOddEvenTags);
736 const bool PrimaryResult = Primary.setOption(O, Value);
798 return useMemoryTagging<AllocatorConfig>(Primary.Options.load());
810 Primary.Options.clear(OptionBit::UseMemoryTagging);
817 DCHECK(!Primary.Options.load().get(OptionBit::TrackAllocationStacks));
823 Primary.Options.set(OptionBit::TrackAllocationStacks);
825 Primary.Options.clear(OptionBit::TrackAllocationStacks);
830 Primary.Options.setFillContentsMode(FillContents);
836 Primary.Options.set(OptionBit::AddLargeAllocationSlack);
838 Primary.Options.clear(OptionBit::AddLargeAllocationSlack);
854 return Primary.getRegionInfoArrayAddress();
920 // Check the ring buffer. For primary allocations this will only find UAF;
965 PrimaryT Primary;
1015 // offset will always be small. In the case of the Primary, the worst case
1032 // case scenario happens in the Primary. It will depend on the second to
1033 // last and last class sizes, as well as the dynamic base for the Primary.
1073 // Only do content fill when it's from primary allocator because secondary
1111 const Options Options = Primary.Options.load();
1122 // Init the primary chunk.
1124 // We only need to zero or tag the contents for Primary backed
1125 // allocations. We only set tags for primary allocations in order to avoid
1275 // When we have drained some blocks back to the Primary from TSD, that
1280 Primary.tryReleaseToOS(ClassId, ReleaseToOS::Normal);
1624 Primary.getStats(Str);