Lines Matching refs:ptl
46 unsigned int pshift, spinlock_t *ptl) in __hugepte_alloc() argument
81 spin_lock(ptl); in __hugepte_alloc()
101 spin_unlock(ptl); in __hugepte_alloc()
118 spinlock_t *ptl; in huge_pte_alloc() local
132 ptl = &mm->page_table_lock; in huge_pte_alloc()
142 ptl = pud_lockptr(mm, pu); in huge_pte_alloc()
153 ptl = pmd_lockptr(mm, pm); in huge_pte_alloc()
160 ptl = &mm->page_table_lock; in huge_pte_alloc()
168 ptl = pud_lockptr(mm, pu); in huge_pte_alloc()
175 ptl = pmd_lockptr(mm, pm); in huge_pte_alloc()
189 pdshift, pshift, ptl)) in huge_pte_alloc()
525 spinlock_t *ptl; in follow_huge_pd() local
536 ptl = &mm->page_table_lock; in follow_huge_pd()
537 spin_lock(ptl); in follow_huge_pd()
548 spin_unlock(ptl); in follow_huge_pd()
549 __migration_entry_wait(mm, ptep, ptl); in follow_huge_pd()
553 spin_unlock(ptl); in follow_huge_pd()