Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cc70 for (unsigned i = 1; i < kShadowCell; i++) in TEST()
72 for (unsigned i = kShadowCell; i < 2*kShadowCell; i++) in TEST()
74 for (unsigned i = 2*kShadowCell; i < 3*kShadowCell; i++) in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc364 bool unaligned = (addr % kShadowCell) != 0; in MemoryAccessRange()
367 for (; addr % kShadowCell && size; addr++, size--) { in MemoryAccessRange()
371 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
378 for (; size >= kShadowCell; addr += kShadowCell, size -= kShadowCell) { in MemoryAccessRange()
392 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
Dtsan_defs.h62 const uptr kShadowCell = 8; variable
68 const uptr kShadowMultiplier = kShadowSize * kShadowCnt / kShadowCell;
Dtsan_platform.h114 ((((uptr)addr) & ~(kLinuxAppMemMsk | (kShadowCell - 1))) * kShadowCnt)
120 (((((uptr)addr) & ~(kShadowCell - 1)) * kShadowCnt) | kLinuxShadowMsk)
Dtsan_rtl.cc801 uptr offset = addr % kShadowCell; in MemoryRangeSet()
803 offset = kShadowCell - offset; in MemoryRangeSet()
816 size = (size + (kShadowCell - 1)) & ~(kShadowCell - 1); in MemoryRangeSet()
822 CHECK(IsShadowMem((uptr)(p + size * kShadowCnt / kShadowCell - 1))); in MemoryRangeSet()
824 for (uptr i = 0; i < size / kShadowCell * kShadowCnt;) { in MemoryRangeSet()
833 u64 *end = begin + size / kShadowCell * kShadowCnt; in MemoryRangeSet()