pcp1 167 arch/s390/include/asm/percpu.h #define arch_this_cpu_cmpxchg_double(pcp1, pcp2, o1, o2, n1, n2) \ pcp1 169 arch/s390/include/asm/percpu.h typeof(pcp1) o1__ = (o1), n1__ = (n1); \ pcp1 171 arch/s390/include/asm/percpu.h typeof(pcp1) *p1__; \ pcp1 175 arch/s390/include/asm/percpu.h p1__ = raw_cpu_ptr(&(pcp1)); \ pcp1 460 arch/x86/include/asm/percpu.h #define percpu_cmpxchg8b_double(pcp1, pcp2, o1, o2, n1, n2) \ pcp1 463 arch/x86/include/asm/percpu.h typeof(pcp1) __o1 = (o1), __n1 = (n1); \ pcp1 467 arch/x86/include/asm/percpu.h : CC_OUT(z) (__ret), "+m" (pcp1), "+m" (pcp2), "+a" (__o1), "+d" (__o2) \ pcp1 505 arch/x86/include/asm/percpu.h #define percpu_cmpxchg16b_double(pcp1, pcp2, o1, o2, n1, n2) \ pcp1 508 arch/x86/include/asm/percpu.h typeof(pcp1) __o1 = (o1), __n1 = (n1); \ pcp1 513 arch/x86/include/asm/percpu.h ASM_OUTPUT2("=a" (__ret), "+m" (pcp1), \ pcp1 102 include/asm-generic/percpu.h #define raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 104 include/asm-generic/percpu.h typeof(&(pcp1)) __p1 = raw_cpu_ptr(&(pcp1)); \ pcp1 183 include/asm-generic/percpu.h #define this_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 188 include/asm-generic/percpu.h __ret = raw_cpu_generic_cmpxchg_double(pcp1, pcp2, \ pcp1 303 include/asm-generic/percpu.h #define raw_cpu_cmpxchg_double_1(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 304 include/asm-generic/percpu.h raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 307 include/asm-generic/percpu.h #define raw_cpu_cmpxchg_double_2(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 308 include/asm-generic/percpu.h raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 311 include/asm-generic/percpu.h #define raw_cpu_cmpxchg_double_4(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 312 include/asm-generic/percpu.h raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 315 include/asm-generic/percpu.h #define raw_cpu_cmpxchg_double_8(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 316 include/asm-generic/percpu.h raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 428 include/asm-generic/percpu.h #define this_cpu_cmpxchg_double_1(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 429 include/asm-generic/percpu.h this_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 432 include/asm-generic/percpu.h #define this_cpu_cmpxchg_double_2(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 433 include/asm-generic/percpu.h this_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 436 include/asm-generic/percpu.h #define this_cpu_cmpxchg_double_4(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 437 include/asm-generic/percpu.h this_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 440 include/asm-generic/percpu.h #define this_cpu_cmpxchg_double_8(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 441 include/asm-generic/percpu.h this_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 354 include/linux/percpu-defs.h #define __pcpu_double_call_return_bool(stem, pcp1, pcp2, ...) \ pcp1 357 include/linux/percpu-defs.h __verify_pcpu_ptr(&(pcp1)); \ pcp1 358 include/linux/percpu-defs.h BUILD_BUG_ON(sizeof(pcp1) != sizeof(pcp2)); \ pcp1 359 include/linux/percpu-defs.h VM_BUG_ON((unsigned long)(&(pcp1)) % (2 * sizeof(pcp1))); \ pcp1 361 include/linux/percpu-defs.h (unsigned long)(&(pcp1)) + sizeof(pcp1)); \ pcp1 362 include/linux/percpu-defs.h switch(sizeof(pcp1)) { \ pcp1 363 include/linux/percpu-defs.h case 1: pdcrb_ret__ = stem##1(pcp1, pcp2, __VA_ARGS__); break; \ pcp1 364 include/linux/percpu-defs.h case 2: pdcrb_ret__ = stem##2(pcp1, pcp2, __VA_ARGS__); break; \ pcp1 365 include/linux/percpu-defs.h case 4: pdcrb_ret__ = stem##4(pcp1, pcp2, __VA_ARGS__); break; \ pcp1 366 include/linux/percpu-defs.h case 8: pdcrb_ret__ = stem##8(pcp1, pcp2, __VA_ARGS__); break; \ pcp1 429 include/linux/percpu-defs.h #define raw_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 430 include/linux/percpu-defs.h __pcpu_double_call_return_bool(raw_cpu_cmpxchg_double_, pcp1, pcp2, oval1, oval2, nval1, nval2) pcp1 491 include/linux/percpu-defs.h #define __this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 493 include/linux/percpu-defs.h raw_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2); \ pcp1 516 include/linux/percpu-defs.h #define this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ pcp1 517 include/linux/percpu-defs.h __pcpu_double_call_return_bool(this_cpu_cmpxchg_double_, pcp1, pcp2, oval1, oval2, nval1, nval2)