Home
last modified time | relevance | path

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

12345

/linux-6.15/arch/mips/math-emu/
H A Dme-debugfs.c55 __this_cpu_write((fpuemustats).loads, 0); in fpuemustats_clear_show()
56 __this_cpu_write((fpuemustats).stores, 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()
68 __this_cpu_write((fpuemustats).abs_s, 0); in fpuemustats_clear_show()
69 __this_cpu_write((fpuemustats).abs_d, 0); in fpuemustats_clear_show()
70 __this_cpu_write((fpuemustats).add_s, 0); in fpuemustats_clear_show()
71 __this_cpu_write((fpuemustats).add_d, 0); in fpuemustats_clear_show()
72 __this_cpu_write((fpuemustats).bc1eqz, 0); in fpuemustats_clear_show()
[all …]
/linux-6.15/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-6.15/arch/mips/kernel/
H A Dmips-r2-to-r6-emul.c2308 __this_cpu_write((mipsr2emustats).movs, 0); in mipsr2_clear_show()
2310 __this_cpu_write((mipsr2emustats).hilo, 0); in mipsr2_clear_show()
2312 __this_cpu_write((mipsr2emustats).muls, 0); in mipsr2_clear_show()
2314 __this_cpu_write((mipsr2emustats).divs, 0); in mipsr2_clear_show()
2316 __this_cpu_write((mipsr2emustats).dsps, 0); in mipsr2_clear_show()
2318 __this_cpu_write((mipsr2emustats).bops, 0); in mipsr2_clear_show()
2320 __this_cpu_write((mipsr2emustats).traps, 0); in mipsr2_clear_show()
2322 __this_cpu_write((mipsr2emustats).fpus, 0); in mipsr2_clear_show()
2324 __this_cpu_write((mipsr2emustats).loads, 0); in mipsr2_clear_show()
2328 __this_cpu_write((mipsr2emustats).llsc, 0); in mipsr2_clear_show()
[all …]
/linux-6.15/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()
H A Dfred.h95 __this_cpu_write(fred_rsp0, rsp0); in fred_sync_rsp0()
104 __this_cpu_write(fred_rsp0, rsp0); in fred_update_rsp0()
/linux-6.15/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-6.15/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-6.15/kernel/
H A Dwatchdog_perf.c72 __this_cpu_write(nmi_rearmed, 0); in watchdog_check_timestamp()
73 __this_cpu_write(last_timestamp, now); in watchdog_check_timestamp()
79 __this_cpu_write(nmi_rearmed, 0); in watchdog_init_timestamp()
80 __this_cpu_write(last_timestamp, ktime_get_mono_fast_ns()); in watchdog_init_timestamp()
H A Dwatchdog.c397 __this_cpu_write(cpustat_util[tail][i], util); in update_cpustat()
398 __this_cpu_write(cpustat_old[i], new_stat); in update_cpustat()
401 __this_cpu_write(cpustat_tail, (tail + 1) % NUM_SAMPLE_PERIODS); in update_cpustat()
471 __this_cpu_write(snapshot_taken, true); in start_counting_irqs()
477 __this_cpu_write(snapshot_taken, false); in stop_counting_irqs()
569 __this_cpu_write(watchdog_report_ts, get_timestamp()); in update_report_ts()
575 __this_cpu_write(watchdog_touch_ts, get_timestamp()); in update_touch_ts()
624 __this_cpu_write(softlockup_touch_sync, true); in touch_softlockup_watchdog_sync()
625 __this_cpu_write(watchdog_report_ts, SOFTLOCKUP_DELAY_REPORT); in touch_softlockup_watchdog_sync()
733 __this_cpu_write(softlockup_touch_sync, false); in watchdog_timer_fn()
/linux-6.15/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()
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/net/ipv6/netfilter/
H A Dnf_dup_ipv6.c67 __this_cpu_write(nf_skb_duplicated, true); in nf_dup_ipv6()
69 __this_cpu_write(nf_skb_duplicated, false); in nf_dup_ipv6()
/linux-6.15/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c89 __this_cpu_write(nf_skb_duplicated, true); in nf_dup_ipv4()
91 __this_cpu_write(nf_skb_duplicated, false); in nf_dup_ipv4()
/linux-6.15/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-6.15/include/xen/
H A Dxen-ops.h203 __this_cpu_write(xen_in_preemptible_hcall, true); in xen_preemptible_hcall_begin()
208 __this_cpu_write(xen_in_preemptible_hcall, false); in xen_preemptible_hcall_end()
/linux-6.15/arch/x86/kernel/
H A Dnmi.c384 __this_cpu_write(swallow_nmi, false); in default_do_nmi()
386 __this_cpu_write(last_nmi_rip, regs->ip); in default_do_nmi()
405 __this_cpu_write(swallow_nmi, true); in default_do_nmi()
752 __this_cpu_write(last_nmi_rip, 0); in local_touch_nmi()
/linux-6.15/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()
/linux-6.15/include/asm-generic/
H A Dirq_regs.h29 __this_cpu_write(__irq_regs, new_regs); in set_irq_regs()

12345