Searched refs:per_cpu_offset (Results 1 – 12 of 12) sorted by relevance
110 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()
17 #define per_cpu_offset(x) (__per_cpu_offset(x)) macro
61 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()
21 #define per_cpu_offset(x) (__per_cpu_offset[x]) macro31 #define __my_cpu_offset per_cpu_offset(raw_smp_processor_id())34 #define my_cpu_offset per_cpu_offset(smp_processor_id())
492 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()
256 #define per_cpu_offset(cpu) __hyp_per_cpu_offset((cpu)) macro
275 ctxt->gs_base_kernel = per_cpu_offset(cpu); in cpu_initialize_context()
241 SHIFT_PERCPU_PTR((ptr), per_cpu_offset((cpu))); \
500 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu()
546 set_my_cpu_offset(per_cpu_offset(cpu)); in cpu_init()
462 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu()
1711 scan_large_block(__per_cpu_start + per_cpu_offset(i), in kmemleak_scan() 1712 __per_cpu_end + per_cpu_offset(i)); in kmemleak_scan()