Home
last modified time | relevance | path

Searched refs:shadow_mem (Results 1 – 6 of 6) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc287 static inline void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() argument
291 thr->racy_shadow_addr = shadow_mem; in HandleRace()
322 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl() argument
385 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); in MemoryAccessImpl()
389 HandleRace(thr, shadow_mem, cur, old); in MemoryAccessImpl()
396 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccess() local
400 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess()
401 (uptr)shadow_mem[0], (uptr)shadow_mem[1], in MemoryAccess()
402 (uptr)shadow_mem[2], (uptr)shadow_mem[3]); in MemoryAccess()
408 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccess()
[all …]
Dtsan_rtl_thread.cc314 u64 *shadow_mem = (u64*)MemToShadow(addr); in MemoryAccessRange() local
328 if (!IsShadowMem((uptr)shadow_mem)) { in MemoryAccessRange()
329 TsanPrintf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccessRange()
330 DCHECK(IsShadowMem((uptr)shadow_mem)); in MemoryAccessRange()
332 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange()
334 shadow_mem + size * kShadowCnt / 8 - 1, addr + size - 1); in MemoryAccessRange()
335 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange()
358 shadow_mem, cur); in MemoryAccessRange()
361 shadow_mem += kShadowCnt; in MemoryAccessRange()
369 shadow_mem, cur); in MemoryAccessRange()
[all …]
Dtsan_update_shadow_word_inl.h20 u64 *sp = &shadow_mem[(idx + off) % kShadowCnt];
Dtsan_rtl.h465 u64 *shadow_mem, Shadow cur);
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fbvideo.h80 char *shadow_mem; member
126 #define shadow_mem (this->hidden->shadow_mem) macro
DSDL_fbvideo.c788 shadow_mem = (char *)SDL_malloc(mapped_memlen); in FB_VideoInit()
789 if (shadow_mem == NULL) { in FB_VideoInit()
1143 current->pixels = shadow_mem; in FB_SetVideoMode()
1595 src_start = shadow_mem + in FB_DirectUpdate()