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()
74 while (!hpt && order > PPC_MIN_HPT_ORDER && !htab_orderp) { in kvmppc_alloc_hpt()
75 hpt = __get_free_pages(GFP_KERNEL|__GFP_ZERO|__GFP_REPEAT| in kvmppc_alloc_hpt()
77 if (!hpt) in kvmppc_alloc_hpt()
81 if (!hpt) in kvmppc_alloc_hpt()
84 kvm->arch.hpt_virt = hpt; in kvmppc_alloc_hpt()
98 kvm->arch.sdr1 = __pa(hpt) | (order - 18); in kvmppc_alloc_hpt()
101 hpt, order, kvm->arch.lpid); in kvmppc_alloc_hpt()
111 free_pages(hpt, order - PAGE_SHIFT); in kvmppc_alloc_hpt()