Lines Matching refs:shadow_mem
555 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() argument
559 thr->racy_shadow_addr = shadow_mem; in HandleRace()
574 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl1() argument
620 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); in MemoryAccessImpl1()
624 HandleRace(thr, shadow_mem, cur, old); in MemoryAccessImpl1()
739 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccess() local
743 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess()
744 (uptr)shadow_mem[0], (uptr)shadow_mem[1], in MemoryAccess()
745 (uptr)shadow_mem[2], (uptr)shadow_mem[3]); in MemoryAccess()
751 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess()
752 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccess()
753 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccess()
757 if (kCppMode && *shadow_mem == kShadowRodata) { in MemoryAccess()
781 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccess()
798 shadow_mem, cur); in MemoryAccess()
805 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl() argument
806 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccessImpl()
816 shadow_mem, cur); in MemoryAccessImpl()