Lines Matching refs:ptl
291 spinlock_t *ptl) in __migration_entry_wait() argument
297 spin_lock(ptl); in __migration_entry_wait()
316 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
321 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
327 spinlock_t *ptl = pte_lockptr(mm, pmd); in migration_entry_wait() local
329 __migration_entry_wait(mm, ptep, ptl); in migration_entry_wait()
335 spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), mm, pte); in migration_entry_wait_huge() local
336 __migration_entry_wait(mm, pte, ptl); in migration_entry_wait_huge()
342 spinlock_t *ptl; in pmd_migration_entry_wait() local
345 ptl = pmd_lock(mm, pmd); in pmd_migration_entry_wait()
351 spin_unlock(ptl); in pmd_migration_entry_wait()
355 spin_unlock(ptl); in pmd_migration_entry_wait()
2123 spinlock_t *ptl; in migrate_misplaced_transhuge_page() local
2157 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
2159 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2210 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2231 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
2237 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2301 spinlock_t *ptl; in migrate_vma_collect_pmd() local
2311 ptl = pmd_lock(mm, pmdp); in migrate_vma_collect_pmd()
2313 spin_unlock(ptl); in migrate_vma_collect_pmd()
2319 spin_unlock(ptl); in migrate_vma_collect_pmd()
2328 spin_unlock(ptl); in migrate_vma_collect_pmd()
2347 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_collect_pmd()
2468 pte_unmap_unlock(ptep - 1, ptl); in migrate_vma_collect_pmd()
2847 spinlock_t *ptl; in migrate_vma_insert_page() local
2922 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_insert_page()
2960 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()
2965 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()