Home
last modified time | relevance | path

Searched refs:atomic_fetch_sub (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h117 u32 prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); in Unlock()
130 u32 prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()
H A Dsanitizer_atomic_msvc.h136 INLINE u32 atomic_fetch_sub(volatile atomic_uint32_t *a, in atomic_fetch_sub() function
144 INLINE uptr atomic_fetch_sub(volatile atomic_uintptr_t *a, in atomic_fetch_sub() function
H A Dsanitizer_atomic_clang.h55 INLINE typename T::Type atomic_fetch_sub(volatile T *a, in atomic_fetch_sub() function
H A Dsanitizer_atomic_clang_mips.h59 INLINE atomic_uint64_t::Type atomic_fetch_sub(volatile atomic_uint64_t *ptr, in atomic_fetch_sub() function
H A Dsanitizer_tls_get_addr.cc50 atomic_fetch_sub(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_Deallocate()
H A Dsanitizer_common.cc192 atomic_fetch_sub(&g_total_mmaped, size, memory_order_relaxed); in DecreaseTotalMmap()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.cc250 uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); in Unlock()
277 uptr prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()
H A Dtsan_fd.cc65 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref()
/freebsd-12.1/contrib/ofed/librdmacm/
H A Dcma.h73 if (atomic_fetch_sub(&lock->cnt, 1) > 1) in fastlock_release()
H A Dpreload.c1016 if (atomic_fetch_sub(&fdi->refcnt, 1) != 1) in close()
H A Drsocket.c903 if (atomic_fetch_sub(&iomr->refcnt, 1) != 1) in rs_release_iomap_mr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Headers/
H A Dstdatomic.h149 #define atomic_fetch_sub(object, operand) __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) macro
H A Dopencl-c.h13686 int __ovld atomic_fetch_sub(volatile atomic_int *object, int operand);
13689 uint __ovld atomic_fetch_sub(volatile atomic_uint *object, uint operand);
13736 long __ovld atomic_fetch_sub(volatile atomic_long *object, long operand);
13739 ulong __ovld atomic_fetch_sub(volatile atomic_ulong *object, ulong operand);
13788 uintptr_t __ovld atomic_fetch_sub(volatile atomic_uintptr_t *object, ptrdiff_t operand);
/freebsd-12.1/contrib/libc++/include/
H A Datomic387 atomic_fetch_sub(volatile atomic<Integral>* obj, Integral op) noexcept;
391 atomic_fetch_sub(atomic<Integral>* obj, Integral op) noexcept;
468 atomic_fetch_sub(volatile atomic<T*>* obj, ptrdiff_t op) noexcept;
472 atomic_fetch_sub(atomic<T*>* obj, ptrdiff_t op) noexcept;
1477 // atomic_fetch_sub
1486 atomic_fetch_sub(volatile atomic<_Tp>* __o, _Tp __op) _NOEXCEPT
1498 atomic_fetch_sub(atomic<_Tp>* __o, _Tp __op) _NOEXCEPT
1506 atomic_fetch_sub(volatile atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT
1514 atomic_fetch_sub(atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT
/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_buffer_queue.cc47 if (atomic_fetch_sub(&C->RefCount, 1, memory_order_acq_rel) == 1) in decRefCount()
H A Dxray_fdr_log_writer.h225 atomic_fetch_sub(Buffer.Extents, B, memory_order_acq_rel);
/freebsd-12.1/sys/sys/
H A Dstdatomic.h356 #define atomic_fetch_sub(object, operand) \ macro
/freebsd-12.1/share/man/man3/
H A DMakefile39 ATOMIC_VAR_INIT.3 atomic_fetch_sub.3 \