Searched refs:atomic_fetch_sub (Results 1 – 3 of 3) sorted by relevance
234 uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); in Unlock()261 uptr prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()
59 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref()
81 INLINE typename T::Type atomic_fetch_sub(volatile T *a, in atomic_fetch_sub() function