Searched refs:kShadowCell (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_access.cpp | 499 uptr size1 = Min<uptr>(size, RoundUp(addr + 1, kShadowCell) - addr); in UnalignedMemoryAccess() 550 DCHECK_EQ(addr % kShadowCell, 0); in MemoryRangeSet() 551 DCHECK_EQ(size % kShadowCell, 0); in MemoryRangeSet() 557 RawShadow* end = begin + size / kShadowCell * kShadowCnt; in MemoryRangeSet() 584 uptr addr1 = RoundDown(addr, kShadowCell); in MemoryResetRange() 585 uptr size1 = RoundUp(size + addr - addr1, kShadowCell); in MemoryResetRange() 599 DCHECK_EQ(addr % kShadowCell, 0); in MemoryRangeFreed() 600 size = RoundUp(size, kShadowCell); in MemoryRangeFreed() 609 Shadow cur(thr->fast_state, 0, kShadowCell, typ); in MemoryRangeFreed() 615 for (; size; size -= kShadowCell, shadow_mem += kShadowCnt) { in MemoryRangeFreed() [all …]
|
H A D | tsan_defs.h | 80 const uptr kShadowCell = 8; variable 87 const uptr kShadowMultiplier = kShadowSize * kShadowCnt / kShadowCell;
|
H A D | tsan_shadow.h | 89 *size = part_.access_ == kFreeAccess ? kShadowCell in GetAccess()
|
H A D | tsan_platform.h | 929 return (((x) & ~(Mapping::kShadowMsk | (kShadowCell - 1))) ^
|