Lines Matching refs:kShadowAlignment
42 static ALIGNED(16) u8 tail_magic[kShadowAlignment - 1];
51 uptr tail_size = requested_size % kShadowAlignment; in AlignRight()
53 return addr + kShadowAlignment - tail_size; in AlignRight()
98 uptr new_size = RoundUpTo(size, kShadowAlignment); in TaggedSize()
114 alignment = Max(alignment, kShadowAlignment); in HwasanAllocate()
156 uptr full_granule_size = RoundDownTo(tag_size, kShadowAlignment); in HwasanAllocate()
162 TagMemoryAligned((uptr)short_granule, kShadowAlignment, in HwasanAllocate()
163 tag_size % kShadowAlignment); in HwasanAllocate()
164 short_granule[kShadowAlignment - 1] = tag; in HwasanAllocate()
192 RoundDownTo(reinterpret_cast<uptr>(untagged_ptr), kShadowAlignment)); in HwasanDeallocate()
204 CHECK_LT(tail_size, kShadowAlignment); in HwasanDeallocate()
282 reinterpret_cast<uptr>(untagged_ptr), kShadowAlignment))) in AllocationSize()