Lines Matching refs:hpt
53 unsigned long hpt = 0; in kvmppc_alloc_hpt() local
67 hpt = (unsigned long)pfn_to_kaddr(page_to_pfn(page)); in kvmppc_alloc_hpt()
68 memset((void *)hpt, 0, (1ul << order)); in kvmppc_alloc_hpt()
73 while (!hpt && order > PPC_MIN_HPT_ORDER) { in kvmppc_alloc_hpt()
74 hpt = __get_free_pages(GFP_KERNEL|__GFP_ZERO|__GFP_REPEAT| in kvmppc_alloc_hpt()
76 if (!hpt) in kvmppc_alloc_hpt()
80 if (!hpt) in kvmppc_alloc_hpt()
83 kvm->arch.hpt_virt = hpt; in kvmppc_alloc_hpt()
97 kvm->arch.sdr1 = __pa(hpt) | (order - 18); in kvmppc_alloc_hpt()
100 hpt, order, kvm->arch.lpid); in kvmppc_alloc_hpt()
110 free_pages(hpt, order - PAGE_SHIFT); in kvmppc_alloc_hpt()