Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/ia64/mm/
H A Dcontig.c58 __per_cpu_offset[cpu] = (char *)cpu_data - __per_cpu_start; in per_cpu_init()
59 per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu]; in per_cpu_init()
77 return __per_cpu_start + __per_cpu_offset[smp_processor_id()]; in per_cpu_init()
132 pcpu_setup_first_chunk(ai, __per_cpu_start + __per_cpu_offset[0]); in setup_per_cpu_areas()
H A 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()
/openbmc/linux/arch/sparc/include/asm/
H A Dpercpu_64.h15 #define __per_cpu_offset(__cpu) \ macro
17 #define per_cpu_offset(x) (__per_cpu_offset(x))
/openbmc/linux/arch/s390/mm/
H A Dinit.c193 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
194 EXPORT_SYMBOL(__per_cpu_offset);
225 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/openbmc/linux/arch/x86/kernel/
H A Dsetup_percpu.c35 unsigned long __per_cpu_offset[NR_CPUS] __ro_after_init = { variable
38 EXPORT_SYMBOL(__per_cpu_offset);
H A Dhw_breakpoint.c277 if (within_area(addr, end, (unsigned long)__per_cpu_offset, in within_cpu_entry()
H A Dhead_64.S312 movq __per_cpu_offset(,%rcx,8), %rdx
/openbmc/linux/arch/arm/include/asm/
H A Dpercpu.h43 "2: " LOAD_SYM_ARMV6(%0, __per_cpu_offset) " \n\t" in __my_cpu_offset()
H A Dassembler.h299 .L1_\@: ldr_va \rd, __per_cpu_offset
/openbmc/linux/arch/powerpc/kernel/
H A Dsetup_64.c835 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
836 EXPORT_SYMBOL(__per_cpu_offset);
883 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
884 paca_ptrs[cpu]->data_offset = __per_cpu_offset[cpu]; in setup_per_cpu_areas()
H A Dhead_85xx.S720 lis r14, __per_cpu_offset@h
721 ori r14, r14, __per_cpu_offset@l
/openbmc/linux/drivers/base/
H A Darch_numa.c144 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
145 EXPORT_SYMBOL(__per_cpu_offset);
188 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/openbmc/linux/arch/loongarch/kernel/
H A Dnuma.c52 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
53 EXPORT_SYMBOL(__per_cpu_offset);
105 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/openbmc/linux/arch/parisc/kernel/
H A Dtoc_asm.S23 load32 PA(__per_cpu_offset),%r1
/openbmc/linux/arch/mips/mm/
H A Dinit.c517 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
518 EXPORT_SYMBOL(__per_cpu_offset);
549 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/openbmc/linux/include/asm-generic/
H A 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])
/openbmc/linux/arch/riscv/include/asm/
H A Dasm.h95 la \dst, __per_cpu_offset
/openbmc/linux/arch/sparc/kernel/
H A Dsmp_64.c108 __local_per_cpu_offset = __per_cpu_offset(cpuid); in smp_callin()
1562 __per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
1565 __local_per_cpu_offset = __per_cpu_offset(smp_processor_id()); in setup_per_cpu_areas()
/openbmc/linux/arch/ia64/kernel/
H A Dsetup.c77 unsigned long __per_cpu_offset[NR_CPUS]; variable
78 EXPORT_SYMBOL(__per_cpu_offset);
/openbmc/linux/arch/x86/entry/
H A Dcalling.h413 movq __per_cpu_offset(, \reg, 8), \reg
/openbmc/linux/arch/arm64/include/asm/
H A Dpercpu.h255 #define __per_cpu_offset macro
/openbmc/linux/arch/s390/kernel/
H A Dsmp.c265 lc->percpu_offset = __per_cpu_offset[cpu]; in pcpu_prepare_secondary()
1030 S390_lowcore.percpu_offset = __per_cpu_offset[0]; in smp_prepare_boot_cpu()
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_main.c2577 #ifdef __per_cpu_offset in kdb_per_cpu()
2578 #define KDB_PCU(cpu) __per_cpu_offset(cpu) in kdb_per_cpu()
2581 #define KDB_PCU(cpu) __per_cpu_offset[cpu] in kdb_per_cpu()
/openbmc/linux/arch/mips/kernel/
H A Dcps-vec.S605 PTR_LA \dest, __per_cpu_offset
/openbmc/linux/mm/
H A Dpercpu.c3347 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
3348 EXPORT_SYMBOL(__per_cpu_offset);
3367 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()

12