Home
last modified time | relevance | path

Searched refs:kShadowCell (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp499 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 Dtsan_defs.h80 const uptr kShadowCell = 8; variable
87 const uptr kShadowMultiplier = kShadowSize * kShadowCnt / kShadowCell;
H A Dtsan_shadow.h89 *size = part_.access_ == kFreeAccess ? kShadowCell in GetAccess()
H A Dtsan_platform.h929 return (((x) & ~(Mapping::kShadowMsk | (kShadowCell - 1))) ^