Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/
Dsetup_percpu.c159 struct desc_struct d = GDT_ENTRY_INIT(0x8092, per_cpu_offset(cpu), in setup_percpu_segment()
221 per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu]; in setup_per_cpu_areas()
222 per_cpu(this_cpu_off, cpu) = per_cpu_offset(cpu); in setup_per_cpu_areas()
Dsmpboot.c953 initial_gs = per_cpu_offset(cpu); in common_cpu_up()
/Linux-v4.19/arch/sparc/include/asm/
Dpercpu_64.h15 #define per_cpu_offset(x) (__per_cpu_offset(x)) macro
/Linux-v4.19/arch/arm/mach-bcm/
Dplatsmp-brcmstb.c69 sync_cache_r(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_rd()
77 sync_cache_w(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_wr()
/Linux-v4.19/include/asm-generic/
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-v4.19/arch/x86/kernel/acpi/
Dsleep.c106 initial_gs = per_cpu_offset(smp_processor_id()); in x86_acpi_suspend_lowlevel()
/Linux-v4.19/arch/arm64/kernel/
Dsmp.c189 set_my_cpu_offset(per_cpu_offset(cpu)); in secondary_start_kernel()
410 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu()
/Linux-v4.19/arch/x86/xen/
Dsmp_pv.c342 ctxt->gs_base_kernel = per_cpu_offset(cpu); in cpu_initialize_context()
/Linux-v4.19/arch/arm/kernel/
Dsmp.c442 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu()
Dsetup.c536 set_my_cpu_offset(per_cpu_offset(cpu)); in cpu_init()
/Linux-v4.19/include/linux/
Dpercpu-defs.h238 SHIFT_PERCPU_PTR((ptr), per_cpu_offset((cpu))); \
/Linux-v4.19/mm/
Dkmemleak.c1512 scan_large_block(__per_cpu_start + per_cpu_offset(i), in kmemleak_scan()
1513 __per_cpu_end + per_cpu_offset(i)); in kmemleak_scan()