Searched refs:percpu_read (Results 1 – 17 of 17) sorted by relevance
29 vcpu = percpu_read(xen_vcpu); in xen_save_fl()53 vcpu = percpu_read(xen_vcpu); in xen_restore_fl()75 percpu_read(xen_vcpu)->evtchn_upcall_mask = 1; in xen_irq_disable()89 vcpu = percpu_read(xen_vcpu); in xen_irq_enable()
44 local_irq_restore(percpu_read(xen_mc_irq_flags)); in xen_mc_issue()
1188 active_mm = percpu_read(cpu_tlbstate.active_mm); in drop_other_mm_ref()1195 if (percpu_read(xen_current_cr3) == __pa(mm->pgd)) in drop_other_mm_ref()1302 percpu_read(xen_vcpu)->arch.cr2 = cr2; in xen_write_cr2()1307 return percpu_read(xen_vcpu)->arch.cr2; in xen_read_cr2()1312 return percpu_read(xen_vcpu_info.arch.cr2); in xen_read_cr2_direct()1385 return percpu_read(xen_cr3); in xen_read_cr3()
765 unsigned long cr0 = percpu_read(xen_cr0_value); in xen_read_cr0()
64 if (percpu_read(cpu_tlbstate.state) == TLBSTATE_OK) in leave_mm()67 mm_cpumask(percpu_read(cpu_tlbstate.active_mm))); in leave_mm()155 if (f->flush_mm == percpu_read(cpu_tlbstate.active_mm)) { in smp_invalidate_interrupt()156 if (percpu_read(cpu_tlbstate.state) == TLBSTATE_OK) { in smp_invalidate_interrupt()325 if (percpu_read(cpu_tlbstate.state) == TLBSTATE_LAZY) in do_flush_tlb_all()
28 if (percpu_read(cpu_tlbstate.state) == TLBSTATE_OK) in enter_lazy_tlb()60 BUG_ON(percpu_read(cpu_tlbstate.active_mm) != next); in switch_mm()
191 #define raw_smp_processor_id() (percpu_read(cpu_number))195 #define raw_smp_processor_id() (percpu_read(cpu_number))
18 return percpu_read(irq_regs); in get_irq_regs()
40 #define local_softirq_pending() percpu_read(irq_stat.__softirq_pending)
49 #define __my_cpu_offset percpu_read(this_cpu_off)362 #define percpu_read(var) percpu_from_op("mov", var, "m" (var)) macro
234 BUG_ON(percpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); in enter_lazy()241 BUG_ON(percpu_read(paravirt_lazy_mode) != mode); in leave_lazy()260 if (percpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { in paravirt_start_context_switch()282 return percpu_read(paravirt_lazy_mode); in paravirt_get_lazy_mode()
472 prev->usersp = percpu_read(old_rsp); in __switch_to()
93 if (percpu_read(tee_active)) in tee_tg4()173 if (percpu_read(tee_active)) in tee_tg6()
180 #ifndef percpu_read181 # define percpu_read(var) \ macro
1371 this_nmi = percpu_read(irq_stat.__nmi_count); in perf_event_nmi_handler()1391 this_nmi = percpu_read(irq_stat.__nmi_count); in perf_event_nmi_handler()
1146 if (cpu != 0 && percpu_read(numa_node) == 0 && in cpu_init()
4652 return percpu_read(current_vcpu) != NULL; in kvm_is_in_guest()4659 if (percpu_read(current_vcpu)) in kvm_is_user_mode()4660 user_mode = kvm_x86_ops->get_cpl(percpu_read(current_vcpu)); in kvm_is_user_mode()4669 if (percpu_read(current_vcpu)) in kvm_get_guest_ip()4670 ip = kvm_rip_read(percpu_read(current_vcpu)); in kvm_get_guest_ip()