Home
last modified time | relevance | path

Searched refs:cr2 (Results 1 – 25 of 44) sorted by relevance

12

/arch/x86/um/shared/sysdep/
Dmcontext.h15 (fi).cr2 = (mc)->cr2; \
24 (fi).cr2 = (mc)->gregs[REG_CR2]; \
Dfaultinfo_32.h20 unsigned long cr2; /* in ptrace_faultinfo called addr */ member
25 #define FAULT_ADDRESS(fi) ((fi).cr2)
Dfaultinfo_64.h20 unsigned long cr2; /* in ptrace_faultinfo called addr */ member
25 #define FAULT_ADDRESS(fi) ((fi).cr2)
/arch/x86/kernel/
Ddoublefault_32.c25 unsigned long cr2; in doublefault_shim() local
30 cr2 = native_read_cr2(); in doublefault_shim()
72 exc_double_fault(&regs, 0, cr2); in doublefault_shim()
Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
84 cr2 = read_cr2(); in __show_regs()
88 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
Dasm-offsets_64.c52 ENTRY(cr2); in main()
Dsev-es.c235 ctxt->fi.cr2 = ctxt->regs->ip; in vc_decode_insn()
246 ctxt->fi.cr2 = ctxt->regs->ip; in vc_decode_insn()
333 ctxt->fi.cr2 = (unsigned long)dst; in vc_write_mem()
411 ctxt->fi.cr2 = (unsigned long)src; in vc_read_mem()
430 ctxt->fi.cr2 = vaddr; in vc_slow_virt_to_phys()
786 native_write_cr2(ctxt->fi.cr2); in vc_early_forward_exception()
1295 write_cr2(ctxt->fi.cr2); in vc_forward_exception()
Dasm-offsets.c76 OFFSET(XEN_vcpu_info_arch_cr2, vcpu_info, arch.cr2); in common()
Dprocess_64.c68 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
112 cr2 = read_cr2(); in __show_regs()
121 log_lvl, cr2, cr3, cr4); in __show_regs()
Dumip.c305 tsk->thread.cr2 = (unsigned long)addr; in force_sig_info_umip_fault()
/arch/x86/include/uapi/asm/
Dsigcontext.h232 __u32 cr2; member
264 __u64 cr2; member
322 __u32 cr2; member
379 __u64 cr2; member
/arch/powerpc/kernel/
Dcpu_setup_6xx.S190 cmpwi cr2,r10,11
192 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq
335 cmplwi cr2,r3,0x800c /* 7410 */
342 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
406 cmplwi cr2,r3,0x800c /* 7410 */
413 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
432 bne cr2,1f
/arch/x86/include/asm/
Dsuspend_32.h22 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h41 unsigned long cr0, cr2, cr3, cr4; member
Dsev-es.h55 unsigned long cr2; member
/arch/s390/kernel/
Dnmi.c192 union ctlreg2 cr2; in s390_check_registers() local
263 cr2.val = S390_lowcore.cregs_save_area[2]; in s390_check_registers()
264 if (cr2.gse) { in s390_check_registers()
/arch/powerpc/boot/
Dppc_asm.h15 #define cr2 2 macro
/arch/powerpc/platforms/cell/
Dcbe_thermal.c303 u64 cr2; in init_default_values() local
336 cr2 = 0x04; in init_default_values()
358 out_be64(&pmd_regs->tm_cr2, cr2); in init_default_values()
/arch/x86/include/asm/xen/
Dinterface_32.h76 unsigned long cr2; member
Dinterface_64.h137 unsigned long cr2; member
/arch/x86/power/
Dcpu.c125 ctxt->cr2 = read_cr2(); in __save_processor_state()
215 write_cr2(ctxt->cr2); in __restore_processor_state()
/arch/x86/kernel/acpi/
Dwakeup_64.S94 movq %rbx, %cr2
/arch/x86/ia32/
Dia32_signal.c187 unsafe_put_user(current->thread.cr2, &sc->cr2, Efault); in __unsafe_setup_sigcontext32()
/arch/x86/kvm/svm/
Dnested.c419 svm->vmcb->save.cr2 = svm->vcpu.arch.cr2 = vmcb12->save.cr2; in nested_prepare_vmcb_save()
652 vmcb12->save.cr2 = vmcb->save.cr2; in nested_svm_vmexit()
952 svm->vmcb->control.exit_info_2 = svm->vcpu.arch.cr2; in nested_svm_inject_exception_vmexit()
/arch/x86/entry/vsyscall/
Dvsyscall_64.c110 thread->cr2 = ptr; in write_ok_or_segv()

12