/Linux-v4.19/include/asm-generic/ |
D | percpu.h | 106 #define raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 109 typeof(&(pcp2)) __p2 = raw_cpu_ptr(&(pcp2)); \ 187 #define this_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 192 __ret = raw_cpu_generic_cmpxchg_double(pcp1, pcp2, \ 307 #define raw_cpu_cmpxchg_double_1(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 308 raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) 311 #define raw_cpu_cmpxchg_double_2(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 312 raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) 315 #define raw_cpu_cmpxchg_double_4(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 316 raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) [all …]
|
/Linux-v4.19/include/linux/ |
D | percpu-defs.h | 356 #define __pcpu_double_call_return_bool(stem, pcp1, pcp2, ...) \ argument 360 BUILD_BUG_ON(sizeof(pcp1) != sizeof(pcp2)); \ 362 VM_BUG_ON((unsigned long)(&(pcp2)) != \ 365 case 1: pdcrb_ret__ = stem##1(pcp1, pcp2, __VA_ARGS__); break; \ 366 case 2: pdcrb_ret__ = stem##2(pcp1, pcp2, __VA_ARGS__); break; \ 367 case 4: pdcrb_ret__ = stem##4(pcp1, pcp2, __VA_ARGS__); break; \ 368 case 8: pdcrb_ret__ = stem##8(pcp1, pcp2, __VA_ARGS__); break; \ 431 #define raw_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 432 __pcpu_double_call_return_bool(raw_cpu_cmpxchg_double_, pcp1, pcp2, oval1, oval2, nval1, nval2) 493 #define __this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument [all …]
|
/Linux-v4.19/arch/s390/include/asm/ |
D | percpu.h | 167 #define arch_this_cpu_cmpxchg_double(pcp1, pcp2, o1, o2, n1, n2) \ argument 170 typeof(pcp2) o2__ = (o2), n2__ = (n2); \ 172 typeof(pcp2) *p2__; \ 176 p2__ = raw_cpu_ptr(&(pcp2)); \
|
/Linux-v4.19/arch/x86/include/asm/ |
D | percpu.h | 448 #define percpu_cmpxchg8b_double(pcp1, pcp2, o1, o2, n1, n2) \ argument 452 typeof(pcp2) __o2 = (o2), __n2 = (n2); \ 455 : CC_OUT(z) (__ret), "+m" (pcp1), "+m" (pcp2), "+a" (__o1), "+d" (__o2) \ 493 #define percpu_cmpxchg16b_double(pcp1, pcp2, o1, o2, n1, n2) \ argument 497 typeof(pcp2) __o2 = (o2), __n2 = (n2); \ 502 "+m" (pcp2), "+d" (__o2)), \
|
/Linux-v4.19/Documentation/ |
D | this_cpu_ops.txt | 56 this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) 245 __this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2)
|