Home
last modified time | relevance | path

Searched refs:this_cpu_write (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.15/kernel/trace/
H A Dtrace_preemptirq.c64 this_cpu_write(tracing_irq_cpu, 0); in trace_hardirqs_on_prepare()
75 this_cpu_write(tracing_irq_cpu, 0); in trace_hardirqs_on()
93 this_cpu_write(tracing_irq_cpu, 1); in trace_hardirqs_off_finish()
107 this_cpu_write(tracing_irq_cpu, 1); in trace_hardirqs_off()
/linux-6.15/arch/x86/mm/
H A Dtlb.c211 this_cpu_write(cpu_tlbstate.ctxs[asid].ctx_id, 0); in clear_asid_other()
213 this_cpu_write(cpu_tlbstate.invalidate_other, false); in clear_asid_other()
265 this_cpu_write(cpu_tlbstate.next_asid, 1); in choose_new_asid()
820 this_cpu_write(cpu_tlbstate_shared.is_lazy, false); in switch_mm_irqs_off()
944 this_cpu_write(cpu_tlbstate.loaded_mm, next); in switch_mm_irqs_off()
945 this_cpu_write(cpu_tlbstate.loaded_mm_asid, new_asid); in switch_mm_irqs_off()
972 this_cpu_write(cpu_tlbstate_shared.is_lazy, true); in enter_lazy_tlb()
1016 this_cpu_write(cpu_tlbstate.loaded_mm_asid, 0); in initialize_tlbstate_and_flush()
1017 this_cpu_write(cpu_tlbstate.next_asid, 1); in initialize_tlbstate_and_flush()
1023 this_cpu_write(cpu_tlbstate.ctxs[i].ctx_id, 0); in initialize_tlbstate_and_flush()
[all …]
/linux-6.15/arch/powerpc/lib/
H A Dcode-patching.c126 this_cpu_write(cpu_patching_context.area, area); in text_area_cpu_up()
127 this_cpu_write(cpu_patching_context.addr, addr); in text_area_cpu_up()
128 this_cpu_write(cpu_patching_context.pte, virt_to_kpte(addr)); in text_area_cpu_up()
136 this_cpu_write(cpu_patching_context.area, NULL); in text_area_cpu_down()
137 this_cpu_write(cpu_patching_context.addr, 0); in text_area_cpu_down()
138 this_cpu_write(cpu_patching_context.pte, NULL); in text_area_cpu_down()
182 this_cpu_write(cpu_patching_context.mm, mm); in text_area_cpu_up_mm()
183 this_cpu_write(cpu_patching_context.addr, addr); in text_area_cpu_up_mm()
198 this_cpu_write(cpu_patching_context.mm, NULL); in text_area_cpu_down_mm()
199 this_cpu_write(cpu_patching_context.addr, 0); in text_area_cpu_down_mm()
H A Dqspinlock.c69 this_cpu_write(sleepy_lock_seen_clock, 0); in recently_sleepy()
239 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_owner()
248 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_lock()
255 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_node()
/linux-6.15/arch/x86/include/asm/xen/
H A Dhypervisor.h80 this_cpu_write(xen_lazy_mode, mode); in enter_lazy()
87 this_cpu_write(xen_lazy_mode, XEN_LAZY_NONE); in leave_lazy()
/linux-6.15/kernel/
H A Dwatchdog_perf.c148 this_cpu_write(watchdog_ev, evt); in hardlockup_detector_event_create()
184 this_cpu_write(watchdog_ev, NULL); in watchdog_hardlockup_disable()
251 this_cpu_write(watchdog_ev, NULL); in watchdog_hardlockup_probe()
/linux-6.15/arch/loongarch/kernel/
H A Dkfpu.c46 this_cpu_write(in_kernel_fpu, true); in kernel_fpu_begin()
91 this_cpu_write(in_kernel_fpu, false); in kernel_fpu_end()
/linux-6.15/arch/x86/include/asm/
H A Dswitch_to.h61 this_cpu_write(cpu_tss_rw.x86_tss.ss1, thread->sysenter_cs); in refresh_sysenter_cs()
71 this_cpu_write(cpu_tss_rw.x86_tss.sp1, task->thread.sp0); in update_task_stack()
H A Dtlbflush.h181 this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); in cr4_init_shadow()
474 this_cpu_write(cpu_tlbstate.lam, lam >> X86_CR3_LAM_U57_BIT); in cpu_tlbstate_update_lam()
475 this_cpu_write(tlbstate_untag_mask, untag_mask); in cpu_tlbstate_update_lam()
H A Dstackprotector.h41 this_cpu_write(__stack_chk_guard, canary); in boot_init_stack_canary()
H A Dio_bitmap.h33 this_cpu_write(cpu_tss_rw.x86_tss.io_bitmap_base, in native_tss_invalidate_io_bitmap()
H A Ddesc.h318 this_cpu_write(__tss_limit_invalid, false); in force_reload_TR()
350 this_cpu_write(__tss_limit_invalid, true); in invalidate_tss_limit()
/linux-6.15/arch/x86/kernel/cpu/microcode/
H A Dcore.c388 this_cpu_write(ucode_ctrl.result, ret); in load_secondary()
389 this_cpu_write(ucode_ctrl.ctrl, SCTRL_DONE); in load_secondary()
402 this_cpu_write(ucode_ctrl.result, UCODE_TIMEOUT); in __load_primary()
408 this_cpu_write(ucode_ctrl.result, ret); in __load_primary()
409 this_cpu_write(ucode_ctrl.ctrl, SCTRL_DONE); in __load_primary()
533 this_cpu_write(ucode_ctrl.nmi_enabled, true); in load_cpus_stopped()
/linux-6.15/arch/x86/kernel/
H A Dnmi.c555 this_cpu_write(nmi_state, NMI_LATCHED); in DEFINE_IDTENTRY_RAW()
558 this_cpu_write(nmi_state, NMI_EXECUTING); in DEFINE_IDTENTRY_RAW()
559 this_cpu_write(nmi_cr2, read_cr2()); in DEFINE_IDTENTRY_RAW()
574 this_cpu_write(nmi_dr7, local_db_save()); in DEFINE_IDTENTRY_RAW()
725 this_cpu_write(nmi_cr2, read_cr2()); in DEFINE_FREDENTRY_NMI()
H A Ddoublefault_32.c124 this_cpu_write(doublefault_stack.tss.sp, in doublefault_init_cpu_tss()
H A Dprocess_32.c199 this_cpu_write(cpu_current_top_of_stack, in __switch_to()
/linux-6.15/kernel/sched/
H A Dmembarrier.c209 this_cpu_write(runqueues.membarrier_state, in ipi_sync_rq_state()
233 this_cpu_write(runqueues.membarrier_state, 0); in membarrier_exec_mmap()
443 this_cpu_write(runqueues.membarrier_state, membarrier_state); in sync_runqueues_membarrier_state()
/linux-6.15/include/linux/
H A Dtopology.h103 this_cpu_write(numa_node, node); in set_numa_node()
138 this_cpu_write(_numa_mem_, node); in set_numa_mem()
/linux-6.15/arch/x86/kernel/cpu/
H A Daperfmperf.c46 this_cpu_write(cpu_samples.aperf, aperf); in init_counter_refs()
47 this_cpu_write(cpu_samples.mperf, mperf); in init_counter_refs()
457 this_cpu_write(arch_freq_scale, freq_scale); in scale_freq_tick()
H A Dintel_epb.c87 this_cpu_write(saved_epb, (epb & EPB_MASK) | EPB_SAVED); in intel_epb_save()
/linux-6.15/arch/x86/xen/
H A Denlighten_hvm.c116 this_cpu_write(xen_vcpu_id, ebx); in init_hvm_pv_info()
118 this_cpu_write(xen_vcpu_id, smp_processor_id()); in init_hvm_pv_info()
H A Dsuspend.c59 this_cpu_write(spec_ctrl, tmp); in xen_vcpu_notify_suspend()
/linux-6.15/arch/x86/platform/uv/
H A Duv_nmi.c674 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_IN); in uv_nmi_wait()
741 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_DUMP_DONE); in uv_nmi_dump_state_cpu()
988 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_OUT); in uv_handle_nmi()
1026 this_cpu_write(uv_cpu_nmi.pinging, 0); in uv_handle_nmi_ping()
/linux-6.15/include/asm-generic/
H A Drqspinlock.h95 this_cpu_write(rqspinlock_held_locks.locks[cnt - 1], lock); in grab_held_lock_entry()
/linux-6.15/mm/kasan/
H A Dsw_tags.c69 this_cpu_write(prng_state, state); in kasan_random_tag()

123