Lines Matching refs:vmx_capability
71 struct vmx_capability { struct
75 extern struct vmx_capability vmx_capability __ro_after_init; argument
296 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
301 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
306 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
311 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
316 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
321 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
335 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
340 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
345 return vmx_capability.ept & VMX_EPT_EXTENT_GLOBAL_BIT; in cpu_has_vmx_invept_global()
350 return vmx_capability.vpid & VMX_VPID_INVVPID_BIT; in cpu_has_vmx_invvpid()
355 return vmx_capability.vpid & VMX_VPID_EXTENT_INDIVIDUAL_ADDR_BIT; in cpu_has_vmx_invvpid_individual_addr()
360 return vmx_capability.vpid & VMX_VPID_EXTENT_SINGLE_CONTEXT_BIT; in cpu_has_vmx_invvpid_single()
365 return vmx_capability.vpid & VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT; in cpu_has_vmx_invvpid_global()