Lines Matching refs:addr
31 void __tsan_read16(void *addr) { in __tsan_read16() argument
32 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16()
33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16()
36 void __tsan_write16(void *addr) { in __tsan_write16() argument
37 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16()
38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16()
41 void __tsan_read16_pc(void *addr, void *pc) { in __tsan_read16_pc() argument
42 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8); in __tsan_read16_pc()
43 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8); in __tsan_read16_pc()
46 void __tsan_write16_pc(void *addr, void *pc) { in __tsan_write16_pc() argument
47 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8); in __tsan_write16_pc()
48 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8); in __tsan_write16_pc()
53 void __tsan_unaligned_read2(const void *addr) { in __tsan_unaligned_read2() argument
54 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, false, false); in __tsan_unaligned_read2()
57 void __tsan_unaligned_read4(const void *addr) { in __tsan_unaligned_read4() argument
58 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 4, false, false); in __tsan_unaligned_read4()
61 void __tsan_unaligned_read8(const void *addr) { in __tsan_unaligned_read8() argument
62 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 8, false, false); in __tsan_unaligned_read8()
65 void __tsan_unaligned_read16(const void *addr) { in __tsan_unaligned_read16() argument
66 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 16, false, false); in __tsan_unaligned_read16()
69 void __tsan_unaligned_write2(void *addr) { in __tsan_unaligned_write2() argument
70 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, true, false); in __tsan_unaligned_write2()
73 void __tsan_unaligned_write4(void *addr) { in __tsan_unaligned_write4() argument
74 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 4, true, false); in __tsan_unaligned_write4()
77 void __tsan_unaligned_write8(void *addr) { in __tsan_unaligned_write8() argument
78 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 8, true, false); in __tsan_unaligned_write8()
81 void __tsan_unaligned_write16(void *addr) { in __tsan_unaligned_write16() argument
82 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 16, true, false); in __tsan_unaligned_write16()
89 u16 __sanitizer_unaligned_load16(const uu16 *addr) { in __sanitizer_unaligned_load16() argument
90 __tsan_unaligned_read2(addr); in __sanitizer_unaligned_load16()
91 return *addr; in __sanitizer_unaligned_load16()
95 u32 __sanitizer_unaligned_load32(const uu32 *addr) { in __sanitizer_unaligned_load32() argument
96 __tsan_unaligned_read4(addr); in __sanitizer_unaligned_load32()
97 return *addr; in __sanitizer_unaligned_load32()
101 u64 __sanitizer_unaligned_load64(const uu64 *addr) { in __sanitizer_unaligned_load64() argument
102 __tsan_unaligned_read8(addr); in __sanitizer_unaligned_load64()
103 return *addr; in __sanitizer_unaligned_load64()
107 void __sanitizer_unaligned_store16(uu16 *addr, u16 v) { in __sanitizer_unaligned_store16() argument
108 __tsan_unaligned_write2(addr); in __sanitizer_unaligned_store16()
109 *addr = v; in __sanitizer_unaligned_store16()
113 void __sanitizer_unaligned_store32(uu32 *addr, u32 v) { in __sanitizer_unaligned_store32() argument
114 __tsan_unaligned_write4(addr); in __sanitizer_unaligned_store32()
115 *addr = v; in __sanitizer_unaligned_store32()
119 void __sanitizer_unaligned_store64(uu64 *addr, u64 v) { in __sanitizer_unaligned_store64() argument
120 __tsan_unaligned_write8(addr); in __sanitizer_unaligned_store64()
121 *addr = v; in __sanitizer_unaligned_store64()
125 void __tsan_acquire(void *addr) { in __tsan_acquire() argument
126 Acquire(cur_thread(), CALLERPC, (uptr)addr); in __tsan_acquire()
129 void __tsan_release(void *addr) { in __tsan_release() argument
130 Release(cur_thread(), CALLERPC, (uptr)addr); in __tsan_release()