| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_mutex.h | 117 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 D | sanitizer_atomic_msvc.h | 136 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 D | sanitizer_atomic_clang.h | 55 INLINE typename T::Type atomic_fetch_sub(volatile T *a, in atomic_fetch_sub() function
|
| H A D | sanitizer_atomic_clang_mips.h | 59 INLINE atomic_uint64_t::Type atomic_fetch_sub(volatile atomic_uint64_t *ptr, in atomic_fetch_sub() function
|
| H A D | sanitizer_tls_get_addr.cc | 50 atomic_fetch_sub(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_Deallocate()
|
| H A D | sanitizer_common.cc | 192 atomic_fetch_sub(&g_total_mmaped, size, memory_order_relaxed); in DecreaseTotalMmap()
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_mutex.cc | 250 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 D | tsan_fd.cc | 65 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref()
|
| /freebsd-12.1/contrib/ofed/librdmacm/ |
| H A D | cma.h | 73 if (atomic_fetch_sub(&lock->cnt, 1) > 1) in fastlock_release()
|
| H A D | preload.c | 1016 if (atomic_fetch_sub(&fdi->refcnt, 1) != 1) in close()
|
| H A D | rsocket.c | 903 if (atomic_fetch_sub(&iomr->refcnt, 1) != 1) in rs_release_iomap_mr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Headers/ |
| H A D | stdatomic.h | 149 #define atomic_fetch_sub(object, operand) __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) macro
|
| H A D | opencl-c.h | 13686 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 D | atomic | 387 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 D | xray_buffer_queue.cc | 47 if (atomic_fetch_sub(&C->RefCount, 1, memory_order_acq_rel) == 1) in decRefCount()
|
| H A D | xray_fdr_log_writer.h | 225 atomic_fetch_sub(Buffer.Extents, B, memory_order_acq_rel);
|
| /freebsd-12.1/sys/sys/ |
| H A D | stdatomic.h | 356 #define atomic_fetch_sub(object, operand) \ macro
|
| /freebsd-12.1/share/man/man3/ |
| H A D | Makefile | 39 ATOMIC_VAR_INIT.3 atomic_fetch_sub.3 \
|