Lines Matching refs:pshift
47 unsigned int pshift, spinlock_t *ptl) in __hugepte_alloc() argument
54 if (pshift >= pdshift) { in __hugepte_alloc()
56 num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc()
58 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc()
69 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc()
92 hugepd_populate(hpdp, new, pshift); in __hugepte_alloc()
118 unsigned pshift = __ffs(sz); in huge_pte_alloc() local
127 if (pshift == PGDIR_SHIFT) in huge_pte_alloc()
130 else if (pshift > PUD_SHIFT) { in huge_pte_alloc()
141 if (pshift == PUD_SHIFT) in huge_pte_alloc()
143 else if (pshift > PMD_SHIFT) { in huge_pte_alloc()
151 if (pshift == PMD_SHIFT) in huge_pte_alloc()
161 if (pshift >= PGDIR_SHIFT) { in huge_pte_alloc()
169 if (pshift >= PUD_SHIFT) { in huge_pte_alloc()
185 if (IS_ENABLED(CONFIG_PPC_8xx) && pshift < PMD_SHIFT) in huge_pte_alloc()
191 pdshift, pshift, ptl)) in huge_pte_alloc()