Home
last modified time | relevance | path

Searched refs:__ATOMIC_ACQ_REL (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/util/
Du_atomic.h46 #define p_atomic_dec_zero(v) (__atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) == 0)
47 #define p_atomic_inc(v) (void) __atomic_add_fetch((v), 1, __ATOMIC_ACQ_REL)
48 #define p_atomic_dec(v) (void) __atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL)
49 #define p_atomic_add(v, i) (void) __atomic_add_fetch((v), (i), __ATOMIC_ACQ_REL)
50 #define p_atomic_inc_return(v) __atomic_add_fetch((v), 1, __ATOMIC_ACQ_REL)
51 #define p_atomic_dec_return(v) __atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL)
52 #define p_atomic_add_return(v, i) __atomic_add_fetch((v), (i), __ATOMIC_ACQ_REL)
53 #define p_atomic_fetch_add(v, i) __atomic_fetch_add((v), (i), __ATOMIC_ACQ_REL)
54 #define p_atomic_xchg(v, i) __atomic_exchange_n((v), (i), __ATOMIC_ACQ_REL)
/third_party/openssl/crypto/
Dthreads_pthread.c203 # if defined(__GNUC__) && defined(__ATOMIC_ACQ_REL) && !defined(BROKEN_CLANG_ATOMICS) in CRYPTO_atomic_add()
205 *ret = __atomic_add_fetch(val, amount, __ATOMIC_ACQ_REL); in CRYPTO_atomic_add()
230 # if defined(__GNUC__) && defined(__ATOMIC_ACQ_REL) && !defined(BROKEN_CLANG_ATOMICS) in CRYPTO_atomic_or()
232 *ret = __atomic_or_fetch(val, op, __ATOMIC_ACQ_REL); in CRYPTO_atomic_or()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c318 …pare_exchange_n(&vws->mksstat_tls[slot].pid, &expecpid, -1U, false, __ATOMIC_ACQ_REL, __ATOMIC_ACQ… in vmw_winsys_screen_mksstat_acq_slot()
328 …pare_exchange_n(&vws->mksstat_tls[slot].pid, &expecpid, -1U, false, __ATOMIC_ACQ_REL, __ATOMIC_ACQ… in vmw_winsys_screen_mksstat_acq_slot()
332 …pare_exchange_n(&vws->mksstat_tls[slot].pid, &expected, -1U, false, __ATOMIC_ACQ_REL, __ATOMIC_ACQ… in vmw_winsys_screen_mksstat_acq_slot()
788 __atomic_fetch_add(&pstat[index].count.value, 1, __ATOMIC_ACQ_REL); in vmw_svga_winsys_stats_inc()
833 …pare_exchange_n(&vws->mksstat_tls[slot].pid, &expected, -1U, false, __ATOMIC_ACQ_REL, __ATOMIC_ACQ… in vmw_svga_winsys_stats_time_pop()
840 __atomic_fetch_add(&counterTime->counter.count.value, 1, __ATOMIC_ACQ_REL); in vmw_svga_winsys_stats_time_pop()
841 __atomic_fetch_add(&counterTime->selfCycles.value, dt, __ATOMIC_ACQ_REL); in vmw_svga_winsys_stats_time_pop()
842 __atomic_fetch_add(&counterTime->totalCycles.value, dt, __ATOMIC_ACQ_REL); in vmw_svga_winsys_stats_time_pop()
849 __atomic_fetch_sub(&counterTime->selfCycles.value, dt, __ATOMIC_ACQ_REL); in vmw_svga_winsys_stats_time_pop()
Dvmw_screen.c97 …c_compare_exchange_n(&vws->mksstat_tls[i].pid, &expected, 0, false, __ATOMIC_ACQ_REL, __ATOMIC_ACQ… in vmw_winsys_screen_deinit_mksstat()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-atomic.hh59 #define hb_atomic_int_impl_add(AI, V) __atomic_fetch_add ((AI), (V), __ATOMIC_ACQ_REL)
72 …return __atomic_compare_exchange_n ((void **) P, (void **) &O, (void *) N, true, __ATOMIC_ACQ_REL,… in _hb_atomic_ptr_impl_cmplexch()
/third_party/harfbuzz/src/
Dhb-atomic.hh59 #define hb_atomic_int_impl_add(AI, V) __atomic_fetch_add ((AI), (V), __ATOMIC_ACQ_REL)
72 …return __atomic_compare_exchange_n ((void **) P, (void **) &O, (void *) N, true, __ATOMIC_ACQ_REL,… in _hb_atomic_ptr_impl_cmplexch()
/third_party/elfutils/lib/
Dstdatomic-fbsd.h136 #ifndef __ATOMIC_ACQ_REL
137 #define __ATOMIC_ACQ_REL 4 macro
155 memory_order_acq_rel = __ATOMIC_ACQ_REL,
/third_party/ltp/m4/
Dltp-atomic.m49 __atomic_add_fetch(&i, 1, __ATOMIC_ACQ_REL);
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-atomic.hh59 #define hb_atomic_int_impl_add(AI, V) __atomic_fetch_add ((AI), (V), __ATOMIC_ACQ_REL)
72 …return __atomic_compare_exchange_n ((void **) P, (void **) &O, (void *) N, true, __ATOMIC_ACQ_REL,… in _hb_atomic_ptr_impl_cmplexch()
/third_party/elfutils/tests/
Drun-readelf-zp.sh157 [ d4b] __ATOMIC_ACQ_REL 4
Drun-dwarf-getmacros.sh306 __ATOMIC_ACQ_REL 4
/third_party/python/Include/internal/
Dpycore_atomic.h72 _Py_memory_order_acq_rel = __ATOMIC_ACQ_REL,
/third_party/libbpf/src/
Dringbuf.c469 __atomic_exchange_n(&hdr->len, new_len, __ATOMIC_ACQ_REL); in user_ringbuf_commit()
/third_party/mesa3d/
Dmeson.build1329 (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL);
1347 (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL);