Home
last modified time | relevance | path

Searched refs:__per_cpu_offset (Results 1 – 14 of 14) sorted by relevance

/arch/powerpc/include/asm/
Dpercpu.h15 #define __per_cpu_offset(cpu) (paca[cpu].data_offset) macro
17 #define per_cpu_offset(x) (__per_cpu_offset(x))
/arch/sparc/include/asm/
Dpercpu_64.h14 #define __per_cpu_offset(__cpu) \ macro
16 #define per_cpu_offset(x) (__per_cpu_offset(x))
/arch/x86/kernel/
Dsmpcommon.c20 pack_descriptor(&gdt, __per_cpu_offset[cpu], 0xFFFFF, in init_gdt()
27 per_cpu(this_cpu_off, cpu) = __per_cpu_offset[cpu]; in init_gdt()
Dsetup_percpu.c87 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
88 EXPORT_SYMBOL(__per_cpu_offset);
/arch/ia64/mm/
Dcontig.c170 __per_cpu_offset[0] = (char *) cpu0_data - __per_cpu_start; in per_cpu_init()
171 per_cpu(local_per_cpu_offset, 0) = __per_cpu_offset[0]; in per_cpu_init()
175 __per_cpu_offset[cpu] = (char *) cpu_data - __per_cpu_start; in per_cpu_init()
177 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
180 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
Ddiscontig.c148 __per_cpu_offset[cpu] = (char*)cpu0_data - in per_cpu_node_setup()
153 __per_cpu_offset[cpu] = (char*)__va(cpu_data) - in per_cpu_node_setup()
504 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
507 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
/arch/alpha/include/asm/
Dpercpu.h18 extern unsigned long __per_cpu_offset[NR_CPUS];
20 #define per_cpu_offset(x) (__per_cpu_offset[x])
/arch/parisc/lib/
Dfixup.S29 addil LT%__per_cpu_offset,%r27
30 LDREG RT%__per_cpu_offset(%r1),\t1
/arch/x86/include/asm/
Dpercpu.h15 #define __per_cpu_offset(cpu) (cpu_pda(cpu)->data_offset) macro
18 #define per_cpu_offset(x) (__per_cpu_offset(x))
Di387.h209 #define safe_address (__per_cpu_offset[0])
/arch/x86/xen/
Dxen-asm_32.S166 movl __per_cpu_offset(,%eax,4),%eax
/arch/ia64/kernel/
Dsetup.c72 unsigned long __per_cpu_offset[NR_CPUS]; variable
73 EXPORT_SYMBOL(__per_cpu_offset);
/arch/s390/kernel/
Dsmp.c572 cpu_lowcore->percpu_offset = __per_cpu_offset[cpu]; in __cpu_up()
706 S390_lowcore.percpu_offset = __per_cpu_offset[0]; in smp_prepare_boot_cpu()
/arch/sparc/kernel/
Dsmp_64.c88 __local_per_cpu_offset = __per_cpu_offset(cpuid); in smp_callin()
1407 __local_per_cpu_offset = __per_cpu_offset(smp_processor_id()); in real_setup_per_cpu_areas()