Home
last modified time | relevance | path

Searched refs:TaggedSize (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp176 static uptr TaggedSize(uptr size) { in TaggedSize() function
203 uptr size = TaggedSize(orig_size); in HwasanAllocate()
317 uptr tagged_size = TaggedSize(orig_size); in HwasanDeallocate()
340 Min(TaggedSize(orig_size), (uptr)flags()->max_free_fill_size); in HwasanDeallocate()
361 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsecondary.h132 const uptr TaggedSize = AllocPos - CommitBase; in mapSecondary() local
133 if (useMemoryTagging<Config>(Options) && isAligned(TaggedSize, PageSize)) { in mapSecondary()
134 DCHECK_GT(TaggedSize, 0); in mapSecondary()
135 return MemMap.remap(CommitBase, TaggedSize, "scudo:secondary", in mapSecondary()
137 MemMap.remap(AllocPos, CommitSize - TaggedSize, "scudo:secondary", in mapSecondary()