Lines Matching defs:AllocPos
121 uptr AllocPos, uptr Flags, MemMapT &MemMap) {
128 * On Trusty we need AllocPos to be usable for shared memory, which cannot
129 * cross multiple mappings. This means we need to split around AllocPos
132 const uptr TaggedSize = AllocPos - CommitBase;
137 MemMap.remap(AllocPos, CommitSize - TaggedSize, "scudo:secondary",
149 const uptr UntaggedPos = Max(AllocPos, CommitBase + MaxUnusedCacheBytes);
320 const uptr AllocPos =
322 const uptr HeaderPos = AllocPos - HeadersSize;
326 AllocPos > CommitBase + PageSize * MaxUnusedCachePages) {
672 const uptr AllocPos = roundDown(CommitBase + CommitSize - Size, Alignment);
673 if (!mapSecondary<Config>(Options, CommitBase, CommitSize, AllocPos, 0,
678 const uptr HeaderPos = AllocPos - getHeadersSize();