Searched refs:sfx (Results 1 – 2 of 2) sorted by relevance
/arch/arm64/include/asm/ |
D | cmpxchg.h | 77 #define __XCHG_GEN(sfx) \ argument 78 static inline unsigned long __xchg##sfx(unsigned long x, \ 84 return __xchg_case##sfx##_1(x, ptr); \ 86 return __xchg_case##sfx##_2(x, ptr); \ 88 return __xchg_case##sfx##_4(x, ptr); \ 90 return __xchg_case##sfx##_8(x, ptr); \ 105 #define __xchg_wrapper(sfx, ptr, x) \ argument 109 __xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \ 119 #define __CMPXCHG_GEN(sfx) \ argument 120 static inline unsigned long __cmpxchg##sfx(volatile void *ptr, \ [all …]
|
D | atomic.h | 43 #define ___atomic_add_unless(v, a, u, sfx) \ argument 47 c = atomic##sfx##_read(v); \ 49 (old = atomic##sfx##_cmpxchg((v), c, c + (a))) != c) \
|