Lines Matching refs:ThreadState
222 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a, in AtomicLoad()
259 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicStore()
282 static T AtomicRMW(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicRMW()
340 static T AtomicExchange(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicExchange()
346 static T AtomicFetchAdd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAdd()
352 static T AtomicFetchSub(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchSub()
358 static T AtomicFetchAnd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAnd()
364 static T AtomicFetchOr(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchOr()
370 static T AtomicFetchXor(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchXor()
376 static T AtomicFetchNand(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchNand()
405 static bool AtomicCAS(ThreadState *thr, uptr pc, volatile T *a, T *c, T v, morder mo, 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(); \
503 ScopedAtomic(ThreadState *thr, uptr pc, const volatile void *a, in ScopedAtomic()
514 ThreadState *thr_;
894 void __tsan_go_atomic32_load(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_load()
899 void __tsan_go_atomic64_load(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_load()
904 void __tsan_go_atomic32_store(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_store()
909 void __tsan_go_atomic64_store(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_store()
914 void __tsan_go_atomic32_fetch_add(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_fetch_add()
919 void __tsan_go_atomic64_fetch_add(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_fetch_add()
924 void __tsan_go_atomic32_exchange(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_exchange()
929 void __tsan_go_atomic64_exchange(ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_exchange()
935 ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic32_compare_exchange()
944 ThreadState *thr, uptr cpc, uptr pc, u8 *a) { in __tsan_go_atomic64_compare_exchange()