Lines Matching refs:ThreadState
35 ThreadState *const thr = cur_thread(); \
57 ScopedAtomic(ThreadState *thr, uptr pc, const volatile void *a, in ScopedAtomic()
72 ThreadState *thr_;
75 static void AtomicStatInc(ThreadState *thr, uptr size, morder mo, StatType t) { in AtomicStatInc()
247 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a, in AtomicLoad()
267 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicStore()
291 static T AtomicRMW(ThreadState *thr, uptr pc, volatile T *a, T v, morder mo) { in AtomicRMW()
311 static T AtomicExchange(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicExchange()
317 static T AtomicFetchAdd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAdd()
323 static T AtomicFetchSub(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchSub()
329 static T AtomicFetchAnd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAnd()
335 static T AtomicFetchOr(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchOr()
341 static T AtomicFetchXor(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchXor()
347 static T AtomicFetchNand(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchNand()
353 static bool AtomicCAS(ThreadState *thr, uptr pc, in AtomicCAS()
379 static T AtomicCAS(ThreadState *thr, uptr pc, in AtomicCAS()
385 static void AtomicFence(ThreadState *thr, uptr pc, morder mo) { in AtomicFence()