Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/asm-generic/
Dpercpu.h102 #define raw_cpu_generic_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2) \ argument
104 typeof(pcp1) *__p1 = raw_cpu_ptr(&(pcp1)); \
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/
Dpercpu-defs.h354 #define __pcpu_double_call_return_bool(stem, pcp1, pcp2, ...) \ argument
357 __verify_pcpu_ptr(&(pcp1)); \
358 BUILD_BUG_ON(sizeof(pcp1) != sizeof(pcp2)); \
359 VM_BUG_ON((unsigned long)(&(pcp1)) % (2 * sizeof(pcp1))); \
361 (unsigned long)(&(pcp1)) + sizeof(pcp1)); \
362 switch(sizeof(pcp1)) { \
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; \
[all …]
/kernel/linux/linux-5.10/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)); \
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpercpu.h294 #define percpu_cmpxchg8b_double(pcp1, pcp2, o1, o2, n1, n2) \ argument
297 typeof(pcp1) __o1 = (o1), __n1 = (n1); \
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
342 typeof(pcp1) __o1 = (o1), __n1 = (n1); \
347 ASM_OUTPUT2("=a" (__ret), "+m" (pcp1), \
/kernel/linux/linux-5.10/Documentation/core-api/
Dthis_cpu_ops.rst56 this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2)
245 __this_cpu_cmpxchg_double(pcp1, pcp2, oval1, oval2, nval1, nval2)