Home
last modified time | relevance | path

Searched refs:__per_cpu_offset (Results 1 – 17 of 17) 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.c110 __per_cpu_offset[cpu] = (char *)cpu_data - __per_cpu_start; in per_cpu_init()
111 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
129 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
180 rc = pcpu_setup_first_chunk(ai, __per_cpu_start + __per_cpu_offset[0]); in setup_per_cpu_areas()
Ddiscontig.c153 __per_cpu_offset[cpu] = (char *)__va(cpu_data) - in per_cpu_node_setup()
205 (void *)(__per_cpu_offset[cpu] + __per_cpu_start)); in setup_per_cpu_areas()
249 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
604 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
607 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
/arch/tile/kernel/
Dhead_32.S94 moveli r5, lo16(__per_cpu_offset)
95 auli r5, r5, ha16(__per_cpu_offset)
Dhead_64.S166 moveli r5, hw2_last(__per_cpu_offset)
167 shl16insli r5, r5, hw1(__per_cpu_offset)
168 shl16insli r5, r5, hw0(__per_cpu_offset)
Dsmpboot.c152 set_my_cpu_offset(__per_cpu_offset[cpuid]); in start_secondary()
Dsetup.c1509 unsigned long __per_cpu_offset[NR_CPUS] __ro_after_init; variable
1510 EXPORT_SYMBOL(__per_cpu_offset);
1584 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
1620 set_my_cpu_offset(__per_cpu_offset[smp_processor_id()]); in setup_per_cpu_areas()
Dintvec_64.S701 moveli r21, hw2_last(__per_cpu_offset)
704 shl16insli r21, r21, hw1(__per_cpu_offset)
707 shl16insli r21, r21, hw0(__per_cpu_offset)
Dintvec_32.S456 moveli r21, lo16(__per_cpu_offset)
459 auli r21, r21, ha16(__per_cpu_offset)
/arch/arm64/mm/
Dnuma.c140 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
141 EXPORT_SYMBOL(__per_cpu_offset);
186 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/arch/x86/kernel/
Dsetup_percpu.c38 unsigned long __per_cpu_offset[NR_CPUS] __ro_after_init = { variable
41 EXPORT_SYMBOL(__per_cpu_offset);
/arch/powerpc/kernel/
Dsetup_64.c712 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
713 EXPORT_SYMBOL(__per_cpu_offset);
740 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
741 paca[cpu].data_offset = __per_cpu_offset[cpu]; in setup_per_cpu_areas()
Dhead_fsl_booke.S721 lis r14, __per_cpu_offset@h
722 ori r14, r14, __per_cpu_offset@l
/arch/sparc/kernel/
Dsmp_64.c108 __local_per_cpu_offset = __per_cpu_offset(cpuid); in smp_callin()
1678 __per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
1681 __local_per_cpu_offset = __per_cpu_offset(smp_processor_id()); in setup_per_cpu_areas()
/arch/ia64/kernel/
Dsetup.c73 unsigned long __per_cpu_offset[NR_CPUS]; variable
74 EXPORT_SYMBOL(__per_cpu_offset);
/arch/s390/kernel/
Dsmp.c279 lc->percpu_offset = __per_cpu_offset[cpu]; in pcpu_prepare_secondary()
993 S390_lowcore.percpu_offset = __per_cpu_offset[0]; in smp_prepare_boot_cpu()
/arch/mips/kernel/
Dcps-vec.S601 PTR_LA \dest, __per_cpu_offset