Home
last modified time | relevance | path

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

/linux-4.1.27/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)
/linux-4.1.27/arch/x86/include/asm/
Dsigcontext.h37 unsigned long cr2; member
66 unsigned long cr2; member
Dsuspend_32.h15 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h24 unsigned long cr0, cr2, cr3, cr4, cr8; member
Dsvm.h173 u64 cr2; member
Dkvm_host.h358 unsigned long cr2; member
930 int x86_emulate_instruction(struct kvm_vcpu *vcpu, unsigned long cr2,
Dprocessor.h518 unsigned long cr2; member
/linux-4.1.27/arch/powerpc/kernel/
Dcpu_setup_6xx.S193 cmpwi cr2,r10,11
195 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq
337 cmplwi cr2,r3,0x800c /* 7410 */
344 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
408 cmplwi cr2,r3,0x800c /* 7410 */
415 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
434 bne cr2,1f
Didle_power7.S319 cmpwi cr2,r15,0
368 bne cr2,clear_lock
Dexceptions-64s.S124 cmpwi cr2,r0,PNV_THREAD_NAP
125 bgt cr2,8f /* Either sleep or Winkle */
/linux-4.1.27/arch/x86/include/uapi/asm/
Dsigcontext.h127 unsigned long cr2; member
186 __u64 cr2; member
Dsigcontext32.h74 unsigned int cr2; member
Dkvm.h148 __u64 cr0, cr2, cr3, cr4, cr8; member
/linux-4.1.27/arch/x86/kernel/
Dprocess_32.c71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
102 cr2 = read_cr2(); in __show_regs()
106 cr0, cr2, cr3, cr4); in __show_regs()
Dprocess_64.c61 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
95 cr2 = read_cr2(); in __show_regs()
103 printk(KERN_DEFAULT "CR2: %016lx CR3: %016lx CR4: %016lx\n", cr2, cr3, in __show_regs()
Dasm-offsets_64.c75 ENTRY(cr2); in main()
Dvsyscall_64.c100 thread->cr2 = ptr; in write_ok_or_segv()
Dsignal.c172 put_user_ex(current->thread.cr2, &sc->cr2); in setup_sigcontext()
Dhead_64.S29 #define GET_CR2_INTO(reg) movq %cr2, reg
Dhead_32.S595 movl %cr2,%eax
/linux-4.1.27/include/linux/
Dlguest.h35 unsigned long cr2; member
/linux-4.1.27/arch/powerpc/platforms/cell/
Dcbe_thermal.c315 u64 cr2; in init_default_values() local
348 cr2 = 0x04; in init_default_values()
370 out_be64(&pmd_regs->tm_cr2, cr2); in init_default_values()
/linux-4.1.27/arch/powerpc/include/asm/
Dexception-64e.h183 cmpdi cr2,r8,-1; \
184 beq cr2,61f; \
Dppc_asm.h553 #define cr2 2 macro
/linux-4.1.27/arch/x86/power/
Dcpu.c107 ctxt->cr2 = read_cr2(); in __save_processor_state()
184 write_cr2(ctxt->cr2); in __restore_processor_state()
/linux-4.1.27/arch/powerpc/boot/
Dppc_asm.h19 #define cr2 2 macro
/linux-4.1.27/arch/arm/mach-shmobile/
Dboard-kzm9g.c140 void __iomem *cr2; member
158 return !((1 << 7) & __raw_readw(priv->cr2)); in usbhs_get_vbus()
166 __raw_writew(0x8a0a, priv->cr2); in usbhs_phy_reset()
243 .cr2 = IOMEM(0xe605810c), /* USBCR2 */
/linux-4.1.27/drivers/lguest/
Dlg.h45 u32 cr2; member
195 bool demand_page(struct lg_cpu *cpu, unsigned long cr2, int errcode,
/linux-4.1.27/arch/x86/include/asm/xen/
Dinterface_32.h75 unsigned long cr2; member
Dinterface_64.h136 unsigned long cr2; member
/linux-4.1.27/arch/sh/include/cpu-sh5/cpu/
Dregisters.h27 #define PSSR cr2
/linux-4.1.27/arch/x86/mm/
Dfault.c643 tsk->thread.cr2 = address; in pgtable_bad()
680 tsk->thread.cr2 = address; in no_context()
720 tsk->thread.cr2 = address; in no_context()
799 tsk->thread.cr2 = address; in __bad_area_nosemaphore()
866 tsk->thread.cr2 = address; in do_sigbus()
/linux-4.1.27/drivers/tty/serial/
Dfsl_lpuart.c911 unsigned char val, cr2; in lpuart_setup_watermark() local
914 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_setup_watermark()
915 cr2_saved = cr2; in lpuart_setup_watermark()
916 cr2 &= ~(UARTCR2_TIE | UARTCR2_TCIE | UARTCR2_TE | in lpuart_setup_watermark()
918 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_setup_watermark()
1558 unsigned char old_cr2, cr2; in lpuart_console_write() local
1561 cr2 = old_cr2 = readb(sport->port.membase + UARTCR2); in lpuart_console_write()
1562 cr2 |= (UARTCR2_TE | UARTCR2_RE); in lpuart_console_write()
1563 cr2 &= ~(UARTCR2_TIE | UARTCR2_TCIE | UARTCR2_RIE); in lpuart_console_write()
1564 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_console_write()
/linux-4.1.27/Documentation/kdump/
Dgdbmacros.txt171 printf "Trapno %ld, cr2 0x%lx, error_code %ld\n", $pid_task.thread.trap_no, \
172 $pid_task.thread.cr2, $pid_task.thread.error_code
/linux-4.1.27/arch/x86/kernel/acpi/
Dwakeup_64.S89 movq %rbx, %cr2
/linux-4.1.27/arch/s390/kernel/
Dhead64.S49 .quad .Lduct # cr2: dispatchable unit control table
/linux-4.1.27/arch/x86/ia32/
Dia32_signal.c298 put_user_ex(current->thread.cr2, &sc->cr2); in ia32_setup_sigcontext()
/linux-4.1.27/arch/score/include/asm/
Dasmmacro.h72 mfcr r31, cr2
/linux-4.1.27/arch/score/kernel/
Dentry.S95 mfcr r31, cr2
106 mfcr r4, cr2
/linux-4.1.27/arch/x86/um/
Dsignal.c282 sc.cr2 = fi->cr2; in copy_sc_to_user()
/linux-4.1.27/arch/x86/kvm/
Dx86.c419 vcpu->arch.cr2 = fault->address; in kvm_inject_page_fault()
4805 value = vcpu->arch.cr2; in emulator_get_cr()
4834 vcpu->arch.cr2 = val; in emulator_set_cr()
5162 static bool reexecute_instruction(struct kvm_vcpu *vcpu, gva_t cr2, in reexecute_instruction() argument
5166 gpa_t gpa = cr2; in reexecute_instruction()
5177 gpa = kvm_mmu_gva_to_gpa_write(vcpu, cr2, NULL); in reexecute_instruction()
5234 unsigned long cr2, int emulation_type) in retry_instruction() argument
5237 unsigned long last_retry_eip, last_retry_addr, gpa = cr2; in retry_instruction()
5263 if (ctxt->eip == last_retry_eip && last_retry_addr == cr2) in retry_instruction()
5267 vcpu->arch.last_retry_addr = cr2; in retry_instruction()
[all …]
Dsvm.c2048 svm->vmcb->control.exit_info_2 = svm->vcpu.arch.cr2; in nested_svm_check_exception()
2343 nested_vmcb->save.cr2 = vmcb->save.cr2; in nested_svm_vmexit()
2572 svm->vmcb->save.cr2 = svm->vcpu.arch.cr2 = nested_vmcb->save.cr2; in nested_svm_vmrun()
2987 val = svm->vcpu.arch.cr2; in cr_interception()
3473 "cr0:", save->cr0, "cr2:", save->cr2); in dump_vmcb()
3888 svm->vmcb->save.cr2 = vcpu->arch.cr2; in svm_vcpu_run()
3980 vcpu->arch.cr2 = svm->vmcb->save.cr2; in svm_vcpu_run()
Dmmu.c4277 int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t cr2, u32 error_code, in kvm_mmu_page_fault() argument
4283 r = vcpu->arch.mmu.page_fault(vcpu, cr2, error_code, false); in kvm_mmu_page_fault()
4292 if (is_mmio_page_fault(vcpu, cr2)) in kvm_mmu_page_fault()
4295 er = x86_emulate_instruction(vcpu, cr2, emulation_type, insn, insn_len); in kvm_mmu_page_fault()
Dvmx.c5082 unsigned long cr2, rip, dr6; in handle_exception() local
5134 cr2 = vmcs_readl(EXIT_QUALIFICATION); in handle_exception()
5135 trace_kvm_page_fault(cr2, error_code); in handle_exception()
5138 kvm_mmu_unprotect_page_virt(vcpu, cr2); in handle_exception()
5139 return kvm_mmu_page_fault(vcpu, cr2, error_code, NULL, 0); in handle_exception()
8307 [cr2]"i"(offsetof(struct vcpu_vmx, vcpu.arch.cr2)), in vmx_vcpu_run()
/linux-4.1.27/arch/x86/xen/
Dmmu.c1196 static void xen_write_cr2(unsigned long cr2) in xen_write_cr2() argument
1198 this_cpu_read(xen_vcpu)->arch.cr2 = cr2; in xen_write_cr2()
1203 return this_cpu_read(xen_vcpu)->arch.cr2; in xen_read_cr2()
1208 return this_cpu_read(xen_vcpu_info.arch.cr2); in xen_read_cr2_direct()
/linux-4.1.27/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c76 u32 cr2; /* PCI + 0x3C */ member
/linux-4.1.27/drivers/lguest/x86/
Dcore.c420 &cpu->lg->lguest_data->cr2)) in lguest_arch_handle_trap()
/linux-4.1.27/arch/powerpc/mm/
Dtlb_low_64e.S302 crmove cr2*4+2,cr0*4+2 /* cr2.eq != 0 if kernel address */
382 beq cr2,4f
/linux-4.1.27/Documentation/virtual/kvm/
Dmsr.txt187 During delivery of type 1 APF cr2 contains a token that will
190 cr2 set to the token associated with the page. There is special
Dapi.txt344 __u64 cr0, cr2, cr3, cr4, cr8;
/linux-4.1.27/arch/x86/lguest/
Dboot.c541 return lguest_data.cr2; in lguest_read_cr2()
/linux-4.1.27/fs/nfsd/
Dnfs4state.c1918 same_creds(struct svc_cred *cr1, struct svc_cred *cr2) in same_creds() argument
1920 if ((is_gss_cred(cr1) != is_gss_cred(cr2)) in same_creds()
1921 || (!uid_eq(cr1->cr_uid, cr2->cr_uid)) in same_creds()
1922 || (!gid_eq(cr1->cr_gid, cr2->cr_gid)) in same_creds()
1923 || !groups_equal(cr1->cr_group_info, cr2->cr_group_info)) in same_creds()
1925 if (cr1->cr_principal == cr2->cr_principal) in same_creds()
1927 if (!cr1->cr_principal || !cr2->cr_principal) in same_creds()
1929 return 0 == strcmp(cr1->cr_principal, cr2->cr_principal); in same_creds()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S149 cmpwi cr2, r12, BOOK3S_INTERRUPT_HMI
150 beq cr2, 14f /* HMI check */
/linux-4.1.27/fs/btrfs/
Dsend.c1180 struct clone_root *cr2 = (struct clone_root *)e2; in __clone_root_cmp_sort() local
1182 if (cr1->root->objectid < cr2->root->objectid) in __clone_root_cmp_sort()
1184 if (cr1->root->objectid > cr2->root->objectid) in __clone_root_cmp_sort()
/linux-4.1.27/fs/cifs/
Dcifspdu.h2717 char cr2; /* \n */ member
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3204 174 segv(sc->cr2, sc->err & 2);
3223 cr2 = 1280}
3569 174 segv(sc->cr2, sc->err & 2);
3576 cr2 = 1342179328}