Lines Matching refs:pmdp

152 	pmd_t *pmdp;  in hash__map_kernel_page()  local
162 pmdp = pmd_alloc(&init_mm, pudp, ea); in hash__map_kernel_page()
163 if (!pmdp) in hash__map_kernel_page()
165 ptep = pte_alloc_kernel(pmdp, ea); in hash__map_kernel_page()
191 pmd_t *pmdp, unsigned long clr, in hash__pmd_hugepage_update() argument
198 WARN_ON(!hash__pmd_trans_huge(*pmdp) && !pmd_devmap(*pmdp)); in hash__pmd_hugepage_update()
199 assert_spin_locked(pmd_lockptr(mm, pmdp)); in hash__pmd_hugepage_update()
210 : "=&r" (old_be), "=&r" (tmp), "=m" (*pmdp) in hash__pmd_hugepage_update()
211 : "r" (pmdp), "r" (cpu_to_be64(clr)), "m" (*pmdp), in hash__pmd_hugepage_update()
219 hpte_do_hugepage_flush(mm, addr, pmdp, old); in hash__pmd_hugepage_update()
224 pmd_t *pmdp) in hash__pmdp_collapse_flush() argument
229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
230 VM_BUG_ON(pmd_devmap(*pmdp)); in hash__pmdp_collapse_flush()
232 pmd = *pmdp; in hash__pmdp_collapse_flush()
233 pmd_clear(pmdp); in hash__pmdp_collapse_flush()
267 void hash__pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, in hash__pgtable_trans_huge_deposit() argument
272 assert_spin_locked(pmd_lockptr(mm, pmdp)); in hash__pgtable_trans_huge_deposit()
276 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pgtable_trans_huge_deposit()
287 pgtable_t hash__pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp) in hash__pgtable_trans_huge_withdraw() argument
292 assert_spin_locked(pmd_lockptr(mm, pmdp)); in hash__pgtable_trans_huge_withdraw()
294 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pgtable_trans_huge_withdraw()
313 pmd_t *pmdp, unsigned long old_pmd) in hpte_do_hugepage_flush() argument
342 return flush_hash_hugepage(vsid, addr, pmdp, psize, ssize, flags); in hpte_do_hugepage_flush()
346 unsigned long addr, pmd_t *pmdp) in hash__pmdp_huge_get_and_clear() argument
353 old = pmd_hugepage_update(mm, addr, pmdp, ~0UL, 0); in hash__pmdp_huge_get_and_clear()
360 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pmdp_huge_get_and_clear()