Home
last modified time | relevance | path

Searched refs:__new (Results 1 – 10 of 10) 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/riscv/include/asm/
H A Dcmpxchg.h75 __typeof__(*(__ptr)) __new = (new); \
82 __ret, __ptr, __new); \
87 __ret, __ptr, __new); \
91 __ret, __ptr, __new); \
95 __ret, __ptr, __new); \
228 __typeof__(*(__ptr)) __new = (new); \
236 __ret, __ptr, __old, __new); \
242 __ret, __ptr, __old, __new); \
248 __ret, __ptr, (long)(int)(long), __old, __new); \
254 __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/rust/kernel/num/
H A Dbounded.rs272 unsafe { Self::__new(VALUE) }
296 const unsafe fn __new(value: T) -> Self { in __new() function
340 unsafe { Self::__new(value) } in try_new()
383 unsafe { Self::__new(expr) } in from_expr()
425 unsafe { Bounded::__new(self.0) } in extend()
481 unsafe { Bounded::__new(value) } in cast()
503 unsafe { Bounded::__new(self.0 >> SHIFT) } in shr()
555 unsafe { Bounded::__new(self.0 << SHIFT) } in shl()
1033 unsafe { Self::__new(T::from(value)) }
1142 unsafe { Self::__new(T::from(value)) } in from()
/linux/security/apparmor/include/
H A Dlib.h349 struct aa_label *__new; \
351 __new = (OTHER_FN); \
353 __new = (NS_FN); \
354 (__new); \
/linux/arch/mips/include/asm/
H A Dcmpxchg.h301 unsigned long long __new = (__typeof__(*(ptr)))(n); \
312 __res = __cmpxchg64((ptr), __old, __new); \