Home
last modified time | relevance | path

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

/Linux-v4.19/arch/ia64/mm/
Dcontig.c63 __per_cpu_offset[cpu] = (char *)cpu_data - __per_cpu_start; in per_cpu_init()
64 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
82 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
133 rc = pcpu_setup_first_chunk(ai, __per_cpu_start + __per_cpu_offset[0]); in setup_per_cpu_areas()
Ddiscontig.c149 __per_cpu_offset[cpu] = (char *)__va(cpu_data) - in per_cpu_node_setup()
201 (void *)(__per_cpu_offset[cpu] + __per_cpu_start)); in setup_per_cpu_areas()
245 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
534 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
537 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
/Linux-v4.19/arch/sparc/include/asm/
Dpercpu_64.h13 #define __per_cpu_offset(__cpu) \ macro
15 #define per_cpu_offset(x) (__per_cpu_offset(x))
/Linux-v4.19/arch/arm64/mm/
Dnuma.c153 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
154 EXPORT_SYMBOL(__per_cpu_offset);
199 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/Linux-v4.19/arch/x86/kernel/
Dsetup_percpu.c38 unsigned long __per_cpu_offset[NR_CPUS] __ro_after_init = { variable
41 EXPORT_SYMBOL(__per_cpu_offset);
/Linux-v4.19/arch/powerpc/kernel/
Dsetup_64.c777 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
778 EXPORT_SYMBOL(__per_cpu_offset);
805 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
806 paca_ptrs[cpu]->data_offset = __per_cpu_offset[cpu]; in setup_per_cpu_areas()
Dhead_fsl_booke.S707 lis r14, __per_cpu_offset@h
708 ori r14, r14, __per_cpu_offset@l
/Linux-v4.19/include/asm-generic/
Dpercpu.h18 #ifndef __per_cpu_offset
19 extern unsigned long __per_cpu_offset[NR_CPUS];
21 #define per_cpu_offset(x) (__per_cpu_offset[x])
/Linux-v4.19/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()
/Linux-v4.19/arch/ia64/kernel/
Dsetup.c74 unsigned long __per_cpu_offset[NR_CPUS]; variable
75 EXPORT_SYMBOL(__per_cpu_offset);
/Linux-v4.19/arch/s390/kernel/
Dsmp.c262 lc->percpu_offset = __per_cpu_offset[cpu]; in pcpu_prepare_secondary()
944 S390_lowcore.percpu_offset = __per_cpu_offset[0]; in smp_prepare_boot_cpu()
/Linux-v4.19/mm/
Dpercpu.c2685 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
2686 EXPORT_SYMBOL(__per_cpu_offset);
2718 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/Linux-v4.19/kernel/debug/kdb/
Dkdb_main.c2616 #ifdef __per_cpu_offset in kdb_per_cpu()
2617 #define KDB_PCU(cpu) __per_cpu_offset(cpu) in kdb_per_cpu()
2620 #define KDB_PCU(cpu) __per_cpu_offset[cpu] in kdb_per_cpu()
/Linux-v4.19/arch/mips/kernel/
Dcps-vec.S610 PTR_LA \dest, __per_cpu_offset