Lines Matching refs:ptl
113 spinlock_t *ptl; in remove_migration_pte() local
119 ptl = huge_pte_lockptr(hstate_vma(vma), mm, ptep); in remove_migration_pte()
132 ptl = pte_lockptr(mm, pmd); in remove_migration_pte()
135 spin_lock(ptl); in remove_migration_pte()
177 pte_unmap_unlock(ptep, ptl); in remove_migration_pte()
234 spinlock_t *ptl) in __migration_entry_wait() argument
240 spin_lock(ptl); in __migration_entry_wait()
260 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
265 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
271 spinlock_t *ptl = pte_lockptr(mm, pmd); in migration_entry_wait() local
273 __migration_entry_wait(mm, ptep, ptl); in migration_entry_wait()
279 spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), mm, pte); in migration_entry_wait_huge() local
280 __migration_entry_wait(mm, pte, ptl); in migration_entry_wait_huge()
1772 spinlock_t *ptl; in migrate_misplaced_transhuge_page() local
1816 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
1819 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
1872 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
1895 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
1901 spin_unlock(ptl); in migrate_misplaced_transhuge_page()