Lines Matching refs:pshift
46 unsigned int pshift, spinlock_t *ptl) in __hugepte_alloc() argument
53 if (pshift >= pdshift) { in __hugepte_alloc()
55 num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc()
57 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc()
68 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc()
91 hugepd_populate(hpdp, new, pshift); in __hugepte_alloc()
117 unsigned pshift = __ffs(sz); in huge_pte_alloc() local
126 if (pshift == PGDIR_SHIFT) in huge_pte_alloc()
129 else if (pshift > PUD_SHIFT) { in huge_pte_alloc()
140 if (pshift == PUD_SHIFT) in huge_pte_alloc()
142 else if (pshift > PMD_SHIFT) { in huge_pte_alloc()
150 if (pshift == PMD_SHIFT) in huge_pte_alloc()
160 if (pshift >= PGDIR_SHIFT) { in huge_pte_alloc()
168 if (pshift >= PUD_SHIFT) { in huge_pte_alloc()
184 if (IS_ENABLED(CONFIG_PPC_8xx) && pshift < PMD_SHIFT) in huge_pte_alloc()
190 pdshift, pshift, ptl)) in huge_pte_alloc()