Home
last modified time | relevance | path

Searched refs:pcp1 (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/include/asm-generic/
Dpercpu.h106 #define raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument
108 typeof(&(pcp1)) __p1 = raw_cpu_ptr(&(pcp1)); \
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/
Dpercpu-defs.h356 #define __pcpu_double_call_return_bool(stem, pcp1, pcp2, ...) \ argument
359 __verify_pcpu_ptr(&(pcp1)); \
360 BUILD_BUG_ON(sizeof(pcp1) != sizeof(pcp2)); \
361 VM_BUG_ON((unsigned long)(&(pcp1)) % (2 * sizeof(pcp1))); \
363 (unsigned long)(&(pcp1)) + sizeof(pcp1)); \
364 switch(sizeof(pcp1)) { \
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; \
[all …]
/Linux-v4.19/arch/s390/include/asm/
Dpercpu.h167 #define arch_this_cpu_cmpxchg_double(pcp1, pcp2, o1, o2, n1, n2) \ argument
169 typeof(pcp1) o1__ = (o1), n1__ = (n1); \
171 typeof(pcp1) *p1__; \
175 p1__ = raw_cpu_ptr(&(pcp1)); \
/Linux-v4.19/arch/x86/include/asm/
Dpercpu.h448 #define percpu_cmpxchg8b_double(pcp1, pcp2, o1, o2, n1, n2) \ argument
451 typeof(pcp1) __o1 = (o1), __n1 = (n1); \
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
496 typeof(pcp1) __o1 = (o1), __n1 = (n1); \
501 ASM_OUTPUT2("=a" (__ret), "+m" (pcp1), \
/Linux-v4.19/Documentation/
Dthis_cpu_ops.txt56 this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2)
245 __this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2)