Home
last modified time | relevance | path

Searched refs:kvm_segment (Results 1 – 12 of 12) sorted by relevance

/linux/arch/x86/kvm/
H A Dsmm.c141 static u32 enter_smm_get_segment_flags(struct kvm_segment *seg) in enter_smm_get_segment_flags()
159 struct kvm_segment seg; in enter_smm_save_seg_32()
173 struct kvm_segment seg; in enter_smm_save_seg_64()
276 struct kvm_segment cs, ds; in enter_smm()
368 static void rsm_set_desc_flags(struct kvm_segment *desc, u32 flags) in rsm_set_desc_flags()
387 struct kvm_segment desc; in rsm_load_seg_32()
403 struct kvm_segment desc; in rsm_load_seg_64()
590 struct kvm_segment cs_desc; in emulator_leave_smm()
H A Dx86.c7553 struct kvm_segment *var, int seg) in kvm_set_segment()
7559 struct kvm_segment *var, int seg) in kvm_get_segment()
8389 struct kvm_segment var; in emulator_get_segment()
8426 struct kvm_segment var; in emulator_set_segment()
12542 struct kvm_segment cs; in kvm_vcpu_deliver_sipi_vector()
/linux/arch/x86/include/uapi/asm/
H A Dkvm.h127 struct kvm_segment { struct
147 struct kvm_segment cs, ds, es, fs, gs, ss; argument
148 struct kvm_segment tr, ldt;
158 struct kvm_segment cs, ds, es, fs, gs, ss;
159 struct kvm_segment tr, ldt;
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h127 struct kvm_segment { struct
147 struct kvm_segment cs, ds, es, fs, gs, ss; argument
148 struct kvm_segment tr, ldt;
158 struct kvm_segment cs, ds, es, fs, gs, ss;
159 struct kvm_segment tr, ldt;
/linux/arch/x86/kvm/vmx/
H A Dx86_ops.h63 void vmx_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
64 void vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
H A Dvmx.h305 struct kvm_segment segs[8];
398 void vmx_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
399 void __vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
H A Dvmx.c434 static u32 vmx_segment_access_rights(struct kvm_segment *var);
3011 struct kvm_segment *save) in fix_pmode_seg()
3067 static void fix_rmode_seg(int seg, struct kvm_segment *save) in fix_rmode_seg()
3070 struct kvm_segment var = *save; in fix_rmode_seg()
3526 void vmx_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg) in vmx_get_segment()
3564 struct kvm_segment s; in vmx_get_segment_base()
3585 static u32 vmx_segment_access_rights(struct kvm_segment *var) in vmx_segment_access_rights()
3602 void __vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg) in __vmx_set_segment()
3639 void vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg) in vmx_set_segment()
3680 struct kvm_segment var; in rmode_segment_valid()
[all …]
H A Dsgx.c27 struct kvm_segment s; in sgx_get_encls_gva()
H A Dnested.c4657 struct kvm_segment seg; in load_vmcs12_host_state()
4720 seg = (struct kvm_segment) { in load_vmcs12_host_state()
4734 seg = (struct kvm_segment) { in load_vmcs12_host_state()
4755 seg = (struct kvm_segment) { in load_vmcs12_host_state()
5104 struct kvm_segment s; in get_vmx_mem_address()
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c51 static void segment_dump(FILE *stream, struct kvm_segment *segment, in segment_dump()
413 static void kvm_seg_set_unusable(struct kvm_segment *segp) in kvm_seg_set_unusable()
419 static void kvm_seg_fill_gdt_64bit(struct kvm_vm *vm, struct kvm_segment *segp) in kvm_seg_fill_gdt_64bit()
441 static void kvm_seg_set_kernel_code_64bit(struct kvm_segment *segp) in kvm_seg_set_kernel_code_64bit()
455 static void kvm_seg_set_kernel_data_64bit(struct kvm_segment *segp) in kvm_seg_set_kernel_data_64bit()
483 static void kvm_seg_set_tss_64bit(vm_vaddr_t base, struct kvm_segment *segp) in kvm_seg_set_tss_64bit()
574 struct kvm_segment seg; in vm_init_descriptor_tables()
/linux/arch/x86/include/asm/
H A Dkvm_host.h1657 struct kvm_segment *var, int seg);
1660 struct kvm_segment *var, int seg);
2085 void kvm_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
2086 void kvm_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
/linux/arch/x86/kvm/svm/
H A Dsvm.c1714 struct kvm_segment *var, int seg) in svm_get_segment()
1791 struct kvm_segment cs; in svm_get_cs_db_l_bits()
1941 struct kvm_segment *var, int seg) in svm_set_segment()