vmcs               70 arch/x86/kvm/vmx.c 	struct vmcs          *vmcs;
vmcs              321 arch/x86/kvm/vmx.c 	u64 phys_addr = __pa(vmcs);
vmcs              329 arch/x86/kvm/vmx.c 		       vmcs, phys_addr);
vmcs              338 arch/x86/kvm/vmx.c 		vmcs_clear(vmx->vmcs);
vmcs              339 arch/x86/kvm/vmx.c 	if (per_cpu(current_vmcs, cpu) == vmx->vmcs)
vmcs              623 arch/x86/kvm/vmx.c 	u64 phys_addr = __pa(vmx->vmcs);
vmcs              636 arch/x86/kvm/vmx.c 	if (per_cpu(current_vmcs, cpu) != vmx->vmcs) {
vmcs              639 arch/x86/kvm/vmx.c 		per_cpu(current_vmcs, cpu) = vmx->vmcs;
vmcs              645 arch/x86/kvm/vmx.c 			       vmx->vmcs, phys_addr);
vmcs             1205 arch/x86/kvm/vmx.c static struct vmcs *alloc_vmcs_cpu(int cpu)
vmcs             1209 arch/x86/kvm/vmx.c 	struct vmcs *vmcs;
vmcs             1214 arch/x86/kvm/vmx.c 	vmcs = page_address(pages);
vmcs             1215 arch/x86/kvm/vmx.c 	memset(vmcs, 0, vmcs_config.size);
vmcs             1216 arch/x86/kvm/vmx.c 	vmcs->revision_id = vmcs_config.revision_id; /* vmcs revision id */
vmcs             1217 arch/x86/kvm/vmx.c 	return vmcs;
vmcs             1220 arch/x86/kvm/vmx.c static struct vmcs *alloc_vmcs(void)
vmcs             1227 arch/x86/kvm/vmx.c 	free_pages((unsigned long)vmcs, vmcs_config.order);
vmcs             1243 arch/x86/kvm/vmx.c 		struct vmcs *vmcs;
vmcs             1245 arch/x86/kvm/vmx.c 		vmcs = alloc_vmcs_cpu(cpu);
vmcs             1246 arch/x86/kvm/vmx.c 		if (!vmcs) {
vmcs             1251 arch/x86/kvm/vmx.c 		per_cpu(vmxarea, cpu) = vmcs;
vmcs             3089 arch/x86/kvm/vmx.c 	if (vmx->vmcs) {
vmcs             3091 arch/x86/kvm/vmx.c 		free_vmcs(vmx->vmcs);
vmcs             3092 arch/x86/kvm/vmx.c 		vmx->vmcs = NULL;
vmcs             3136 arch/x86/kvm/vmx.c 	vmx->vmcs = alloc_vmcs();
vmcs             3137 arch/x86/kvm/vmx.c 	if (!vmx->vmcs)
vmcs             3140 arch/x86/kvm/vmx.c 	vmcs_clear(vmx->vmcs);
vmcs             3160 arch/x86/kvm/vmx.c 	free_vmcs(vmx->vmcs);