Home
last modified time | relevance | path

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

/arch/sparc/include/asm/
Dpercpu_64.h13 #define __per_cpu_offset(__cpu) \ macro
15 #define per_cpu_offset(x) (__per_cpu_offset(x))
/arch/ia64/mm/
Dcontig.c62 __per_cpu_offset[cpu] = (char *)cpu_data - __per_cpu_start; in per_cpu_init()
63 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
81 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
136 pcpu_setup_first_chunk(ai, __per_cpu_start + __per_cpu_offset[0]); in setup_per_cpu_areas()
Ddiscontig.c148 __per_cpu_offset[cpu] = (char *)__va(cpu_data) - in per_cpu_node_setup()
200 (void *)(__per_cpu_offset[cpu] + __per_cpu_start)); in setup_per_cpu_areas()
244 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
535 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
538 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
/arch/x86/kernel/
Dsetup_percpu.c38 unsigned long __per_cpu_offset[NR_CPUS] __ro_after_init = { variable
41 EXPORT_SYMBOL(__per_cpu_offset);
/arch/arm64/mm/
Dnuma.c145 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
146 EXPORT_SYMBOL(__per_cpu_offset);
191 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/arch/powerpc/kernel/
Dsetup_64.c781 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
782 EXPORT_SYMBOL(__per_cpu_offset);
809 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
810 paca_ptrs[cpu]->data_offset = __per_cpu_offset[cpu]; in setup_per_cpu_areas()
Dhead_fsl_booke.S713 lis r14, __per_cpu_offset@h
714 ori r14, r14, __per_cpu_offset@l
/arch/sparc/kernel/
Dsmp_64.c108 __local_per_cpu_offset = __per_cpu_offset(cpuid); in smp_callin()
1653 __per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
1656 __local_per_cpu_offset = __per_cpu_offset(smp_processor_id()); in setup_per_cpu_areas()
/arch/ia64/kernel/
Dsetup.c76 unsigned long __per_cpu_offset[NR_CPUS]; variable
77 EXPORT_SYMBOL(__per_cpu_offset);
/arch/s390/kernel/
Dsmp.c265 lc->percpu_offset = __per_cpu_offset[cpu]; in pcpu_prepare_secondary()
988 S390_lowcore.percpu_offset = __per_cpu_offset[0]; in smp_prepare_boot_cpu()
/arch/mips/kernel/
Dcps-vec.S606 PTR_LA \dest, __per_cpu_offset