Home
last modified time | relevance | path

Searched refs:loaded_vmcs (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.h158 struct loaded_vmcs vmcs02;
242 struct loaded_vmcs vmcs01;
243 struct loaded_vmcs *loaded_vmcs; member
336 struct loaded_vmcs *buddy);
384 if (vmx->loaded_vmcs->controls_shadow.lname != val) { \
386 vmx->loaded_vmcs->controls_shadow.lname = val; \
391 return vmx->loaded_vmcs->controls_shadow.lname; \
480 int alloc_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
481 void free_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
482 void loaded_vmcs_clear(struct loaded_vmcs *loaded_vmcs);
Dvmx.c627 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_direct_tlbflush()
773 struct loaded_vmcs *v; in crash_vmclear_local_loaded_vmcss()
783 struct loaded_vmcs *loaded_vmcs = arg; in __loaded_vmcs_clear() local
786 if (loaded_vmcs->cpu != cpu) in __loaded_vmcs_clear()
788 if (per_cpu(current_vmcs, cpu) == loaded_vmcs->vmcs) in __loaded_vmcs_clear()
791 vmcs_clear(loaded_vmcs->vmcs); in __loaded_vmcs_clear()
792 if (loaded_vmcs->shadow_vmcs && loaded_vmcs->launched) in __loaded_vmcs_clear()
793 vmcs_clear(loaded_vmcs->shadow_vmcs); in __loaded_vmcs_clear()
795 list_del(&loaded_vmcs->loaded_vmcss_on_cpu_link); in __loaded_vmcs_clear()
806 loaded_vmcs->cpu = -1; in __loaded_vmcs_clear()
[all …]
Dnested.c238 struct loaded_vmcs *prev) in vmx_sync_vmcs_host_state()
246 dest = &vmx->loaded_vmcs->host_state; in vmx_sync_vmcs_host_state()
256 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
259 struct loaded_vmcs *prev; in vmx_switch_vmcs()
262 if (WARN_ON_ONCE(vmx->loaded_vmcs == vmcs)) in vmx_switch_vmcs()
266 prev = vmx->loaded_vmcs; in vmx_switch_vmcs()
267 vmx->loaded_vmcs = vmcs; in vmx_switch_vmcs()
283 if (WARN_ON_ONCE(vmx->loaded_vmcs != &vmx->vmcs01)) in free_nested()
1573 vmcs_load(vmx->loaded_vmcs->vmcs); in copy_shadow_to_vmcs12()
1609 vmcs_load(vmx->loaded_vmcs->vmcs); in copy_vmcs12_to_shadow()
[all …]
Dvmcs.h58 struct loaded_vmcs { struct