Lines Matching refs:pshift
116 unsigned long address, unsigned pdshift, unsigned pshift) in __hugepte_alloc() argument
123 int num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc()
126 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc()
131 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc()
150 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc()
164 (shift_to_mmu_psize(pshift) << 2); in __hugepte_alloc()
166 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc()
197 unsigned pshift = __ffs(sz); in huge_pte_alloc() local
203 if (pshift == PGDIR_SHIFT) in huge_pte_alloc()
206 else if (pshift > PUD_SHIFT) in huge_pte_alloc()
214 if (pshift == PUD_SHIFT) in huge_pte_alloc()
216 else if (pshift > PMD_SHIFT) in huge_pte_alloc()
221 if (pshift == PMD_SHIFT) in huge_pte_alloc()
233 if (hugepd_none(*hpdp) && __hugepte_alloc(mm, hpdp, addr, pdshift, pshift)) in huge_pte_alloc()
247 unsigned pshift = __ffs(sz); in huge_pte_alloc() local
254 if (pshift >= HUGEPD_PGD_SHIFT) { in huge_pte_alloc()
259 if (pshift >= HUGEPD_PUD_SHIFT) { in huge_pte_alloc()
273 if (hugepd_none(*hpdp) && __hugepte_alloc(mm, hpdp, addr, pdshift, pshift)) in huge_pte_alloc()