/kernel/linux/linux-5.10/include/asm-generic/ |
D | percpu.h | 102 #define raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 105 typeof(pcp2) *__p2 = raw_cpu_ptr(&(pcp2)); \ 183 #define this_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 188 __ret = raw_cpu_generic_cmpxchg_double(pcp1, pcp2, \ 303 #define raw_cpu_cmpxchg_double_1(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 304 raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) 307 #define raw_cpu_cmpxchg_double_2(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_4(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 312 raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | percpu-defs.h | 354 #define __pcpu_double_call_return_bool(stem, pcp1, pcp2, ...) \ argument 358 BUILD_BUG_ON(sizeof(pcp1) != sizeof(pcp2)); \ 360 VM_BUG_ON((unsigned long)(&(pcp2)) != \ 363 case 1: pdcrb_ret__ = stem##1(pcp1, pcp2, __VA_ARGS__); break; \ 364 case 2: pdcrb_ret__ = stem##2(pcp1, pcp2, __VA_ARGS__); break; \ 365 case 4: pdcrb_ret__ = stem##4(pcp1, pcp2, __VA_ARGS__); break; \ 366 case 8: pdcrb_ret__ = stem##8(pcp1, pcp2, __VA_ARGS__); break; \ 429 #define raw_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument 430 __pcpu_double_call_return_bool(raw_cpu_cmpxchg_double_, pcp1, pcp2, oval1, oval2, nval1, nval2) 491 #define __this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument [all …]
|
/kernel/linux/linux-5.10/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)); \
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | percpu.h | 294 #define percpu_cmpxchg8b_double(pcp1, pcp2, o1, o2, n1, n2) \ argument 298 typeof(pcp2) __o2 = (o2), __n2 = (n2); \ 301 : CC_OUT(z) (__ret), "+m" (pcp1), "+m" (pcp2), "+a" (__o1), "+d" (__o2) \ 339 #define percpu_cmpxchg16b_double(pcp1, pcp2, o1, o2, n1, n2) \ argument 343 typeof(pcp2) __o2 = (o2), __n2 = (n2); \ 348 "+m" (pcp2), "+d" (__o2)), \
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | this_cpu_ops.rst | 56 this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) 245 __this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2)
|