Lines Matching defs:AllocPos
141 uptr AllocPos, uptr Flags, MemMapT &MemMap) {
148 * On Trusty we need AllocPos to be usable for shared memory, which cannot
149 * cross multiple mappings. This means we need to split around AllocPos
152 const uptr TaggedSize = AllocPos - CommitBase;
157 MemMap.remap(AllocPos, CommitSize - TaggedSize, "scudo:secondary",
171 Max(AllocPos, CommitBase + MaxUnreleasedCacheBytes);
388 const uptr AllocPos =
390 const uptr HeaderPos = AllocPos - HeadersSize;
395 // TODO: Remove AllocPos > CommitBase + MaxAllowedFragmentedBytes
398 AllocPos > CommitBase + MaxAllowedFragmentedBytes) {
808 const uptr AllocPos = roundDown(CommitBase + CommitSize - Size, Alignment);
809 if (!mapSecondary<Config>(Options, CommitBase, CommitSize, AllocPos, 0,
814 const uptr HeaderPos = AllocPos - getHeadersSize();