Home
last modified time | relevance | path

Searched refs:__old (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/arch/x86/include/asm/
Dcmpxchg.h88 __typeof__(*(ptr)) __old = (old); \
96 : "q" (__new), "0" (__old) \
105 : "r" (__new), "0" (__old) \
114 : "r" (__new), "0" (__old) \
123 : "r" (__new), "0" (__old) \
162 __typeof__(*(_ptr)) __old = *_old; \
172 [old] "+a" (__old) \
184 [old] "+a" (__old) \
196 [old] "+a" (__old) \
208 [old] "+a" (__old) \
[all …]
Duaccess.h376 __typeof__(*(_ptr)) __old = *_old; \
383 [old] "+a" (__old) \
388 *_old = __old; \
395 __typeof__(*(_ptr)) __old = *_old; \
401 "+A" (__old), \
408 *_old = __old; \
416 __typeof__(*(_ptr)) __old = *_old; \
427 [old] "+a" (__old) \
433 *_old = __old; \
447 __typeof__(*(_ptr)) __old = *_old; \
[all …]
Dcmpxchg_32.h75 __typeof__(*(ptr)) __old = (o); \
82 "S" ((ptr)), "0" (__old), \
92 __typeof__(*(ptr)) __old = (o); \
98 "S" ((ptr)), "0" (__old), \
/linux-6.6.21/arch/riscv/include/asm/
Dcmpxchg.h169 __typeof__(*(ptr)) __old = (old); \
182 : "rJ" ((long)__old), "rJ" (__new) \
193 : "rJ" (__old), "rJ" (__new) \
213 __typeof__(*(ptr)) __old = (old); \
227 : "rJ" ((long)__old), "rJ" (__new) \
239 : "rJ" (__old), "rJ" (__new) \
259 __typeof__(*(ptr)) __old = (old); \
273 : "rJ" ((long)__old), "rJ" (__new) \
285 : "rJ" (__old), "rJ" (__new) \
305 __typeof__(*(ptr)) __old = (old); \
[all …]
/linux-6.6.21/tools/arch/x86/include/asm/
Dcmpxchg.h38 __typeof__(*(ptr)) __old = (old); \
46 : "q" (__new), "0" (__old) \
55 : "r" (__new), "0" (__old) \
64 : "r" (__new), "0" (__old) \
73 : "r" (__new), "0" (__old) \
/linux-6.6.21/arch/csky/include/asm/
Dcmpxchg.h61 __typeof__(old) __old = (old); \
74 : "r" (__new), "r"(__ptr), "r"(__old) \
91 __typeof__(old) __old = (old); \
105 : "r" (__new), "r"(__ptr), "r"(__old) \
122 __typeof__(old) __old = (old); \
137 : "r" (__new), "r"(__ptr), "r"(__old) \
/linux-6.6.21/arch/hexagon/include/asm/
Dcmpxchg.h57 __typeof__(*(ptr)) __old = (old); \
69 : "r" (__ptr), "r" (__old), "r" (__new) \
/linux-6.6.21/include/asm-generic/
Dpercpu.h94 typeof(pcp) __val, __old = *(ovalp); \
95 __val = _cmpxchg(pcp, __old, nval); \
96 if (__val != __old) \
98 __val == __old; \
118 typeof(pcp) __old = (oval); \
119 raw_cpu_generic_try_cmpxchg(pcp, &__old, nval); \
120 __old; \
/linux-6.6.21/include/xen/interface/io/
Dring.h269 RING_IDX __old = (_r)->sring->req_prod; \
275 (RING_IDX)(__new - __old)); \
279 RING_IDX __old = (_r)->sring->rsp_prod; \
285 (RING_IDX)(__new - __old)); \
/linux-6.6.21/arch/mips/include/asm/
Dcmpxchg.h300 unsigned long long __old = (__typeof__(*(ptr)))(o); \
312 __res = __cmpxchg64((ptr), __old, __new); \
/linux-6.6.21/drivers/media/common/
Dcx2341x.c1022 #define CMP_FIELD(__old, __new, __field) (__old->__field != __new->__field) argument