Lines Matching refs:pmdp
39 pmd_t *pmdp, pmd_t entry, int dirty) in pmdp_set_access_flags() argument
43 WARN_ON(!pmd_trans_huge(*pmdp) && !pmd_devmap(*pmdp)); in pmdp_set_access_flags()
44 assert_spin_locked(pmd_lockptr(vma->vm_mm, pmdp)); in pmdp_set_access_flags()
46 changed = !pmd_same(*(pmdp), entry); in pmdp_set_access_flags()
52 __ptep_set_access_flags(vma, pmdp_ptep(pmdp), in pmdp_set_access_flags()
59 unsigned long address, pmd_t *pmdp) in pmdp_test_and_clear_young() argument
61 return __pmdp_test_and_clear_young(vma->vm_mm, address, pmdp); in pmdp_test_and_clear_young()
68 pmd_t *pmdp, pmd_t pmd) in set_pmd_at() argument
76 WARN_ON(pte_hw_valid(pmd_pte(*pmdp)) && !pte_protnone(pmd_pte(*pmdp))); in set_pmd_at()
77 assert_spin_locked(pmd_lockptr(mm, pmdp)); in set_pmd_at()
81 return set_pte_at(mm, addr, pmdp_ptep(pmdp), pmd_pte(pmd)); in set_pmd_at()
114 pmd_t *pmdp) in pmdp_invalidate() argument
118 old_pmd = pmd_hugepage_update(vma->vm_mm, address, pmdp, _PAGE_PRESENT, _PAGE_INVALID); in pmdp_invalidate()
124 unsigned long addr, pmd_t *pmdp, int full) in pmdp_huge_get_and_clear_full() argument
128 VM_BUG_ON((pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_get_and_clear_full()
129 !pmd_devmap(*pmdp)) || !pmd_present(*pmdp)); in pmdp_huge_get_and_clear_full()
130 pmd = pmdp_huge_get_and_clear(vma->vm_mm, addr, pmdp); in pmdp_huge_get_and_clear_full()