Lines Matching refs:ptl
313 spinlock_t *ptl) in __migration_entry_wait() argument
319 spin_lock(ptl); in __migration_entry_wait()
338 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
342 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
348 spinlock_t *ptl = pte_lockptr(mm, pmd); in migration_entry_wait() local
350 __migration_entry_wait(mm, ptep, ptl); in migration_entry_wait()
356 spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), mm, pte); in migration_entry_wait_huge() local
357 __migration_entry_wait(mm, pte, ptl); in migration_entry_wait_huge()
363 spinlock_t *ptl; in pmd_migration_entry_wait() local
366 ptl = pmd_lock(mm, pmd); in pmd_migration_entry_wait()
372 spin_unlock(ptl); in pmd_migration_entry_wait()
376 spin_unlock(ptl); in pmd_migration_entry_wait()
2141 spinlock_t *ptl; in migrate_misplaced_transhuge_page() local
2175 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
2177 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2228 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2249 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
2255 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2319 spinlock_t *ptl; in migrate_vma_collect_pmd() local
2329 ptl = pmd_lock(mm, pmdp); in migrate_vma_collect_pmd()
2331 spin_unlock(ptl); in migrate_vma_collect_pmd()
2337 spin_unlock(ptl); in migrate_vma_collect_pmd()
2346 spin_unlock(ptl); in migrate_vma_collect_pmd()
2365 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_collect_pmd()
2481 pte_unmap_unlock(ptep - 1, ptl); in migrate_vma_collect_pmd()
2866 spinlock_t *ptl; in migrate_vma_insert_page() local
2941 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_insert_page()
2979 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()
2984 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()