Home
last modified time | relevance | path

Searched refs:percpu_read (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/arch/x86/xen/
Dirq.c29 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()
Dmulticalls.h44 local_irq_restore(percpu_read(xen_mc_irq_flags)); in xen_mc_issue()
Dmmu.c1188 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()
Denlighten.c765 unsigned long cr0 = percpu_read(xen_cr0_value); in xen_read_cr0()
/linux-2.6.39/arch/x86/mm/
Dtlb.c64 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()
/linux-2.6.39/arch/x86/include/asm/
Dmmu_context.h28 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()
Dsmp.h191 #define raw_smp_processor_id() (percpu_read(cpu_number))
195 #define raw_smp_processor_id() (percpu_read(cpu_number))
Dirq_regs.h18 return percpu_read(irq_regs); in get_irq_regs()
Dhardirq.h40 #define local_softirq_pending() percpu_read(irq_stat.__softirq_pending)
Dpercpu.h49 #define __my_cpu_offset percpu_read(this_cpu_off)
362 #define percpu_read(var) percpu_from_op("mov", var, "m" (var)) macro
/linux-2.6.39/arch/x86/kernel/
Dparavirt.c234 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()
Dprocess_64.c472 prev->usersp = percpu_read(old_rsp); in __switch_to()
/linux-2.6.39/net/netfilter/
Dxt_TEE.c93 if (percpu_read(tee_active)) in tee_tg4()
173 if (percpu_read(tee_active)) in tee_tg6()
/linux-2.6.39/include/linux/
Dpercpu.h180 #ifndef percpu_read
181 # define percpu_read(var) \ macro
/linux-2.6.39/arch/x86/kernel/cpu/
Dperf_event.c1371 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()
Dcommon.c1146 if (cpu != 0 && percpu_read(numa_node) == 0 && in cpu_init()
/linux-2.6.39/arch/x86/kvm/
Dx86.c4652 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()