Home
last modified time | relevance | path

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

12

/linux/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/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/kernel/
H A Dwatchdog_perf.c149 this_cpu_write(watchdog_ev, evt); in hardlockup_detector_event_create()
184 this_cpu_write(watchdog_ev, NULL); in watchdog_hardlockup_disable()
185 this_cpu_write(dead_event, event); in watchdog_hardlockup_disable()
276 this_cpu_write(watchdog_ev, NULL); in watchdog_hardlockup_probe()
/linux/arch/x86/include/asm/
H A Dstackprotector.h60 this_cpu_write(fixed_percpu_data.stack_canary, canary); in boot_init_stack_canary()
62 this_cpu_write(__stack_chk_guard, canary); in boot_init_stack_canary()
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 Dio_bitmap.h33 this_cpu_write(cpu_tss_rw.x86_tss.io_bitmap_base, in native_tss_invalidate_io_bitmap()
H A Ddesc.h319 this_cpu_write(__tss_limit_invalid, false); in force_reload_TR()
351 this_cpu_write(__tss_limit_invalid, true); in invalidate_tss_limit()
/linux/arch/x86/include/asm/xen/
H A Dhypervisor.h88 this_cpu_write(xen_lazy_mode, mode); in enter_lazy()
96 this_cpu_write(xen_lazy_mode, XEN_LAZY_NONE); in leave_lazy()
/linux/arch/x86/kernel/cpu/microcode/
H A Dcore.c378 this_cpu_write(ucode_ctrl.result, ret); in load_secondary()
379 this_cpu_write(ucode_ctrl.ctrl, SCTRL_DONE); in load_secondary()
392 this_cpu_write(ucode_ctrl.result, UCODE_TIMEOUT); in __load_primary()
398 this_cpu_write(ucode_ctrl.result, ret); in __load_primary()
399 this_cpu_write(ucode_ctrl.ctrl, SCTRL_DONE); in __load_primary()
523 this_cpu_write(ucode_ctrl.nmi_enabled, true); in load_cpus_stopped()
/linux/arch/loongarch/kernel/
H A Dkfpu.c29 this_cpu_write(in_kernel_fpu, true); in kernel_fpu_begin()
74 this_cpu_write(in_kernel_fpu, false); in kernel_fpu_end()
/linux/arch/x86/kernel/
H A Dnmi.c513 this_cpu_write(nmi_state, NMI_LATCHED); in DEFINE_IDTENTRY_RAW()
516 this_cpu_write(nmi_state, NMI_EXECUTING); in DEFINE_IDTENTRY_RAW()
517 this_cpu_write(nmi_cr2, read_cr2()); in DEFINE_IDTENTRY_RAW()
532 this_cpu_write(nmi_dr7, local_db_save()); in DEFINE_IDTENTRY_RAW()
683 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 Dirq.c367 this_cpu_write(posted_msi_pi_desc.nv, POSTED_MSI_NOTIFICATION_VECTOR); in intel_posted_msi_init()
375 this_cpu_write(posted_msi_pi_desc.ndst, destination); in intel_posted_msi_init()
H A Dprocess_32.c199 this_cpu_write(pcpu_hot.top_of_stack, in __switch_to()
/linux/arch/arm64/kernel/
H A Dtopology.c97 this_cpu_write(arch_core_cycles_prev, read_corecnt()); in update_freq_counters_refs()
98 this_cpu_write(arch_const_cycles_prev, read_constcnt()); in update_freq_counters_refs()
184 this_cpu_write(arch_freq_scale, (unsigned long)scale); in amu_scale_freq_tick()
/linux/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/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/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/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/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/mm/kasan/
H A Dsw_tags.c53 * If a preemption happens between this_cpu_read and this_cpu_write, the only
69 this_cpu_write(prng_state, state); in kasan_random_tag()
/linux/lib/
H A Dsbitmap.c37 this_cpu_write(*sb->alloc_hint, hint); in update_alloc_hint_before_get()
50 this_cpu_write(*sb->alloc_hint, 0); in update_alloc_hint_after_get()
56 this_cpu_write(*sb->alloc_hint, hint); in update_alloc_hint_after_get()

12