Lines Matching refs:pmdp

103 			  unsigned long address, pmd_t *pmdp,  in pmdp_set_access_flags()  argument
106 int changed = !pmd_same(*pmdp, entry); in pmdp_set_access_flags()
109 set_pmd_at(vma->vm_mm, address, pmdp, entry); in pmdp_set_access_flags()
118 unsigned long address, pmd_t *pmdp) in pmdp_clear_flush_young() argument
122 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
131 pmd_t *pmdp) in pmdp_huge_clear_flush() argument
135 VM_BUG_ON(!pmd_trans_huge(*pmdp)); in pmdp_huge_clear_flush()
136 pmd = pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); in pmdp_huge_clear_flush()
144 pmd_t *pmdp) in pmdp_splitting_flush() argument
146 pmd_t pmd = pmd_mksplitting(*pmdp); in pmdp_splitting_flush()
148 set_pmd_at(vma->vm_mm, address, pmdp, pmd); in pmdp_splitting_flush()
155 void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, in pgtable_trans_huge_deposit() argument
158 assert_spin_locked(pmd_lockptr(mm, pmdp)); in pgtable_trans_huge_deposit()
161 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
164 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_deposit()
165 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
171 pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp) in pgtable_trans_huge_withdraw() argument
175 assert_spin_locked(pmd_lockptr(mm, pmdp)); in pgtable_trans_huge_withdraw()
178 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
180 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
182 pmd_huge_pte(mm, pmdp) = list_entry(pgtable->lru.next, in pgtable_trans_huge_withdraw()
192 pmd_t *pmdp) in pmdp_invalidate() argument
194 pmd_t entry = *pmdp; in pmdp_invalidate()
195 set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(entry)); in pmdp_invalidate()
202 pmd_t *pmdp) in pmdp_collapse_flush() argument
211 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush()
212 pmd = pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); in pmdp_collapse_flush()