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