Lines Matching refs:ThreadState
224 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a, morder mo) { in AtomicLoad()
262 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicStore()
285 static T AtomicRMW(ThreadState *thr, uptr pc, volatile T *a, T v, morder mo) { in AtomicRMW()
342 static T AtomicExchange(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicExchange()
348 static T AtomicFetchAdd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAdd()
354 static T AtomicFetchSub(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchSub()
360 static T AtomicFetchAnd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAnd()
366 static T AtomicFetchOr(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchOr()
372 static T AtomicFetchXor(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchXor()
378 static T AtomicFetchNand(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchNand()
407 static bool AtomicCAS(ThreadState *thr, uptr pc, volatile T *a, T *c, T v, in AtomicCAS()
449 static T AtomicCAS(ThreadState *thr, uptr pc, in AtomicCAS()
460 static void AtomicFence(ThreadState *thr, uptr pc, morder mo) { in AtomicFence()
489 ThreadState *const thr = cur_thread(); \
868 void __tsan_go_atomic32_load(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_load()
873 void __tsan_go_atomic64_load(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_load()
878 void __tsan_go_atomic32_store(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_store()
883 void __tsan_go_atomic64_store(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_store()
888 void __tsan_go_atomic32_fetch_add(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_fetch_add()
893 void __tsan_go_atomic64_fetch_add(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_fetch_add()
898 void __tsan_go_atomic32_fetch_and(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_fetch_and()
904 void __tsan_go_atomic64_fetch_and(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_fetch_and()
910 void __tsan_go_atomic32_fetch_or(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_fetch_or()
916 void __tsan_go_atomic64_fetch_or(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_fetch_or()
922 void __tsan_go_atomic32_exchange(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_exchange()
927 void __tsan_go_atomic64_exchange(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_exchange()
933 ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_compare_exchange()
942 ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_compare_exchange()