Home
last modified time | relevance | path

Searched refs:__this_cpu_read (Results 1 – 25 of 108) sorted by relevance

12345

/Linux-v4.19/arch/sparc/kernel/
Dnmi.c101 if (__this_cpu_read(nmi_touch)) { in perfctr_irq()
105 if (!touched && __this_cpu_read(last_irq_sum) == sum) { in perfctr_irq()
107 if (__this_cpu_read(alert_counter) == 30 * nmi_hz) in perfctr_irq()
114 if (__this_cpu_read(wd_enabled)) { in perfctr_irq()
154 if (!__this_cpu_read(wd_enabled)) in stop_nmi_watchdog()
211 if (__this_cpu_read(wd_enabled)) in start_nmi_watchdog()
225 if (!__this_cpu_read(wd_enabled)) in nmi_adjust_hz_one()
/Linux-v4.19/arch/mips/kernel/
Dmips-r2-to-r6-emul.c2250 (unsigned long)__this_cpu_read(mipsr2emustats.movs), in mipsr2_stats_show()
2251 (unsigned long)__this_cpu_read(mipsr2bdemustats.movs)); in mipsr2_stats_show()
2253 (unsigned long)__this_cpu_read(mipsr2emustats.hilo), in mipsr2_stats_show()
2254 (unsigned long)__this_cpu_read(mipsr2bdemustats.hilo)); in mipsr2_stats_show()
2256 (unsigned long)__this_cpu_read(mipsr2emustats.muls), in mipsr2_stats_show()
2257 (unsigned long)__this_cpu_read(mipsr2bdemustats.muls)); in mipsr2_stats_show()
2259 (unsigned long)__this_cpu_read(mipsr2emustats.divs), in mipsr2_stats_show()
2260 (unsigned long)__this_cpu_read(mipsr2bdemustats.divs)); in mipsr2_stats_show()
2262 (unsigned long)__this_cpu_read(mipsr2emustats.dsps), in mipsr2_stats_show()
2263 (unsigned long)__this_cpu_read(mipsr2bdemustats.dsps)); in mipsr2_stats_show()
[all …]
/Linux-v4.19/kernel/
Dcontext_tracking.c69 if ( __this_cpu_read(context_tracking.state) != state) { in __context_tracking_enter()
70 if (__this_cpu_read(context_tracking.active)) { in __context_tracking_enter()
149 if (__this_cpu_read(context_tracking.state) == state) { in __context_tracking_exit()
150 if (__this_cpu_read(context_tracking.active)) { in __context_tracking_exit()
Dwatchdog.c319 unsigned long hrint = __this_cpu_read(hrtimer_interrupts); in is_hardlockup()
321 if (__this_cpu_read(hrtimer_interrupts_saved) == hrint) in is_hardlockup()
347 __this_cpu_read(hrtimer_interrupts)); in softlockup_fn()
357 unsigned long touch_ts = __this_cpu_read(watchdog_touch_ts); in watchdog_timer_fn()
380 if (unlikely(__this_cpu_read(softlockup_touch_sync))) { in watchdog_timer_fn()
412 if (__this_cpu_read(soft_watchdog_warn) == true) { in watchdog_timer_fn()
421 if (__this_cpu_read(softlockup_task_ptr_saved) != in watchdog_timer_fn()
Dwatchdog_hld.c80 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp()
117 if (__this_cpu_read(watchdog_nmi_touch) == true) { in watchdog_overflow_callback()
135 if (__this_cpu_read(hard_watchdog_warn) == true) in watchdog_overflow_callback()
Dsoftirq.c74 struct task_struct *tsk = __this_cpu_read(ksoftirqd); in wakeup_softirqd()
88 struct task_struct *tsk = __this_cpu_read(ksoftirqd); in ksoftirqd_running()
701 *__this_cpu_read(tasklet_vec.tail) = per_cpu(tasklet_vec, cpu).head; in takeover_tasklets()
709 *__this_cpu_read(tasklet_hi_vec.tail) = per_cpu(tasklet_hi_vec, cpu).head; in takeover_tasklets()
/Linux-v4.19/kernel/time/
Dtick-oneshot.c29 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_program_event()
56 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot()
116 ret = __this_cpu_read(tick_cpu_device.mode) == TICKDEV_MODE_ONESHOT; in tick_oneshot_mode_active()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c129 if (__this_cpu_read(cmci_storm_state) == CMCI_STORM_NONE) in mce_intel_cmci_poll()
176 (__this_cpu_read(cmci_storm_state) == CMCI_STORM_ACTIVE)) { in cmci_intel_adjust_timer()
181 switch (__this_cpu_read(cmci_storm_state)) { in cmci_intel_adjust_timer()
215 unsigned int cnt = __this_cpu_read(cmci_storm_cnt); in cmci_storm_detect()
216 unsigned long ts = __this_cpu_read(cmci_time_stamp); in cmci_storm_detect()
220 if (__this_cpu_read(cmci_storm_state) != CMCI_STORM_NONE) in cmci_storm_detect()
/Linux-v4.19/include/asm-generic/
Dirq_regs.h25 return __this_cpu_read(__irq_regs); in get_irq_regs()
32 old_regs = __this_cpu_read(__irq_regs); in set_irq_regs()
/Linux-v4.19/include/linux/
Dcontext_tracking_state.h36 return __this_cpu_read(context_tracking.active); in context_tracking_cpu_is_enabled()
41 return __this_cpu_read(context_tracking.state) == CONTEXT_USER; in context_tracking_in_user()
/Linux-v4.19/lib/
Dpercpu_test.c10 WARN(__this_cpu_read(pcp) != (expected), \
12 __this_cpu_read(pcp), __this_cpu_read(pcp), \
/Linux-v4.19/arch/x86/kernel/
Dhw_breakpoint.c427 set_debugreg(__this_cpu_read(cpu_debugreg[0]), 0); in hw_breakpoint_restore()
428 set_debugreg(__this_cpu_read(cpu_debugreg[1]), 1); in hw_breakpoint_restore()
429 set_debugreg(__this_cpu_read(cpu_debugreg[2]), 2); in hw_breakpoint_restore()
430 set_debugreg(__this_cpu_read(cpu_debugreg[3]), 3); in hw_breakpoint_restore()
432 set_debugreg(__this_cpu_read(cpu_dr7), 7); in hw_breakpoint_restore()
Dirq_32.c79 irqstk = __this_cpu_read(hardirq_stack); in execute_on_irq_stack()
138 irqstk = __this_cpu_read(softirq_stack); in do_softirq_own_stack()
Dirq.c244 desc = __this_cpu_read(vector_irq[vector]); in do_IRQ()
368 if (IS_ERR_OR_NULL(__this_cpu_read(vector_irq[vector]))) in fixup_irqs()
373 desc = __this_cpu_read(vector_irq[vector]); in fixup_irqs()
384 if (__this_cpu_read(vector_irq[vector]) != VECTOR_RETRIGGERED) in fixup_irqs()
Dirq_64.c51 irq_stack_bottom = (u64)__this_cpu_read(irq_stack_ptr); in stack_overflow_check()
/Linux-v4.19/drivers/xen/events/
Devents_2l.c121 struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); in evtchn_2l_unmask()
171 struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); in evtchn_2l_handle_events()
190 start_word_idx = __this_cpu_read(current_word_idx); in evtchn_2l_handle_events()
191 start_bit_idx = __this_cpu_read(current_bit_idx); in evtchn_2l_handle_events()
/Linux-v4.19/arch/powerpc/kernel/
Dmce.c181 int index = __this_cpu_read(mce_nest_count) - 1; in get_mce_event()
262 while (__this_cpu_read(mce_ue_count) > 0) { in machine_process_ue_event()
263 index = __this_cpu_read(mce_ue_count) - 1; in machine_process_ue_event()
301 while (__this_cpu_read(mce_queue_count) > 0) { in machine_check_process_queued_event()
302 index = __this_cpu_read(mce_queue_count) - 1; in machine_check_process_queued_event()
/Linux-v4.19/drivers/irqchip/
Dirq-xtensa-mx.c78 mask = __this_cpu_read(cached_irq_mask) & ~mask; in xtensa_mx_irq_mask()
93 mask |= __this_cpu_read(cached_irq_mask); in xtensa_mx_irq_unmask()
/Linux-v4.19/drivers/xen/
Dpreempt.c33 if (unlikely(__this_cpu_read(xen_in_preemptible_hcall) in xen_maybe_preempt_hcall()
/Linux-v4.19/mm/
Dvmstat.c323 x = delta + __this_cpu_read(*p); in __mod_zone_page_state()
325 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()
343 x = delta + __this_cpu_read(*p); in __mod_node_page_state()
345 t = __this_cpu_read(pcp->stat_threshold); in __mod_node_page_state()
385 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()
401 t = __this_cpu_read(pcp->stat_threshold); in __inc_node_state()
429 t = __this_cpu_read(pcp->stat_threshold); in __dec_zone_state()
445 t = __this_cpu_read(pcp->stat_threshold); in __dec_node_state()
795 if (!__this_cpu_read(p->expire) || in refresh_cpu_vm_stats()
796 !__this_cpu_read(p->pcp.count)) in refresh_cpu_vm_stats()
[all …]
/Linux-v4.19/arch/powerpc/sysdev/xive/
Dcommon.c257 struct xive_cpu *xc = __this_cpu_read(xive_cpu); in xive_get_irq()
361 struct xive_cpu *xc = __this_cpu_read(xive_cpu); in xive_irq_eoi()
1011 struct xive_cpu *xc = __this_cpu_read(xive_cpu); in xive_ipi_eoi()
1271 struct xive_cpu *xc = __this_cpu_read(xive_cpu); in xive_setup_cpu()
1359 struct xive_cpu *xc = __this_cpu_read(xive_cpu); in xive_smp_disable_cpu()
1379 struct xive_cpu *xc = __this_cpu_read(xive_cpu); in xive_flush_interrupt()
1392 struct xive_cpu *xc = __this_cpu_read(xive_cpu); in xive_teardown_cpu()
/Linux-v4.19/arch/ia64/include/asm/sn/
Dnodepda.h73 #define sn_nodepda __this_cpu_read(__sn_nodepda)
/Linux-v4.19/arch/x86/oprofile/
Dop_model_ppro.c87 __this_cpu_read(cpu_info.x86) == 6 && in ppro_setup_ctrs()
88 __this_cpu_read(cpu_info.x86_model) == 15)) { in ppro_setup_ctrs()
/Linux-v4.19/arch/x86/include/asm/
Dhardirq.h77 return __this_cpu_read(irq_stat.kvm_cpu_l1tf_flush_l1d); in kvm_get_cpu_l1tf_flush_l1d()
Ddebugreg.h90 return __this_cpu_read(cpu_dr7) & DR_GLOBAL_ENABLE_MASK; in hw_breakpoint_active()

12345