Searched refs:newgp (Results 1 – 1 of 1) sorted by relevance
723 struct kvm_nested_guest *gp, *newgp; in kvmhv_get_nested() local738 newgp = kvmhv_alloc_nested(kvm, l1_lpid); in kvmhv_get_nested()739 if (!newgp) in kvmhv_get_nested()746 kvm->arch.nested_guests[l1_lpid] = newgp; in kvmhv_get_nested()747 ++newgp->refcnt; in kvmhv_get_nested()748 gp = newgp; in kvmhv_get_nested()749 newgp = NULL; in kvmhv_get_nested()756 if (newgp) in kvmhv_get_nested()757 kvmhv_release_nested(newgp); in kvmhv_get_nested()