Home
last modified time | relevance | path

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

/linux/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/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); \
172 : [new] "q" (__new) \
183 : [new] "r" (__new) \
194 : [new] "r" (__new) \
205 : [new] "r" (__new) \
/linux/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/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/arch/riscv/include/asm/
H A Dcmpxchg.h72 __typeof__(*(__ptr)) __new = (new); \
79 __ret, __ptr, __new); \
84 __ret, __ptr, __new); \
88 __ret, __ptr, __new); \
92 __ret, __ptr, __new); \
219 __typeof__(*(__ptr)) __new = (new); \
227 __ret, __ptr, __old, __new); \
233 __ret, __ptr, __old, __new); \
239 __ret, __ptr, (long)(int)(long), __old, __new); \
245 __ret, __ptr, /**/, __old, __new); \
/linux/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/arch/loongarch/include/asm/
H A Dcmpxchg.h255 union __u128_halves __old, __new, __ret; \
259 __new.full = (new); \
278 "Jr" (__new.low), "Jr" (__new.high) \
/linux/arch/hexagon/include/asm/
H A Dcmpxchg.h58 __typeof__(*(ptr)) __new = (new); \
69 : "r" (__ptr), "r" (__old), "r" (__new) \
/linux/security/apparmor/include/
H A Dlib.h346 struct aa_label *__new; \
348 __new = (OTHER_FN); \
350 __new = (NS_FN); \
351 (__new); \
/linux/rust/kernel/num/
H A Dbounded.rs264 unsafe { Self::__new(VALUE) }
288 const unsafe fn __new(value: T) -> Self { in __new() function
334 unsafe { Self::__new(value) } in try_new()
377 unsafe { Self::__new(expr) } in from_expr()
418 unsafe { Bounded::__new(self.0) } in extend()
474 unsafe { Bounded::__new(value) } in cast()
952 unsafe { Self::__new(T::from(value)) }
1059 unsafe { Self::__new(T::from(value)) } in from()
/linux/arch/mips/include/asm/
H A Dcmpxchg.h301 unsigned long long __new = (__typeof__(*(ptr)))(n); \
312 __res = __cmpxchg64((ptr), __old, __new); \