Home
last modified time | relevance | path

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

1234

/Linux-v4.19/arch/x86/mm/
Dtlb.c53 if (asid == this_cpu_read(cpu_tlbstate.loaded_mm_asid)) in clear_asid_other()
78 if (this_cpu_read(cpu_tlbstate.invalidate_other)) in choose_new_asid()
82 if (this_cpu_read(cpu_tlbstate.ctxs[asid].ctx_id) != in choose_new_asid()
87 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()
125 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in leave_mm()
139 WARN_ON(!this_cpu_read(cpu_tlbstate.is_lazy)); in leave_mm()
186 struct mm_struct *real_prev = this_cpu_read(cpu_tlbstate.loaded_mm); in switch_mm_irqs_off()
187 u16 prev_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid); in switch_mm_irqs_off()
239 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[prev_asid].ctx_id) != in switch_mm_irqs_off()
257 u64 last_ctx_id = this_cpu_read(cpu_tlbstate.last_ctx_id); in switch_mm_irqs_off()
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dtlbflush.h266 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in nmi_uaccess_okay()
308 cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_set_bits()
320 cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_clear_bits()
330 cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_toggle_bits_irqsoff()
337 return this_cpu_read(cpu_tlbstate.cr4); in cr4_read_shadow()
405 invalidate_user_asid(this_cpu_read(cpu_tlbstate.loaded_mm_asid)); in __native_flush_tlb()
436 cr4 = this_cpu_read(cpu_tlbstate.cr4); in __native_flush_tlb_global()
450 u32 loaded_mm_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid); in __native_flush_tlb_one_user()
Dirq_regs.h19 return this_cpu_read(irq_regs); in get_irq_regs()
Dmmu_context.h331 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast()
332 this_cpu_read(cpu_tlbstate.loaded_mm_asid)); in __get_current_cr3_fast()
Dswitch_to.h81 if (unlikely(this_cpu_read(cpu_tss_rw.x86_tss.ss1) == thread->sysenter_cs)) in refresh_sysenter_cs()
/Linux-v4.19/kernel/trace/
Dtrace_preemptirq.c23 if (this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_on()
36 if (!this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_off()
49 if (this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_on_caller()
62 if (!this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_off_caller()
/Linux-v4.19/arch/x86/xen/
Dirq.c32 vcpu = this_cpu_read(xen_vcpu); in xen_save_fl()
54 vcpu = this_cpu_read(xen_vcpu); in xen_restore_fl()
73 this_cpu_read(xen_vcpu)->evtchn_upcall_mask = 1; in xen_irq_disable()
89 vcpu = this_cpu_read(xen_vcpu); in xen_irq_enable()
Dmulticalls.h51 local_irq_restore(this_cpu_read(xen_mc_irq_flags)); in xen_mc_issue()
Dsuspend.c44 wrmsrl(MSR_IA32_SPEC_CTRL, this_cpu_read(spec_ctrl)); in xen_vcpu_notify_restore()
/Linux-v4.19/kernel/printk/
Dprintk_safe.c331 if (this_cpu_read(printk_context) & PRINTK_NMI_CONTEXT_MASK) in printk_nmi_direct_enter()
379 if ((this_cpu_read(printk_context) & PRINTK_NMI_DIRECT_CONTEXT_MASK) && in vprintk_func()
390 if (this_cpu_read(printk_context) & PRINTK_NMI_CONTEXT_MASK) in vprintk_func()
394 if (this_cpu_read(printk_context) & PRINTK_SAFE_CONTEXT_MASK) in vprintk_func()
/Linux-v4.19/kernel/
Dwatchdog_hld.c198 perf_event_enable(this_cpu_read(watchdog_ev)); in hardlockup_detector_perf_enable()
206 struct perf_event *event = this_cpu_read(watchdog_ev); in hardlockup_detector_perf_disable()
291 perf_event_release_kernel(this_cpu_read(watchdog_ev)); in hardlockup_detector_perf_init()
/Linux-v4.19/arch/x86/kernel/
Ddumpstack_32.c37 unsigned long *begin = (unsigned long *)this_cpu_read(hardirq_stack); in in_hardirq_stack()
62 unsigned long *begin = (unsigned long *)this_cpu_read(softirq_stack); in in_softirq_stack()
Dnmi.c495 if (this_cpu_read(nmi_state) != NMI_NOT_RUNNING) { in do_nmi()
526 if (unlikely(this_cpu_read(update_debug_stack))) { in do_nmi()
532 if (unlikely(this_cpu_read(nmi_cr2) != read_cr2())) in do_nmi()
533 write_cr2(this_cpu_read(nmi_cr2)); in do_nmi()
Dparavirt.c250 BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); in enter_lazy()
257 BUG_ON(this_cpu_read(paravirt_lazy_mode) != mode); in leave_lazy()
288 if (this_cpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { in paravirt_start_context_switch()
310 return this_cpu_read(paravirt_lazy_mode); in paravirt_get_lazy_mode()
Dkvmclock.c72 return &this_cpu_read(hv_clock_per_cpu)->pvti; in this_cpu_pvti()
77 return this_cpu_read(hv_clock_per_cpu); in this_cpu_hvclock()
Dtsc.c68 seq = this_cpu_read(cyc2ns.seq.sequence); in cyc2ns_read_begin()
71 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in cyc2ns_read_begin()
72 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in cyc2ns_read_begin()
73 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in cyc2ns_read_begin()
75 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.sequence))); in cyc2ns_read_begin()
Ddumpstack_64.c84 unsigned long *end = (unsigned long *)this_cpu_read(irq_stack_ptr); in in_irq_stack()
/Linux-v4.19/include/linux/
Dcontext_tracking.h55 prev_ctx = this_cpu_read(context_tracking.state); in exception_enter()
81 this_cpu_read(context_tracking.state) : CONTEXT_DISABLED; in ct_state()
/Linux-v4.19/arch/x86/kernel/fpu/
Dcore.c47 WARN_ON_FPU(this_cpu_read(in_kernel_fpu)); in kernel_fpu_disable()
53 WARN_ON_FPU(!this_cpu_read(in_kernel_fpu)); in kernel_fpu_enable()
59 return this_cpu_read(in_kernel_fpu); in kernel_fpu_disabled()
/Linux-v4.19/arch/arm64/include/asm/
Dsimd.h40 !this_cpu_read(kernel_neon_busy); in may_use_simd()
/Linux-v4.19/tools/testing/radix-tree/linux/
Dpercpu.h7 #define this_cpu_read(var) var macro
/Linux-v4.19/drivers/staging/speakup/
Dfakekey.c86 return this_cpu_read(reporting_keystroke); in speakup_fake_key_pressed()
/Linux-v4.19/arch/x86/lib/
Ddelay.c167 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay()
/Linux-v4.19/net/ipv4/netfilter/
Dnf_dup_ipv4.c58 if (this_cpu_read(nf_skb_duplicated)) in nf_dup_ipv4()
/Linux-v4.19/net/ipv6/netfilter/
Dnf_dup_ipv6.c53 if (this_cpu_read(nf_skb_duplicated)) in nf_dup_ipv6()

1234