Home
last modified time | relevance | path

Searched refs:__new (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/arch/csky/include/asm/
H A Dcmpxchg.h14 __typeof__(new) __new = (new); \
31 "r" ((u32)__new << shif), \
45 : "r" (__new), "r"(__ptr) \
60 __typeof__(new) __new = (new); \
66 …t = (__typeof__(*(ptr)))cmpxchg_emu_u8((volatile u8 *)__ptr, (uintptr_t)__old, (uintptr_t)__new); \
78 : "r" (__new), "r"(__ptr), "r"(__old) \
93 __typeof__(new) __new = (new); \
99 …t = (__typeof__(*(ptr)))cmpxchg_emu_u8((volatile u8 *)__ptr, (uintptr_t)__old, (uintptr_t)__new); \
112 : "r" (__new), "r"(__ptr), "r"(__old) \
127 __typeof__(new) __new = (new); \
[all …]
/linux-6.15/arch/x86/include/asm/
H A Dcmpxchg.h89 __typeof__(*(ptr)) __new = (new); \
96 : "q" (__new), "0" (__old) \
105 : "r" (__new), "0" (__old) \
114 : "r" (__new), "0" (__old) \
123 : "r" (__new), "0" (__old) \
163 __typeof__(*(_ptr)) __new = (_new); \
173 : [new] "q" (__new) \
185 : [new] "r" (__new) \
197 : [new] "r" (__new) \
209 : [new] "r" (__new) \
H A Duaccess.h377 __typeof__(*(_ptr)) __new = (_new); \
384 : [new] ltype (__new) \
396 __typeof__(*(_ptr)) __new = (_new); \
403 : "b" ((u32)__new), \
404 "c" ((u32)((u64)__new >> 32)) \
417 __typeof__(*(_ptr)) __new = (_new); \
428 : [new] ltype (__new) \
448 __typeof__(*(_ptr)) __new = (_new); \
459 : "b" ((u32)__new), \
460 "c" ((u32)((u64)__new >> 32)) \
/linux-6.15/tools/arch/x86/include/asm/
H A Dcmpxchg.h39 __typeof__(*(ptr)) __new = (new); \
46 : "q" (__new), "0" (__old) \
55 : "r" (__new), "0" (__old) \
64 : "r" (__new), "0" (__old) \
73 : "r" (__new), "0" (__old) \
/linux-6.15/arch/s390/include/asm/
H A Dcmpxchg.h114 __typeof__(*(ptr)) __new = (new); \
121 __prev = arch_cmpxchg((ptr), (__old), (__new)); \
133 : [__new] "d" (__new) \
143 : [__new] "d" (__new) \
159 __typeof__(*(ptr)) __new = (new); \
162 __prev = arch_cmpxchg((ptr), (__old), (__new)); \
/linux-6.15/arch/riscv/include/asm/
H A Dcmpxchg.h69 __typeof__(*(__ptr)) __new = (new); \
76 __ret, __ptr, __new); \
81 __ret, __ptr, __new); \
85 __ret, __ptr, __new); \
89 __ret, __ptr, __new); \
214 __typeof__(*(__ptr)) __new = (new); \
222 __ret, __ptr, __old, __new); \
228 __ret, __ptr, __old, __new); \
234 __ret, __ptr, (long)(int)(long), __old, __new); \
240 __ret, __ptr, /**/, __old, __new); \
/linux-6.15/include/xen/interface/io/
H A Dring.h270 RING_IDX __new = (_r)->req_prod_pvt; \
272 (_r)->sring->req_prod = __new; \
274 (_notify) = ((RING_IDX)(__new - (_r)->sring->req_event) < \
275 (RING_IDX)(__new - __old)); \
280 RING_IDX __new = (_r)->rsp_prod_pvt; \
282 (_r)->sring->rsp_prod = __new; \
284 (_notify) = ((RING_IDX)(__new - (_r)->sring->rsp_event) < \
285 (RING_IDX)(__new - __old)); \
/linux-6.15/arch/hexagon/include/asm/
H A Dcmpxchg.h58 __typeof__(*(ptr)) __new = (new); \
69 : "r" (__ptr), "r" (__old), "r" (__new) \
/linux-6.15/security/apparmor/include/
H A Dlib.h291 struct aa_label *__new; \
293 __new = (OTHER_FN); \
295 __new = (NS_FN); \
296 (__new); \
/linux-6.15/arch/arm64/include/asm/
H A Dfpsimd.h222 u64 __new = __zcr & ~ZCR_ELx_LEN_MASK; \
223 __new |= (val) & ZCR_ELx_LEN_MASK; \
224 if (__zcr != __new) \
225 write_sysreg_s(__new, (reg)); \
/linux-6.15/arch/mips/include/asm/
H A Dcmpxchg.h301 unsigned long long __new = (__typeof__(*(ptr)))(n); \
312 __res = __cmpxchg64((ptr), __old, __new); \
/linux-6.15/drivers/media/common/
H A Dcx2341x.c1022 #define CMP_FIELD(__old, __new, __field) (__old->__field != __new->__field) argument