Home
last modified time | relevance | path

Searched refs:per_cpu_offset (Results 1 – 12 of 12) sorted by relevance

/linux/arch/x86/kernel/
H A Dsetup_percpu.c110 per_cpu_offset(cpu), 0xFFFFF); in setup_percpu_segment()
170 per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
171 per_cpu(this_cpu_off, cpu) = per_cpu_offset(cpu); in setup_per_cpu_areas()
/linux/arch/sparc/include/asm/
H A Dpercpu_64.h17 #define per_cpu_offset(x) (__per_cpu_offset(x)) macro
/linux/arch/arm/mach-bcm/
H A Dplatsmp-brcmstb.c61 sync_cache_r(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_rd()
69 sync_cache_w(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_wr()
/linux/include/asm-generic/
H A Dpercpu.h21 #define per_cpu_offset(x) (__per_cpu_offset[x]) macro
31 #define __my_cpu_offset per_cpu_offset(raw_smp_processor_id())
34 #define my_cpu_offset per_cpu_offset(smp_processor_id())
/linux/arch/loongarch/kernel/
H A Dsmp.c492 set_my_cpu_offset(per_cpu_offset(0)); in smp_prepare_boot_cpu()
564 set_my_cpu_offset(per_cpu_offset(cpu)); in start_secondary()
/linux/arch/arm64/include/asm/
H A Dpercpu.h256 #define per_cpu_offset(cpu) __hyp_per_cpu_offset((cpu)) macro
/linux/arch/x86/xen/
H A Dsmp_pv.c275 ctxt->gs_base_kernel = per_cpu_offset(cpu); in cpu_initialize_context()
/linux/include/linux/
H A Dpercpu-defs.h241 SHIFT_PERCPU_PTR((ptr), per_cpu_offset((cpu))); \
/linux/arch/arm/kernel/
H A Dsmp.c500 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu()
H A Dsetup.c546 set_my_cpu_offset(per_cpu_offset(cpu)); in cpu_init()
/linux/arch/arm64/kernel/
H A Dsmp.c462 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu()
/linux/mm/
H A Dkmemleak.c1711 scan_large_block(__per_cpu_start + per_cpu_offset(i), in kmemleak_scan()
1712 __per_cpu_end + per_cpu_offset(i)); in kmemleak_scan()