Home
last modified time | relevance | path

Searched refs:_oldp (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/x86/include/asm/
Duaccess.h586 #define __try_cmpxchg64_user_asm(_ptr, _oldp, _nval, _label) \ argument
587 __try_cmpxchg_user_asm("q", "r", (_ptr), (_oldp), (_nval), _label)
595 #define unsafe_try_cmpxchg_user(_ptr, _oldp, _nval, _label) ({ \ argument
600 (__force u8 *)(_ptr), (_oldp), \
604 (__force u16 *)(_ptr), (_oldp), \
608 (__force u32 *)(_ptr), (_oldp), \
611 case 8: __ret = __try_cmpxchg64_user_asm((__force u64 *)(_ptr), (_oldp),\
619 #define __try_cmpxchg_user(_ptr, _oldp, _nval, _label) ({ \ argument
622 __ret = !unsafe_try_cmpxchg_user(_ptr, _oldp, _nval, _label); \
/Linux-v6.1/include/linux/atomic/
Datomic-arch-fallback.h88 #define arch_try_cmpxchg(_ptr, _oldp, _new) \ argument
90 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
99 #define arch_try_cmpxchg_acquire(_ptr, _oldp, _new) \ argument
101 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
110 #define arch_try_cmpxchg_release(_ptr, _oldp, _new) \ argument
112 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
121 #define arch_try_cmpxchg_relaxed(_ptr, _oldp, _new) \ argument
123 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
158 #define arch_try_cmpxchg64(_ptr, _oldp, _new) \ argument
160 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
[all …]
/Linux-v6.1/scripts/atomic/
Dgen-atomic-fallback.sh174 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \\