Home
last modified time | relevance | path

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

1234

/Linux-v4.19/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-v4.19/lib/
Dpercpu_test.c42 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
57 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
74 __this_cpu_write(long_counter, 0); in percpu_test_init()
81 __this_cpu_write(long_counter, 0); in percpu_test_init()
92 __this_cpu_write(long_counter, 0); in percpu_test_init()
100 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
107 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
115 __this_cpu_write(ulong_counter, 3); in percpu_test_init()
/Linux-v4.19/kernel/
Dwatchdog.c253 __this_cpu_write(watchdog_touch_ts, get_timestamp()); in __touch_watchdog()
300 __this_cpu_write(softlockup_touch_sync, true); in touch_softlockup_watchdog_sync()
301 __this_cpu_write(watchdog_touch_ts, 0); in touch_softlockup_watchdog_sync()
324 __this_cpu_write(hrtimer_interrupts_saved, hrint); in is_hardlockup()
346 __this_cpu_write(soft_lockup_hrtimer_cnt, in softlockup_fn()
385 __this_cpu_write(softlockup_touch_sync, false); in watchdog_timer_fn()
423 __this_cpu_write(soft_watchdog_warn, false); in watchdog_timer_fn()
435 __this_cpu_write(soft_watchdog_warn, true); in watchdog_timer_fn()
443 __this_cpu_write(softlockup_task_ptr_saved, current); in watchdog_timer_fn()
465 __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()
157 __this_cpu_write(hard_watchdog_warn, true); in watchdog_overflow_callback()
161 __this_cpu_write(hard_watchdog_warn, false); in watchdog_overflow_callback()
Dcontext_tracking.c97 __this_cpu_write(context_tracking.state, state); in __context_tracking_enter()
161 __this_cpu_write(context_tracking.state, CONTEXT_KERNEL); in __context_tracking_exit()
/Linux-v4.19/arch/mips/kernel/
Dmips-r2-to-r6-emul.c2315 __this_cpu_write((mipsr2emustats).movs, 0); in mipsr2_stats_clear_show()
2316 __this_cpu_write((mipsr2bdemustats).movs, 0); in mipsr2_stats_clear_show()
2317 __this_cpu_write((mipsr2emustats).hilo, 0); in mipsr2_stats_clear_show()
2318 __this_cpu_write((mipsr2bdemustats).hilo, 0); in mipsr2_stats_clear_show()
2319 __this_cpu_write((mipsr2emustats).muls, 0); in mipsr2_stats_clear_show()
2320 __this_cpu_write((mipsr2bdemustats).muls, 0); in mipsr2_stats_clear_show()
2321 __this_cpu_write((mipsr2emustats).divs, 0); in mipsr2_stats_clear_show()
2322 __this_cpu_write((mipsr2bdemustats).divs, 0); in mipsr2_stats_clear_show()
2323 __this_cpu_write((mipsr2emustats).dsps, 0); in mipsr2_stats_clear_show()
2324 __this_cpu_write((mipsr2bdemustats).dsps, 0); in mipsr2_stats_clear_show()
[all …]
/Linux-v4.19/arch/sparc/kernel/
Dnmi.c102 __this_cpu_write(nmi_touch, 0); in perfctr_irq()
111 __this_cpu_write(last_irq_sum, sum); in perfctr_irq()
112 __this_cpu_write(alert_counter, 0); in perfctr_irq()
157 __this_cpu_write(wd_enabled, 0); in stop_nmi_watchdog()
214 __this_cpu_write(wd_enabled, 1); in start_nmi_watchdog()
/Linux-v4.19/drivers/xen/
Dpreempt.c39 __this_cpu_write(xen_in_preemptible_hcall, false); in xen_maybe_preempt_hcall()
41 __this_cpu_write(xen_in_preemptible_hcall, true); in xen_maybe_preempt_hcall()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_intel.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-v4.19/drivers/irqchip/
Dirq-xtensa-mx.c62 __this_cpu_write(cached_irq_mask, in secondary_init_irq()
79 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_mask()
94 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_unmask()
/Linux-v4.19/arch/powerpc/kernel/
Dkprobes-ftrace.c49 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
66 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
/Linux-v4.19/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-v4.19/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-v4.19/arch/x86/kernel/kprobes/
Dftrace.c48 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
66 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
/Linux-v4.19/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()
432 __this_cpu_write(mt_scaling_jiffies, jiffies); in vtime_init()
433 __this_cpu_write(mt_scaling_mult, 1); in vtime_init()
434 __this_cpu_write(mt_scaling_div, 1); in vtime_init()
/Linux-v4.19/arch/sh/kernel/
Dkprobes.c132 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
139 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
149 __this_cpu_write(saved_current_opcode.addr, (kprobe_opcode_t *)regs->pc); in prepare_singlestep()
336 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_probe_handler()
338 __this_cpu_write(current_kprobe, NULL); in trampoline_probe_handler()
388 __this_cpu_write(saved_current_opcode.addr, NULL); in post_kprobe_handler()
/Linux-v4.19/net/ipv4/netfilter/
Dnf_dup_ipv4.c90 __this_cpu_write(nf_skb_duplicated, true); in nf_dup_ipv4()
92 __this_cpu_write(nf_skb_duplicated, false); in nf_dup_ipv4()
/Linux-v4.19/net/ipv6/netfilter/
Dnf_dup_ipv6.c69 __this_cpu_write(nf_skb_duplicated, true); in nf_dup_ipv6()
71 __this_cpu_write(nf_skb_duplicated, false); in nf_dup_ipv6()
/Linux-v4.19/arch/x86/kernel/
Dnmi.c331 __this_cpu_write(swallow_nmi, false); in default_do_nmi()
333 __this_cpu_write(last_nmi_rip, regs->ip); in default_do_nmi()
347 __this_cpu_write(swallow_nmi, true); in default_do_nmi()
552 __this_cpu_write(last_nmi_rip, 0); in local_touch_nmi()
/Linux-v4.19/arch/arm/probes/kprobes/
Dcore.c206 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
212 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
473 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_handler()
477 __this_cpu_write(current_kprobe, NULL); in trampoline_handler()
/Linux-v4.19/arch/arm64/kernel/probes/
Dkprobes.c160 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
166 __this_cpu_write(current_kprobe, p); in set_current_kprobe()
534 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_probe_handler()
538 __this_cpu_write(current_kprobe, NULL); in trampoline_probe_handler()
/Linux-v4.19/include/xen/
Dxen-ops.h209 __this_cpu_write(xen_in_preemptible_hcall, true); in xen_preemptible_hcall_begin()
214 __this_cpu_write(xen_in_preemptible_hcall, false); in xen_preemptible_hcall_end()
/Linux-v4.19/include/asm-generic/
Dirq_regs.h33 __this_cpu_write(__irq_regs, new_regs); in set_irq_regs()
/Linux-v4.19/arch/arm64/kernel/
Dcpu_errata.c133 __this_cpu_write(bp_hardening_data.hyp_vectors_slot, slot); in __install_bp_hardening_cb()
134 __this_cpu_write(bp_hardening_data.fn, fn); in __install_bp_hardening_cb()
145 __this_cpu_write(bp_hardening_data.fn, fn); in __install_bp_hardening_cb()
394 __this_cpu_write(arm64_ssbd_callback_required, 1); in has_ssbd_mitigation()
Dfpsimd.c1058 __this_cpu_write(fpsimd_last_state.st, NULL); in fpsimd_flush_cpu_state()
1093 __this_cpu_write(kernel_neon_busy, true); in kernel_neon_begin()
1170 __this_cpu_write(efi_sve_state_used, true); in __efi_fpsimd_begin()
1178 __this_cpu_write(efi_fpsimd_state_used, true); in __efi_fpsimd_begin()
1201 __this_cpu_write(efi_sve_state_used, false); in __efi_fpsimd_end()

1234