Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c809 struct kvm_nested_guest *gp, *newgp; in kvmhv_get_nested() local
823 newgp = kvmhv_alloc_nested(kvm, l1_lpid); in kvmhv_get_nested()
824 if (!newgp) in kvmhv_get_nested()
828 kvmhv_release_nested(newgp); in kvmhv_get_nested()
835 __add_nested(kvm, l1_lpid, newgp); in kvmhv_get_nested()
836 ++newgp->refcnt; in kvmhv_get_nested()
837 gp = newgp; in kvmhv_get_nested()
838 newgp = NULL; in kvmhv_get_nested()
843 if (newgp) in kvmhv_get_nested()
844 kvmhv_release_nested(newgp); in kvmhv_get_nested()