Lines Matching refs:ptl
290 spinlock_t *ptl) in __migration_entry_wait() argument
296 spin_lock(ptl); in __migration_entry_wait()
315 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
319 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
325 spinlock_t *ptl = pte_lockptr(mm, pmd); in migration_entry_wait() local
327 __migration_entry_wait(mm, ptep, ptl); in migration_entry_wait()
333 spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), mm, pte); in migration_entry_wait_huge() local
334 __migration_entry_wait(mm, pte, ptl); in migration_entry_wait_huge()
340 spinlock_t *ptl; in pmd_migration_entry_wait() local
343 ptl = pmd_lock(mm, pmd); in pmd_migration_entry_wait()
349 spin_unlock(ptl); in pmd_migration_entry_wait()
353 spin_unlock(ptl); in pmd_migration_entry_wait()
2250 spinlock_t *ptl; in migrate_vma_collect_pmd() local
2260 ptl = pmd_lock(mm, pmdp); in migrate_vma_collect_pmd()
2262 spin_unlock(ptl); in migrate_vma_collect_pmd()
2268 spin_unlock(ptl); in migrate_vma_collect_pmd()
2277 spin_unlock(ptl); in migrate_vma_collect_pmd()
2296 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_collect_pmd()
2418 pte_unmap_unlock(ptep - 1, ptl); in migrate_vma_collect_pmd()
2708 spinlock_t *ptl; in migrate_vma_insert_page() local
2788 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_insert_page()
2826 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()
2831 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()