Lines Matching refs:thread
3022 /* set the cpu timer - may only be called from the VCPU thread itself */
3999 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr));
4000 hva += current->thread.gmap_addr & ~PAGE_MASK;
4004 return kvm_setup_async_pf(vcpu, current->thread.gmap_addr, hva, &arch);
4125 current->thread.gmap_addr;
4128 } else if (current->thread.gmap_pfault) {
4130 current->thread.gmap_pfault = 0;
4133 return kvm_arch_fault_in_page(vcpu, current->thread.gmap_addr, 1);
4257 if (current->thread.gs_cb) {
4258 vcpu->arch.host_gscb = current->thread.gs_cb;
4262 current->thread.gs_cb = (struct gs_cb *)
4264 restore_gs_cb(current->thread.gs_cb);
4290 vcpu->arch.host_fpregs.fpc = current->thread.fpu.fpc;
4291 vcpu->arch.host_fpregs.regs = current->thread.fpu.regs;
4293 current->thread.fpu.regs = vcpu->run->s.regs.vrs;
4295 current->thread.fpu.regs = vcpu->run->s.regs.fprs;
4296 current->thread.fpu.fpc = vcpu->run->s.regs.fpc;
4297 if (test_fp_ctl(current->thread.fpu.fpc))
4299 current->thread.fpu.fpc = 0;
4335 save_gs_cb(current->thread.gs_cb);
4336 current->thread.gs_cb = vcpu->arch.host_gscb;
4363 vcpu->run->s.regs.fpc = current->thread.fpu.fpc;
4365 current->thread.fpu.fpc = vcpu->arch.host_fpregs.fpc;
4366 current->thread.fpu.regs = vcpu->arch.host_fpregs.regs;
4504 vcpu->run->s.regs.fpc = current->thread.fpu.fpc;