Lines Matching refs:kvm_load_segment_descriptor
3463 int kvm_load_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector, in kvm_load_segment_descriptor() function
3524 if (kvm_load_segment_descriptor(vcpu, tss->ldt_selector, 0, VCPU_SREG_LDTR)) in load_state_from_tss32()
3527 if (kvm_load_segment_descriptor(vcpu, tss->es, 1, VCPU_SREG_ES)) in load_state_from_tss32()
3530 if (kvm_load_segment_descriptor(vcpu, tss->cs, 9, VCPU_SREG_CS)) in load_state_from_tss32()
3533 if (kvm_load_segment_descriptor(vcpu, tss->ss, 1, VCPU_SREG_SS)) in load_state_from_tss32()
3536 if (kvm_load_segment_descriptor(vcpu, tss->ds, 1, VCPU_SREG_DS)) in load_state_from_tss32()
3539 if (kvm_load_segment_descriptor(vcpu, tss->fs, 1, VCPU_SREG_FS)) in load_state_from_tss32()
3542 if (kvm_load_segment_descriptor(vcpu, tss->gs, 1, VCPU_SREG_GS)) in load_state_from_tss32()
3583 if (kvm_load_segment_descriptor(vcpu, tss->ldt, 0, VCPU_SREG_LDTR)) in load_state_from_tss16()
3586 if (kvm_load_segment_descriptor(vcpu, tss->es, 1, VCPU_SREG_ES)) in load_state_from_tss16()
3589 if (kvm_load_segment_descriptor(vcpu, tss->cs, 9, VCPU_SREG_CS)) in load_state_from_tss16()
3592 if (kvm_load_segment_descriptor(vcpu, tss->ss, 1, VCPU_SREG_SS)) in load_state_from_tss16()
3595 if (kvm_load_segment_descriptor(vcpu, tss->ds, 1, VCPU_SREG_DS)) in load_state_from_tss16()