Home
last modified time | relevance | path

Searched refs:__oldval (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/arch/hexagon/include/asm/
H A Datomic.h66 int __oldval; in atomic_cmpxchg() local
75 : "=&r" (__oldval) in atomic_cmpxchg()
80 return __oldval; in atomic_cmpxchg()
162 int __oldval; in ATOMIC_OPS() local
177 : "=&r" (__oldval), "=&r" (tmp) in ATOMIC_OPS()
181 return __oldval; in ATOMIC_OPS()
H A Dcmpxchg.h59 __typeof__(*(ptr)) __oldval = 0; \
68 : "=&r" (__oldval) \
72 __oldval; \
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/
H A Datomic_base.h948 _Val<_Tp> __oldval = load(__ptr, memory_order_relaxed); in _GLIBCXX_VISIBILITY()
949 _Val<_Tp> __newval = __oldval + __i; in _GLIBCXX_VISIBILITY()
950 while (!compare_exchange_weak(__ptr, __oldval, __newval, __m, in _GLIBCXX_VISIBILITY()
952 __newval = __oldval + __i; in _GLIBCXX_VISIBILITY()
953 return __oldval; in _GLIBCXX_VISIBILITY()
960 _Val<_Tp> __oldval = load(__ptr, memory_order_relaxed); in _GLIBCXX_VISIBILITY()
961 _Val<_Tp> __newval = __oldval - __i; in _GLIBCXX_VISIBILITY()
962 while (!compare_exchange_weak(__ptr, __oldval, __newval, __m, in _GLIBCXX_VISIBILITY()
964 __newval = __oldval - __i; in _GLIBCXX_VISIBILITY()
965 return __oldval; in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/
H A Datomic_base.h948 _Val<_Tp> __oldval = load(__ptr, memory_order_relaxed); in _GLIBCXX_VISIBILITY()
949 _Val<_Tp> __newval = __oldval + __i; in _GLIBCXX_VISIBILITY()
950 while (!compare_exchange_weak(__ptr, __oldval, __newval, __m, in _GLIBCXX_VISIBILITY()
952 __newval = __oldval + __i; in _GLIBCXX_VISIBILITY()
953 return __oldval; in _GLIBCXX_VISIBILITY()
960 _Val<_Tp> __oldval = load(__ptr, memory_order_relaxed); in _GLIBCXX_VISIBILITY()
961 _Val<_Tp> __newval = __oldval - __i; in _GLIBCXX_VISIBILITY()
962 while (!compare_exchange_weak(__ptr, __oldval, __newval, __m, in _GLIBCXX_VISIBILITY()
964 __newval = __oldval - __i; in _GLIBCXX_VISIBILITY()
965 return __oldval; in _GLIBCXX_VISIBILITY()
[all …]