Home
last modified time | relevance | path

Searched refs:this_cpu_read (Results 1 – 25 of 100) sorted by relevance

1234

/linux/arch/x86/mm/
A Dtlb.c199 if (asid == this_cpu_read(cpu_tlbstate.loaded_mm_asid)) in clear_asid_other()
224 if (this_cpu_read(cpu_tlbstate.invalidate_other)) in choose_new_asid()
228 if (this_cpu_read(cpu_tlbstate.ctxs[asid].ctx_id) != in choose_new_asid()
311 WARN_ON(!this_cpu_read(cpu_tlbstate_shared.is_lazy)); in leave_mm()
355 if (this_cpu_read(cpu_info.smt_active)) { in l1d_flush_evaluate()
384 prev_mm = this_cpu_read(cpu_tlbstate.last_user_mm_spec); in cond_mitigation()
481 cr4_update_pce_mm(this_cpu_read(cpu_tlbstate.loaded_mm)); in cr4_update_pce()
664 if (this_cpu_read(cpu_tlbstate.loaded_mm) == &init_mm) in enter_lazy_tlb()
759 if (this_cpu_read(cpu_tlbstate_shared.is_lazy)) { in flush_tlb_func()
1077 this_cpu_read(cpu_tlbstate.loaded_mm_asid)); in __get_current_cr3_fast()
[all …]
/linux/kernel/trace/
A Dtrace_preemptirq.c30 if (this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_on_prepare()
42 if (this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_on()
63 if (!this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_off_finish()
78 if (!this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_off()
90 if (this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_on_caller()
107 if (!this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_off_caller()
/linux/drivers/irqchip/
A Dirq-csky-mpintc.c56 (this_cpu_read(intcl_reg) + INTCL_CFGR) : (INTCG_base + INTCG_CICFGR)))
75 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_handler()
83 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_unmask()
92 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_mask()
99 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_eoi()
215 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_send_ipi()
/linux/arch/arm64/kernel/
A Dtopology.c209 prev_const_cnt = this_cpu_read(arch_const_cycles_prev); in amu_scale_freq_tick()
210 prev_core_cnt = this_cpu_read(arch_core_cycles_prev); in amu_scale_freq_tick()
214 const_cnt = this_cpu_read(arch_const_cycles_prev); in amu_scale_freq_tick()
215 core_cnt = this_cpu_read(arch_core_cycles_prev); in amu_scale_freq_tick()
230 scale *= this_cpu_read(arch_max_freq_scale); in amu_scale_freq_tick()
/linux/arch/x86/kernel/
A Ddumpstack_32.c40 unsigned long *begin = (unsigned long *)this_cpu_read(hardirq_stack_ptr); in in_hardirq_stack()
65 unsigned long *begin = (unsigned long *)this_cpu_read(softirq_stack_ptr); in in_softirq_stack()
102 info->next_sp = (unsigned long *)this_cpu_read(cpu_tss_rw.x86_tss.sp); in in_doublefault_stack()
A Dnmi.c489 if (this_cpu_read(nmi_state) != NMI_NOT_RUNNING) { in DEFINE_IDTENTRY_RAW()
514 local_db_restore(this_cpu_read(nmi_dr7)); in DEFINE_IDTENTRY_RAW()
518 if (unlikely(this_cpu_read(nmi_cr2) != read_cr2())) in DEFINE_IDTENTRY_RAW()
519 write_cr2(this_cpu_read(nmi_cr2)); in DEFINE_IDTENTRY_RAW()
A Dparavirt.c177 BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); in enter_lazy()
184 BUG_ON(this_cpu_read(paravirt_lazy_mode) != mode); in leave_lazy()
216 if (this_cpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { in paravirt_start_context_switch()
269 return this_cpu_read(paravirt_lazy_mode); in paravirt_get_lazy_mode()
A Dtsc.c77 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence); in cyc2ns_read_begin()
80 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in cyc2ns_read_begin()
81 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in cyc2ns_read_begin()
82 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in cyc2ns_read_begin()
84 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.seqcount.sequence))); in cyc2ns_read_begin()
A Dhw_breakpoint.c164 dr7 = this_cpu_read(cpu_dr7); in arch_uninstall_hw_breakpoint()
531 bp = this_cpu_read(bp_per_reg[i]); in hw_breakpoint_handler()
/linux/arch/x86/include/asm/
A Dkvmclock.h13 return &this_cpu_read(hv_clock_per_cpu)->pvti; in this_cpu_pvti()
18 return this_cpu_read(hv_clock_per_cpu); in this_cpu_hvclock()
A Dswitch_to.h56 if (unlikely(this_cpu_read(cpu_tss_rw.x86_tss.ss1) == thread->sysenter_cs)) in refresh_sysenter_cs()
/linux/kernel/
A Dwatchdog_hld.c199 perf_event_enable(this_cpu_read(watchdog_ev)); in hardlockup_detector_perf_enable()
207 struct perf_event *event = this_cpu_read(watchdog_ev); in hardlockup_detector_perf_disable()
292 perf_event_release_kernel(this_cpu_read(watchdog_ev)); in hardlockup_detector_perf_init()
/linux/arch/x86/kernel/cpu/mce/
A Damd.c404 if (this_cpu_read(threshold_banks)) in threshold_restart_bank()
663 for (bank = 0; bank < this_cpu_read(mce_num_banks); ++bank) { in mce_amd_feature_init()
1007 for (bank = 0; bank < this_cpu_read(mce_num_banks); ++bank) in amd_deferred_error_interrupt()
1046 struct threshold_bank **bp = this_cpu_read(threshold_banks); in amd_threshold_interrupt()
1057 for (bank = 0; bank < this_cpu_read(mce_num_banks); ++bank) { in amd_threshold_interrupt()
1348 struct device *dev = this_cpu_read(mce_device); in threshold_create_bank()
1476 struct threshold_bank **bp = this_cpu_read(threshold_banks); in mce_threshold_remove_device()
1477 unsigned int bank, numbanks = this_cpu_read(mce_num_banks); in mce_threshold_remove_device()
1518 bp = this_cpu_read(threshold_banks); in mce_threshold_create_device()
1522 numbanks = this_cpu_read(mce_num_banks); in mce_threshold_create_device()
[all …]
A Dcore.c706 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in machine_check_poll()
835 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in mce_no_way_out()
1127 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in mce_clear_state()
1176 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in __mc_scan_banks()
1613 u8 n_banks = this_cpu_read(mce_num_banks); in __mcheck_cpu_mce_banks_init()
1688 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in __mcheck_cpu_init_clear_banks()
1714 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in __mcheck_cpu_check_banks()
1884 if (this_cpu_read(mce_num_banks) > 8) in mce_zhaoxin_feature_init()
2110 if (bank >= this_cpu_read(mce_num_banks)) { in mce_disable_bank()
2200 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in mce_disable_error_reporting()
[all …]
/linux/include/linux/
A Dcontext_tracking.h58 prev_ctx = this_cpu_read(context_tracking.state); in exception_enter()
98 this_cpu_read(context_tracking.state) : CONTEXT_DISABLED; in ct_state()
A Dlockdep.h580 #define __lockdep_enabled (debug_locks && !this_cpu_read(lockdep_recursion))
584 WARN_ON_ONCE(__lockdep_enabled && !this_cpu_read(hardirqs_enabled)); \
589 WARN_ON_ONCE(__lockdep_enabled && this_cpu_read(hardirqs_enabled)); \
594 WARN_ON_ONCE(__lockdep_enabled && !this_cpu_read(hardirq_context)); \
602 !this_cpu_read(hardirqs_enabled))); \
610 this_cpu_read(hardirqs_enabled))); \
/linux/arch/arm64/include/asm/
A Dsimd.h41 !this_cpu_read(fpsimd_context_busy); in may_use_simd()
/linux/kernel/printk/
A Dprintk_safe.c41 if (this_cpu_read(printk_context) || in_nmi()) { in vprintk()
/linux/tools/testing/radix-tree/linux/
A Dpercpu.h7 #define this_cpu_read(var) var macro
/linux/arch/x86/xen/
A Dmulticalls.h51 local_irq_restore(this_cpu_read(xen_mc_irq_flags)); in xen_mc_issue()
A Dsuspend.c44 wrmsrl(MSR_IA32_SPEC_CTRL, this_cpu_read(spec_ctrl)); in xen_vcpu_notify_restore()
/linux/arch/x86/kernel/fpu/
A Dcore.c64 return this_cpu_read(in_kernel_fpu); in kernel_fpu_disabled()
340 WARN_ON_FPU(this_cpu_read(in_kernel_fpu)); in kernel_fpu_begin_mask()
362 WARN_ON_FPU(!this_cpu_read(in_kernel_fpu)); in kernel_fpu_end()
A Dcontext.h39 return fpu == this_cpu_read(fpu_fpregs_owner_ctx) && cpu == fpu->last_cpu; in fpregs_state_valid()
/linux/include/crypto/internal/
A Dsimd.h64 (may_use_simd() && !this_cpu_read(crypto_simd_disabled_for_test))
/linux/drivers/accessibility/speakup/
A Dfakekey.c86 return this_cpu_read(reporting_keystroke); in speakup_fake_key_pressed()

Completed in 36 milliseconds

1234