Lines Matching refs:fv
735 struct foreign_vmcs *fv; in vmx_vmcs_try_enter() local
744 fv = &this_cpu(foreign_vmcs); in vmx_vmcs_try_enter()
746 if ( fv->v == v ) in vmx_vmcs_try_enter()
748 BUG_ON(fv->count == 0); in vmx_vmcs_try_enter()
752 BUG_ON(fv->v != NULL); in vmx_vmcs_try_enter()
753 BUG_ON(fv->count != 0); in vmx_vmcs_try_enter()
761 fv->v = v; in vmx_vmcs_try_enter()
764 fv->count++; in vmx_vmcs_try_enter()
778 struct foreign_vmcs *fv; in vmx_vmcs_exit() local
783 fv = &this_cpu(foreign_vmcs); in vmx_vmcs_exit()
784 BUG_ON(fv->v != v); in vmx_vmcs_exit()
785 BUG_ON(fv->count == 0); in vmx_vmcs_exit()
787 if ( --fv->count == 0 ) in vmx_vmcs_exit()
797 fv->v = NULL; in vmx_vmcs_exit()