Searched refs:_InterlockedExchangeAdd (Results 1 – 2 of 2) sorted by relevance
100 *ret = _InterlockedExchangeAdd((void *)&refcnt->val, 1) + 1; in CRYPTO_UP_REF()106 *ret = _InterlockedExchangeAdd((void *)&refcnt->val, -1) - 1; in CRYPTO_DOWN_REF()152 # pragma intrinsic(_InterlockedExchangeAdd)155 extern long __cdecl _InterlockedExchangeAdd(long volatile*, long);159 # define _InterlockedExchangeAdd InterlockedExchangeAdd macro165 *ret = _InterlockedExchangeAdd(&refcnt->val, 1) + 1; in CRYPTO_UP_REF()171 *ret = _InterlockedExchangeAdd(&refcnt->val, -1) - 1; in CRYPTO_DOWN_REF()177 *ret = _InterlockedExchangeAdd(&refcnt->val, 0); in CRYPTO_GET_REF()
96 # define _InterlockedExchangeAdd _InterlockedExchangeAdd_nf macro115 # pragma intrinsic(_InterlockedExchangeAdd)119 : _InterlockedExchangeAdd((ptr), (n)))121 # define tsan_add(ptr, n) _InterlockedExchangeAdd((ptr), (n))
Completed in 6 milliseconds