Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.cc64 u32 *meta = MemToMeta(p); in AllocBlock()
79 u32 *meta = MemToMeta(p); in FreeRange()
80 u32 *end = MemToMeta(p + sz); in FreeRange()
107 u32 *meta = MemToMeta(p); in GetBlock()
131 u32 *meta = MemToMeta(addr); in GetAndLock()
188 u32 *src_meta = MemToMeta(src); in MoveMemory()
189 u32 *dst_meta = MemToMeta(dst); in MoveMemory()
190 u32 *src_meta_end = MemToMeta(src + sz); in MoveMemory()
193 src_meta = MemToMeta(src + sz) - 1; in MoveMemory()
194 dst_meta = MemToMeta(dst + sz) - 1; in MoveMemory()
[all …]
Dtsan_platform_linux.cc215 if (MemToMeta(kLinuxAppMemBeg) < (u32*)kMetaShadow) { in InitializeShadowMemory()
217 kLinuxAppMemBeg, MemToMeta(kLinuxAppMemBeg), kMetaShadow); in InitializeShadowMemory()
220 if (MemToMeta(kLinuxAppMemEnd) >= (u32*)(kMetaShadow + kMetaSize)) { in InitializeShadowMemory()
222 kLinuxAppMemEnd, MemToMeta(kLinuxAppMemEnd), kMetaShadow + kMetaSize); in InitializeShadowMemory()
Dtsan_platform.h115 #define MemToMeta(addr) \ macro
121 #define MemToMeta(addr) \ macro
Dtsan_rtl.cc245 uptr meta_begin = (uptr)MemToMeta(addr); in MapShadow()
246 uptr meta_end = (uptr)MemToMeta(addr + size); in MapShadow()