Searched refs:kShadowCell (Results 1 – 5 of 5) sorted by relevance
70 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()
364 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()
62 const uptr kShadowCell = 8; variable68 const uptr kShadowMultiplier = kShadowSize * kShadowCnt / kShadowCell;
114 ((((uptr)addr) & ~(kLinuxAppMemMsk | (kShadowCell - 1))) * kShadowCnt)120 (((((uptr)addr) & ~(kShadowCell - 1)) * kShadowCnt) | kLinuxShadowMsk)
801 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()