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