Lines Matching refs:vpid
82 module_param_named(vpid, enable_vpid, bool, 0444);
469 noinline void invvpid_error(unsigned long ext, u16 vpid, gva_t gva)
471 vmx_insn_failed("invvpid failed: ext=0x%lx vpid=%u gva=0x%lx\n",
472 ext, vpid, gva);
2633 &vmx_cap->ept, &vmx_cap->vpid);
2646 vmx_cap->vpid) {
2653 vmx_cap->vpid = 0;
3186 vpid_sync_vcpu_single(vmx->vpid);
3196 return to_vmx(vcpu)->vpid;
3218 * vpid_sync_vcpu_addr() is a nop if vpid==0, see the comment in
3227 * vpid_sync_context() is a nop if vpid==0, e.g. if enable_vpid==0 or a
3228 * vpid couldn't be allocated for this vCPU. VM-Enter and VM-Exit are
3229 * required to flush GVA->{G,H}PA mappings from the TLB if vpid is
3230 * disabled (VM-Enter with vpid enabled and vpid==0 is disallowed),
3925 int vpid;
3930 vpid = find_first_zero_bit(vmx_vpid_bitmap, VMX_NR_VPIDS);
3931 if (vpid < VMX_NR_VPIDS)
3932 __set_bit(vpid, vmx_vpid_bitmap);
3934 vpid = 0;
3936 return vpid;
3939 void free_vpid(int vpid)
3941 if (!enable_vpid || vpid == 0)
3944 __clear_bit(vpid, vmx_vpid_bitmap);
4604 if (vmx->vpid == 0)
4795 if (vmx->vpid != 0)
4796 vmcs_write16(VIRTUAL_PROCESSOR_ID, vmx->vpid);
4912 vpid_sync_context(vmx->vpid);
7447 free_vpid(vmx->vpid);
7465 vmx->vpid = allocate_vpid();
7554 free_vpid(vmx->vpid);