Home
last modified time | relevance | path

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

1234

/Linux-v5.4/arch/mips/math-emu/
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-v5.4/lib/
Dpercpu_test.c43 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
58 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
75 __this_cpu_write(long_counter, 0); in percpu_test_init()
82 __this_cpu_write(long_counter, 0); in percpu_test_init()
93 __this_cpu_write(long_counter, 0); in percpu_test_init()
101 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
108 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
116 __this_cpu_write(ulong_counter, 3); in percpu_test_init()
/Linux-v5.4/arch/mips/kernel/
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-v5.4/kernel/
Dwatchdog.c260 __this_cpu_write(watchdog_touch_ts, get_timestamp()); in __touch_watchdog()
307 __this_cpu_write(softlockup_touch_sync, true); in touch_softlockup_watchdog_sync()
308 __this_cpu_write(watchdog_touch_ts, 0); in touch_softlockup_watchdog_sync()
331 __this_cpu_write(hrtimer_interrupts_saved, hrint); in is_hardlockup()
353 __this_cpu_write(soft_lockup_hrtimer_cnt, in softlockup_fn()
392 __this_cpu_write(softlockup_touch_sync, false); in watchdog_timer_fn()
430 __this_cpu_write(soft_watchdog_warn, false); in watchdog_timer_fn()
442 __this_cpu_write(soft_watchdog_warn, true); in watchdog_timer_fn()
450 __this_cpu_write(softlockup_task_ptr_saved, current); in watchdog_timer_fn()
472 __this_cpu_write(soft_watchdog_warn, true); in watchdog_timer_fn()
[all …]
Dwatchdog_hld.c90 __this_cpu_write(nmi_rearmed, 0); in watchdog_check_timestamp()
91 __this_cpu_write(last_timestamp, now); in watchdog_check_timestamp()
118 __this_cpu_write(watchdog_nmi_touch, false); in watchdog_overflow_callback()
158 __this_cpu_write(hard_watchdog_warn, true); in watchdog_overflow_callback()
162 __this_cpu_write(hard_watchdog_warn, false); in watchdog_overflow_callback()
Dcontext_tracking.c98 __this_cpu_write(context_tracking.state, state); in __context_tracking_enter()
162 __this_cpu_write(context_tracking.state, CONTEXT_KERNEL); in __context_tracking_exit()
/Linux-v5.4/arch/sparc/kernel/
Dnmi.c103 __this_cpu_write(nmi_touch, 0); in perfctr_irq()
112 __this_cpu_write(last_irq_sum, sum); in perfctr_irq()
113 __this_cpu_write(alert_counter, 0); in perfctr_irq()
158 __this_cpu_write(wd_enabled, 0); in stop_nmi_watchdog()
215 __this_cpu_write(wd_enabled, 1); in start_nmi_watchdog()
/Linux-v5.4/drivers/xen/
Dpreempt.c35 __this_cpu_write(xen_in_preemptible_hcall, false); in xen_maybe_preempt_hcall()
37 __this_cpu_write(xen_in_preemptible_hcall, true); in xen_maybe_preempt_hcall()
/Linux-v5.4/arch/x86/kernel/cpu/mce/
Dintel.c189 __this_cpu_write(cmci_storm_state, CMCI_STORM_SUBSIDED); in cmci_intel_adjust_timer()
201 __this_cpu_write(cmci_storm_state, CMCI_STORM_NONE); in cmci_intel_adjust_timer()
227 __this_cpu_write(cmci_time_stamp, now); in cmci_storm_detect()
229 __this_cpu_write(cmci_storm_cnt, cnt); in cmci_storm_detect()
235 __this_cpu_write(cmci_storm_state, CMCI_STORM_ACTIVE); in cmci_storm_detect()
/Linux-v5.4/arch/powerpc/kernel/
Dkprobes-ftrace.c36 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
53 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
/Linux-v5.4/drivers/staging/speakup/
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-v5.4/arch/x86/include/asm/
Dhardirq.h67 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 1); in kvm_set_cpu_l1tf_flush_l1d()
72 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 0); in kvm_clear_cpu_l1tf_flush_l1d()
/Linux-v5.4/drivers/irqchip/
Dirq-xtensa-mx.c62 __this_cpu_write(cached_irq_mask, in secondary_init_irq()
83 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_mask()
101 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_unmask()
/Linux-v5.4/arch/x86/kernel/kprobes/
Dftrace.c35 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
53 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
Dcore.c528 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
538 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
776 __this_cpu_write(current_kprobe, &kretprobe_kprobe); in trampoline_handler()
850 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_handler()
853 __this_cpu_write(current_kprobe, &kretprobe_kprobe); in trampoline_handler()
869 __this_cpu_write(current_kprobe, NULL); in trampoline_handler()
/Linux-v5.4/arch/sh/kernel/
Dkprobes.c129 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
136 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
146 __this_cpu_write(saved_current_opcode.addr, (kprobe_opcode_t *)regs->pc); in prepare_singlestep()
333 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_probe_handler()
335 __this_cpu_write(current_kprobe, NULL); in trampoline_probe_handler()
385 __this_cpu_write(saved_current_opcode.addr, NULL); in post_kprobe_handler()
/Linux-v5.4/arch/s390/kernel/
Dvtime.c86 __this_cpu_write(mt_scaling_mult, mult); in update_mt_scaling()
87 __this_cpu_write(mt_scaling_div, div); in update_mt_scaling()
91 __this_cpu_write(mt_scaling_jiffies, jiffies_64); in update_mt_scaling()
437 __this_cpu_write(mt_scaling_jiffies, jiffies); in vtime_init()
438 __this_cpu_write(mt_scaling_mult, 1); in vtime_init()
439 __this_cpu_write(mt_scaling_div, 1); in vtime_init()
/Linux-v5.4/arch/parisc/kernel/
Dkprobes.c62 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
68 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
243 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_probe_handler()
247 __this_cpu_write(current_kprobe, NULL); in trampoline_probe_handler()
/Linux-v5.4/net/ipv4/netfilter/
Dnf_dup_ipv4.c87 __this_cpu_write(nf_skb_duplicated, true); in nf_dup_ipv4()
89 __this_cpu_write(nf_skb_duplicated, false); in nf_dup_ipv4()
/Linux-v5.4/net/ipv6/netfilter/
Dnf_dup_ipv6.c66 __this_cpu_write(nf_skb_duplicated, true); in nf_dup_ipv6()
68 __this_cpu_write(nf_skb_duplicated, false); in nf_dup_ipv6()
/Linux-v5.4/arch/x86/kernel/
Dnmi.c334 __this_cpu_write(swallow_nmi, false); in default_do_nmi()
336 __this_cpu_write(last_nmi_rip, regs->ip); in default_do_nmi()
350 __this_cpu_write(swallow_nmi, true); in default_do_nmi()
578 __this_cpu_write(last_nmi_rip, 0); in local_touch_nmi()
/Linux-v5.4/arch/arm64/kernel/
Dsyscall.c77 __this_cpu_write(__in_cortex_a76_erratum_1463225_wa, 1); in cortex_a76_erratum_1463225_svc_handler()
87 __this_cpu_write(__in_cortex_a76_erratum_1463225_wa, 0); in cortex_a76_erratum_1463225_svc_handler()
Dcpu_errata.c136 __this_cpu_write(bp_hardening_data.fn, fn); in install_bp_hardening_cb()
154 __this_cpu_write(bp_hardening_data.hyp_vectors_slot, slot); in install_bp_hardening_cb()
155 __this_cpu_write(bp_hardening_data.fn, fn); in install_bp_hardening_cb()
166 __this_cpu_write(bp_hardening_data.fn, fn); in install_bp_hardening_cb()
458 __this_cpu_write(arm64_ssbd_callback_required, 1); in has_ssbd_mitigation()
/Linux-v5.4/arch/arm/probes/kprobes/
Dcore.c198 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
204 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
465 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_handler()
469 __this_cpu_write(current_kprobe, NULL); in trampoline_handler()
/Linux-v5.4/arch/arm64/kernel/probes/
Dkprobes.c162 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
168 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
527 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_probe_handler()
531 __this_cpu_write(current_kprobe, NULL); in trampoline_probe_handler()

1234