Home
last modified time | relevance | path

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

12345

/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/lib/
H A Dpercpu_test.c45 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
60 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
77 __this_cpu_write(long_counter, 0); in percpu_test_init()
84 __this_cpu_write(long_counter, 0); in percpu_test_init()
95 __this_cpu_write(long_counter, 0); in percpu_test_init()
103 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
110 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
118 __this_cpu_write(ulong_counter, 0); in percpu_test_init()
125 __this_cpu_write(ulong_counter, 3); in percpu_test_init()
H A Dcpumask.c144 __this_cpu_write(distribute_cpu_mask_prev, next); in cpumask_any_and_distribute()
164 __this_cpu_write(distribute_cpu_mask_prev, next); in cpumask_any_distribute()
/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.h81 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 1); in kvm_set_cpu_l1tf_flush_l1d()
86 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 0); in kvm_clear_cpu_l1tf_flush_l1d()
H A Dfred.h96 __this_cpu_write(fred_rsp0, rsp0); in fred_sync_rsp0()
105 __this_cpu_write(fred_rsp0, rsp0); in fred_update_rsp0()
/linux/arch/x86/kernel/fpu/
H A Dcontext.h28 __this_cpu_write(fpu_fpregs_owner_ctx, NULL); in __cpu_invalidate_fpregs_state()
43 __this_cpu_write(fpu_fpregs_owner_ctx, NULL); in fpregs_deactivate()
49 __this_cpu_write(fpu_fpregs_owner_ctx, fpu); in fpregs_activate()
/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/arch/s390/kernel/
H A Dvtime.c78 __this_cpu_write(mt_scaling_mult, mult); in update_mt_scaling()
79 __this_cpu_write(mt_scaling_div, div); in update_mt_scaling()
83 __this_cpu_write(mt_scaling_jiffies, jiffies_64); in update_mt_scaling()
425 __this_cpu_write(mt_scaling_jiffies, jiffies); in vtime_init()
426 __this_cpu_write(mt_scaling_mult, 1); in vtime_init()
427 __this_cpu_write(mt_scaling_div, 1); in vtime_init()
/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/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/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()
/linux/arch/x86/kernel/kprobes/
H A Dftrace.c45 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
64 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
/linux/arch/x86/kernel/
H A Dirq.c277 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); in reevaluate_vector()
484 __this_cpu_write(posted_msi_handler_active, true); in DEFINE_IDTENTRY_SYSVEC()
513 __this_cpu_write(posted_msi_handler_active, false); in DEFINE_IDTENTRY_SYSVEC()
557 __this_cpu_write(vector_irq[vector], VECTOR_RETRIGGERED); in fixup_irqs()
562 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); in fixup_irqs()
H A Dnmi.c379 __this_cpu_write(swallow_nmi, false); in default_do_nmi()
381 __this_cpu_write(last_nmi_rip, regs->ip); in default_do_nmi()
405 __this_cpu_write(swallow_nmi, true); in default_do_nmi()
751 __this_cpu_write(last_nmi_rip, 0); in local_touch_nmi()
H A Dkvm.c266 __this_cpu_write(apf_reason.flags, 0); in kvm_read_and_reset_apf_flags()
318 __this_cpu_write(apf_reason.token, 0); in DEFINE_IDTENTRY_SYSVEC()
382 __this_cpu_write(async_pf_enabled, true); in kvm_guest_cpu_init()
391 __this_cpu_write(kvm_apic_eoi, 0); in kvm_guest_cpu_init()
407 __this_cpu_write(async_pf_enabled, false); in kvm_pv_disable_apf()
/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/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/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()
1004 __this_cpu_write(this_cpu_vector, v); in this_cpu_set_vectors()
1084 __this_cpu_write(bp_hardening_data.fn, NULL); in spectre_bhb_enable_mitigation()
/linux/arch/parisc/kernel/
H A Dftrace.c226 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
243 __this_cpu_write(current_kprobe, NULL); in kprobe_ftrace_handler()
H A Dkprobes.c68 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
74 __this_cpu_write(current_kprobe, p); in set_current_kprobe()

12345