Lines Matching refs:ptl
46 unsigned int pshift, spinlock_t *ptl) in __hugepte_alloc() argument
84 spin_lock(ptl); in __hugepte_alloc()
104 spin_unlock(ptl); in __hugepte_alloc()
120 spinlock_t *ptl; in huge_pte_alloc() local
133 ptl = &mm->page_table_lock; in huge_pte_alloc()
143 ptl = pud_lockptr(mm, pu); in huge_pte_alloc()
154 ptl = pmd_lockptr(mm, pm); in huge_pte_alloc()
161 ptl = &mm->page_table_lock; in huge_pte_alloc()
169 ptl = pud_lockptr(mm, pu); in huge_pte_alloc()
176 ptl = pmd_lockptr(mm, pm); in huge_pte_alloc()
187 pdshift, pshift, ptl)) in huge_pte_alloc()
495 spinlock_t *ptl; in follow_huge_pd() local
506 ptl = &mm->page_table_lock; in follow_huge_pd()
507 spin_lock(ptl); in follow_huge_pd()
518 spin_unlock(ptl); in follow_huge_pd()
519 __migration_entry_wait(mm, ptep, ptl); in follow_huge_pd()
523 spin_unlock(ptl); in follow_huge_pd()