Home
last modified time | relevance | path

Searched refs:pcp (Results 1 – 4 of 4) sorted by relevance

/arch/s390/include/asm/
Dpercpu.h27 #define arch_this_cpu_to_op_simple(pcp, val, op) \ argument
29 typedef typeof(pcp) pcp_op_T__; \
33 ptr__ = raw_cpu_ptr(&(pcp)); \
44 #define this_cpu_add_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
45 #define this_cpu_add_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
46 #define this_cpu_add_return_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
47 #define this_cpu_add_return_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
48 #define this_cpu_and_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
49 #define this_cpu_and_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
50 #define this_cpu_or_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument
[all …]
/arch/x86/include/asm/
Dpercpu.h222 #define this_cpu_read_stable_1(pcp) percpu_stable_op(1, "mov", pcp) argument
223 #define this_cpu_read_stable_2(pcp) percpu_stable_op(2, "mov", pcp) argument
224 #define this_cpu_read_stable_4(pcp) percpu_stable_op(4, "mov", pcp) argument
225 #define this_cpu_read_stable_8(pcp) percpu_stable_op(8, "mov", pcp) argument
226 #define this_cpu_read_stable(pcp) __pcpu_size_call_return(this_cpu_read_stable_, pcp) argument
228 #define raw_cpu_read_1(pcp) percpu_from_op(1, , "mov", pcp) argument
229 #define raw_cpu_read_2(pcp) percpu_from_op(2, , "mov", pcp) argument
230 #define raw_cpu_read_4(pcp) percpu_from_op(4, , "mov", pcp) argument
232 #define raw_cpu_write_1(pcp, val) percpu_to_op(1, , "mov", (pcp), val) argument
233 #define raw_cpu_write_2(pcp, val) percpu_to_op(2, , "mov", (pcp), val) argument
[all …]
/arch/arm64/include/asm/
Dpercpu.h155 #define _pcp_protect(op, pcp, ...) \ argument
158 op(raw_cpu_ptr(&(pcp)), __VA_ARGS__); \
162 #define _pcp_protect_return(op, pcp, args...) \ argument
164 typeof(pcp) __retval; \
166 __retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \
171 #define this_cpu_read_1(pcp) \ argument
172 _pcp_protect_return(__percpu_read_8, pcp)
173 #define this_cpu_read_2(pcp) \ argument
174 _pcp_protect_return(__percpu_read_16, pcp)
175 #define this_cpu_read_4(pcp) \ argument
[all …]
/arch/sparc/kernel/
Dpcic.c608 struct pcidev_cookie *pcp; in pcibios_fixup_bus() local
631 pcp = pci_devcookie_alloc(); in pcibios_fixup_bus()
632 pcp->pbm = &pcic->pbm; in pcibios_fixup_bus()
633 pcp->prom_node = of_find_node_by_phandle(node); in pcibios_fixup_bus()
634 dev->sysdata = pcp; in pcibios_fixup_bus()