Lines Matching refs:thread
3679 /* set the cpu timer - may only be called from the VCPU thread itself */
4662 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr));
4663 hva += current->thread.gmap_addr & ~PAGE_MASK;
4667 return kvm_setup_async_pf(vcpu, current->thread.gmap_addr, hva, &arch);
4788 current->thread.gmap_addr;
4791 } else if (current->thread.gmap_pfault) {
4793 current->thread.gmap_pfault = 0;
4797 return kvm_arch_fault_in_page(vcpu, current->thread.gmap_addr, 1);
4924 if (current->thread.gs_cb) {
4925 vcpu->arch.host_gscb = current->thread.gs_cb;
4929 current->thread.gs_cb = (struct gs_cb *)
4931 restore_gs_cb(current->thread.gs_cb);
4957 vcpu->arch.host_fpregs.fpc = current->thread.fpu.fpc;
4958 vcpu->arch.host_fpregs.regs = current->thread.fpu.regs;
4960 current->thread.fpu.regs = vcpu->run->s.regs.vrs;
4962 current->thread.fpu.regs = vcpu->run->s.regs.fprs;
4963 current->thread.fpu.fpc = vcpu->run->s.regs.fpc;
4964 if (test_fp_ctl(current->thread.fpu.fpc))
4966 current->thread.fpu.fpc = 0;
5002 save_gs_cb(current->thread.gs_cb);
5003 current->thread.gs_cb = vcpu->arch.host_gscb;
5030 vcpu->run->s.regs.fpc = current->thread.fpu.fpc;
5032 current->thread.fpu.fpc = vcpu->arch.host_fpregs.fpc;
5033 current->thread.fpu.regs = vcpu->arch.host_fpregs.regs;
5180 vcpu->run->s.regs.fpc = current->thread.fpu.fpc;