Home
last modified time | relevance | path

Searched refs:ldtr (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/arch/arm64/include/asm/
A Dasm-uaccess.h72 8888: ldtr \reg1, [\addr];
73 8889: ldtr \reg2, [\addr, #8];
/linux-6.3-rc2/arch/x86/kvm/
A Dsmm.h45 struct kvm_smm_seg_state_32 ldtr; member
87 struct kvm_smm_seg_state_64 ldtr; member
A Dsmm.c40 CHECK_SMRAM32_OFFSET(ldtr, 0xFF78); in check_smram_offsets()
68 CHECK_SMRAM64_OFFSET(ldtr, 0xFE70); in check_smram_offsets()
204 enter_smm_save_seg_32(vcpu, &smram->ldtr, &smram->ldtr_sel, VCPU_SREG_LDTR); in enter_smm_save_state_32()
264 enter_smm_save_seg_64(vcpu, &smram->ldtr, VCPU_SREG_LDTR); in enter_smm_save_state_64()
486 rsm_load_seg_32(vcpu, &smstate->ldtr, smstate->ldtr_sel, VCPU_SREG_LDTR); in rsm_load_state_32()
548 rsm_load_seg_64(vcpu, &smstate->ldtr, VCPU_SREG_LDTR); in rsm_load_state_64()
/linux-6.3-rc2/arch/arm64/lib/
A Dcopy_from_user.S40 user_ldst 9997f, ldtr, \reg, \ptr, \val
/linux-6.3-rc2/arch/x86/mm/
A Dfault.c553 u16 ldtr, tr; in show_fault_oops() local
573 store_ldt(ldtr); in show_fault_oops()
574 show_ldttss(&gdt, "LDTR", ldtr); in show_fault_oops()
/linux-6.3-rc2/arch/x86/include/asm/
A Dsvm.h298 struct vmcb_seg ldtr; member
350 struct vmcb_seg ldtr; member
/linux-6.3-rc2/tools/testing/selftests/kvm/include/x86_64/
A Dsvm.h203 struct vmcb_seg ldtr; member
/linux-6.3-rc2/arch/x86/kvm/svm/
A Dsvm.c1274 init_sys_seg(&save->ldtr, SEG_TYPE_LDT); in init_vmcb()
1632 case VCPU_SREG_LDTR: return &save01->ldtr; in svm_seg()
3301 save01->ldtr.selector, save01->ldtr.attrib, in dump_vmcb()
3302 save01->ldtr.limit, save01->ldtr.base); in dump_vmcb()
A Dnested.c938 to_vmcb->save.ldtr = from_vmcb->save.ldtr; in svm_copy_vmloadsave_state()
/linux-6.3-rc2/arch/x86/kernel/
A Dsev.c1057 vmsa->ldtr.limit = AP_INIT_LDTR_LIMIT; in wakeup_cpu_via_vmgexit()
1058 vmsa->ldtr.attrib = INIT_LDTR_ATTRIBS; in wakeup_cpu_via_vmgexit()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dvmx.c3747 struct kvm_segment ldtr; in ldtr_valid() local
3749 vmx_get_segment(vcpu, &ldtr, VCPU_SREG_LDTR); in ldtr_valid()
3751 if (ldtr.unusable) in ldtr_valid()
3753 if (ldtr.selector & SEGMENT_TI_MASK) /* TI = 1 */ in ldtr_valid()
3755 if (ldtr.type != 2) in ldtr_valid()
3757 if (!ldtr.present) in ldtr_valid()

Completed in 52 milliseconds