Home
last modified time | relevance | path

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

/linux-6.1.9/arch/ia64/mm/
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()
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()
/linux-6.1.9/arch/sparc/include/asm/
Dpercpu_64.h15 #define __per_cpu_offset(__cpu) \ macro
17 #define per_cpu_offset(x) (__per_cpu_offset(x))
/linux-6.1.9/arch/x86/kernel/
Dsetup_percpu.c38 unsigned long __per_cpu_offset[NR_CPUS] __ro_after_init = { variable
41 EXPORT_SYMBOL(__per_cpu_offset);
Dhw_breakpoint.c277 if (within_area(addr, end, (unsigned long)__per_cpu_offset, in within_cpu_entry()
/linux-6.1.9/arch/powerpc/kernel/
Dsetup_64.c831 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
832 EXPORT_SYMBOL(__per_cpu_offset);
877 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
878 paca_ptrs[cpu]->data_offset = __per_cpu_offset[cpu]; in setup_per_cpu_areas()
Dhead_85xx.S719 lis r14, __per_cpu_offset@h
720 ori r14, r14, __per_cpu_offset@l
/linux-6.1.9/drivers/base/
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()
/linux-6.1.9/arch/arm/include/asm/
Dpercpu.h43 "2: " LOAD_SYM_ARMV6(%0, __per_cpu_offset) " \n\t" in __my_cpu_offset()
Dassembler.h307 .L1_\@: ldr_va \rd, __per_cpu_offset
/linux-6.1.9/arch/loongarch/kernel/
Dnuma.c52 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
53 EXPORT_SYMBOL(__per_cpu_offset);
137 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/linux-6.1.9/arch/mips/mm/
Dinit.c514 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
515 EXPORT_SYMBOL(__per_cpu_offset);
546 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
/linux-6.1.9/arch/parisc/kernel/
Dtoc_asm.S23 load32 PA(__per_cpu_offset),%r1
/linux-6.1.9/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-6.1.9/arch/sparc/kernel/
Dsmp_64.c108 __local_per_cpu_offset = __per_cpu_offset(cpuid); in smp_callin()
1560 __per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
1563 __local_per_cpu_offset = __per_cpu_offset(smp_processor_id()); in setup_per_cpu_areas()
/linux-6.1.9/arch/ia64/kernel/
Dsetup.c77 unsigned long __per_cpu_offset[NR_CPUS]; variable
78 EXPORT_SYMBOL(__per_cpu_offset);
/linux-6.1.9/arch/x86/entry/
Dcalling.h413 movq __per_cpu_offset(, \reg, 8), \reg
/linux-6.1.9/arch/arm64/include/asm/
Dpercpu.h245 #define __per_cpu_offset macro
/linux-6.1.9/arch/s390/kernel/
Dsmp.c263 lc->percpu_offset = __per_cpu_offset[cpu]; in pcpu_prepare_secondary()
1024 S390_lowcore.percpu_offset = __per_cpu_offset[0]; in smp_prepare_boot_cpu()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_main.c2579 #ifdef __per_cpu_offset in kdb_per_cpu()
2580 #define KDB_PCU(cpu) __per_cpu_offset(cpu) in kdb_per_cpu()
2583 #define KDB_PCU(cpu) __per_cpu_offset[cpu] in kdb_per_cpu()
/linux-6.1.9/arch/mips/kernel/
Dcps-vec.S605 PTR_LA \dest, __per_cpu_offset
/linux-6.1.9/arch/arm64/kernel/
Dhead.S409 adr_l \tmp1, __per_cpu_offset
/linux-6.1.9/mm/
Dpercpu.c3374 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly; variable
3375 EXPORT_SYMBOL(__per_cpu_offset);
3394 __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()