Home
last modified time | relevance | path

Searched refs:__this_cpu_write (Results 1 – 25 of 81) sorted by relevance

1234

/linux/arch/mips/math-emu/
H A Dme-debugfs.c54 __this_cpu_write((fpuemustats).emulated, 0); in fpuemustats_clear_show()
55 __this_cpu_write((fpuemustats).loads, 0); in fpuemustats_clear_show()
56 __this_cpu_write((fpuemustats).stores, 0); in fpuemustats_clear_show()
57 __this_cpu_write((fpuemustats).branches, 0); in fpuemustats_clear_show()
58 __this_cpu_write((fpuemustats).cp1ops, 0); in fpuemustats_clear_show()
59 __this_cpu_write((fpuemustats).cp1xops, 0); in fpuemustats_clear_show()
60 __this_cpu_write((fpuemustats).errors, 0); in fpuemustats_clear_show()
61 __this_cpu_write((fpuemustats).ieee754_inexact, 0); in fpuemustats_clear_show()
62 __this_cpu_write((fpuemustats).ieee754_underflow, 0); in fpuemustats_clear_show()
63 __this_cpu_write((fpuemustats).ieee754_overflow, 0); in fpuemustats_clear_show()
[all …]
/linux/arch/mips/kernel/
H A Dmips-r2-to-r6-emul.c2308 __this_cpu_write((mipsr2emustats).movs, 0); in mipsr2_clear_show()
2309 __this_cpu_write((mipsr2bdemustats).movs, 0); in mipsr2_clear_show()
2310 __this_cpu_write((mipsr2emustats).hilo, 0); in mipsr2_clear_show()
2311 __this_cpu_write((mipsr2bdemustats).hilo, 0); in mipsr2_clear_show()
2312 __this_cpu_write((mipsr2emustats).muls, 0); in mipsr2_clear_show()
2313 __this_cpu_write((mipsr2bdemustats).muls, 0); in mipsr2_clear_show()
2314 __this_cpu_write((mipsr2emustats).divs, 0); in mipsr2_clear_show()
2315 __this_cpu_write((mipsr2bdemustats).divs, 0); in mipsr2_clear_show()
2316 __this_cpu_write((mipsr2emustats).dsps, 0); in mipsr2_clear_show()
2317 __this_cpu_write((mipsr2bdemustats).dsps, 0); in mipsr2_clear_show()
[all …]
/linux/arch/x86/include/asm/
H A Dirq_stack.h149 __this_cpu_write(hardirq_stack_inuse, true); \
151 __this_cpu_write(hardirq_stack_inuse, false); \
215 __this_cpu_write(hardirq_stack_inuse, true); \
217 __this_cpu_write(hardirq_stack_inuse, false); \
H A Dhardirq.h78 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 1); in kvm_set_cpu_l1tf_flush_l1d()
83 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 0); in kvm_clear_cpu_l1tf_flush_l1d()
/linux/arch/sparc/kernel/
H A Dnmi.c108 __this_cpu_write(nmi_touch, 0); in perfctr_irq()
117 __this_cpu_write(last_irq_sum, sum); in perfctr_irq()
118 __this_cpu_write(alert_counter, 0); in perfctr_irq()
163 __this_cpu_write(wd_enabled, 0); in stop_nmi_watchdog()
220 __this_cpu_write(wd_enabled, 1); in start_nmi_watchdog()
/linux/kernel/
H A Dwatchdog_perf.c73 __this_cpu_write(nmi_rearmed, 0); in watchdog_check_timestamp()
74 __this_cpu_write(last_timestamp, now); in watchdog_check_timestamp()
80 __this_cpu_write(nmi_rearmed, 0); in watchdog_init_timestamp()
81 __this_cpu_write(last_timestamp, ktime_get_mono_fast_ns()); in watchdog_init_timestamp()
H A Dwatchdog.c488 __this_cpu_write(cpustat_util[tail][i], util); in update_cpustat()
489 __this_cpu_write(cpustat_old[i], new_stat); in update_cpustat()
492 __this_cpu_write(cpustat_tail, (tail + 1) % NUM_SAMPLE_PERIODS); in update_cpustat()
562 __this_cpu_write(snapshot_taken, true); in start_counting_irqs()
568 __this_cpu_write(snapshot_taken, false); in stop_counting_irqs()
660 __this_cpu_write(watchdog_report_ts, get_timestamp()); in update_report_ts()
666 __this_cpu_write(watchdog_touch_ts, get_timestamp()); in update_touch_ts()
715 __this_cpu_write(softlockup_touch_sync, true); in touch_softlockup_watchdog_sync()
716 __this_cpu_write(watchdog_report_ts, SOFTLOCKUP_DELAY_REPORT); in touch_softlockup_watchdog_sync()
833 __this_cpu_write(softlockup_touch_sync, false); in watchdog_timer_fn()
/linux/drivers/accessibility/speakup/
H A Dfakekey.c68 __this_cpu_write(reporting_keystroke, true); in speakup_fake_down_arrow()
72 __this_cpu_write(reporting_keystroke, false); in speakup_fake_down_arrow()
/linux/arch/s390/kernel/
H A Dvtime.c79 __this_cpu_write(mt_scaling_mult, mult); in update_mt_scaling()
80 __this_cpu_write(mt_scaling_div, div); in update_mt_scaling()
84 __this_cpu_write(mt_scaling_jiffies, jiffies_64); in update_mt_scaling()
447 __this_cpu_write(mt_scaling_jiffies, jiffies); in vtime_init()
448 __this_cpu_write(mt_scaling_mult, 1); in vtime_init()
449 __this_cpu_write(mt_scaling_div, 1); in vtime_init()
H A Dftrace.c309 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
325 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
/linux/drivers/irqchip/
H A Dirq-xtensa-mx.c63 __this_cpu_write(cached_irq_mask, in secondary_init_irq()
84 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_mask()
102 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_unmask()
/linux/arch/powerpc/kernel/
H A Dkprobes-ftrace.c46 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
63 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
H A Dtime.c455 #define set_irq_work_pending_flag() __this_cpu_write(irq_work_pending, 1)
457 #define clear_irq_work_pending() __this_cpu_write(irq_work_pending, 0)
816 __this_cpu_write(decrementers_next_tb, get_tb() + evt); in decrementer_set_next_event()
824 __this_cpu_write(decrementers_next_tb, DEC_CLOCKEVENT_STOPPED); in decrementer_shutdown()
/linux/arch/csky/kernel/probes/
H A Dftrace.c40 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
59 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
/linux/arch/x86/kernel/
H A Dirq.c270 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); in reevaluate_vector()
470 __this_cpu_write(posted_msi_handler_active, true); in DEFINE_IDTENTRY_SYSVEC()
499 __this_cpu_write(posted_msi_handler_active, false); in DEFINE_IDTENTRY_SYSVEC()
543 __this_cpu_write(vector_irq[vector], VECTOR_RETRIGGERED); in fixup_irqs()
548 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); in fixup_irqs()
H A Dkvm.c265 __this_cpu_write(apf_reason.flags, 0); in kvm_read_and_reset_apf_flags()
317 __this_cpu_write(apf_reason.token, 0); in DEFINE_IDTENTRY_SYSVEC()
381 __this_cpu_write(async_pf_enabled, true); in kvm_guest_cpu_init()
390 __this_cpu_write(kvm_apic_eoi, 0); in kvm_guest_cpu_init()
406 __this_cpu_write(async_pf_enabled, false); in kvm_pv_disable_apf()
/linux/arch/sh/kernel/
H A Dkprobes.c124 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
131 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
141 __this_cpu_write(saved_current_opcode.addr, (kprobe_opcode_t *)regs->pc); in prepare_singlestep()
328 __this_cpu_write(saved_current_opcode.addr, NULL); in post_kprobe_handler()
/linux/include/xen/
H A Dxen-ops.h202 __this_cpu_write(xen_in_preemptible_hcall, true); in xen_preemptible_hcall_begin()
207 __this_cpu_write(xen_in_preemptible_hcall, false); in xen_preemptible_hcall_end()
/linux/include/asm-generic/
H A Dirq_regs.h29 __this_cpu_write(__irq_regs, new_regs); in set_irq_regs()
/linux/arch/arm/include/asm/
H A Dswitch_to.h31 __this_cpu_write(__entry_task, next); \
/linux/arch/arm64/kernel/
H A Dproton-pack.c219 __this_cpu_write(bp_hardening_data.fn, fn); in install_bp_hardening_cb()
228 __this_cpu_write(bp_hardening_data.slot, HYP_VECTOR_SPECTRE_DIRECT); in install_bp_hardening_cb()
628 __this_cpu_write(arm64_ssbd_callback_required, 1); in spectre_v4_enable_fw_mitigation()
1003 __this_cpu_write(this_cpu_vector, v); in this_cpu_set_vectors()
1083 __this_cpu_write(bp_hardening_data.fn, NULL); in spectre_bhb_enable_mitigation()
/linux/arch/alpha/kernel/
H A Dtime.c60 #define set_irq_work_pending_flag() __this_cpu_write(irq_work_pending, 1)
62 #define clear_irq_work_pending() __this_cpu_write(irq_work_pending, 0)
/linux/arch/loongarch/kernel/
H A Dkprobes.c94 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
101 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
/linux/arch/arc/kernel/
H A Dkprobes.c87 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
93 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
/linux/arch/riscv/kernel/probes/
H A Dkprobes.c141 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
147 __this_cpu_write(current_kprobe, p); in set_current_kprobe()

1234