Lines Matching refs:ptl

313 				spinlock_t *ptl)  in __migration_entry_wait()  argument
319 spin_lock(ptl); in __migration_entry_wait()
337 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
341 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
347 spinlock_t *ptl = pte_lockptr(mm, pmd); in migration_entry_wait() local
349 __migration_entry_wait(mm, ptep, ptl); in migration_entry_wait()
355 spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), mm, pte); in migration_entry_wait_huge() local
356 __migration_entry_wait(mm, pte, ptl); in migration_entry_wait_huge()
362 spinlock_t *ptl; in pmd_migration_entry_wait() local
365 ptl = pmd_lock(mm, pmd); in pmd_migration_entry_wait()
371 spin_unlock(ptl); in pmd_migration_entry_wait()
375 spin_unlock(ptl); in pmd_migration_entry_wait()
2134 spinlock_t *ptl; in migrate_misplaced_transhuge_page() local
2168 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
2170 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2221 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2242 ptl = pmd_lock(mm, pmd); in migrate_misplaced_transhuge_page()
2248 spin_unlock(ptl); in migrate_misplaced_transhuge_page()
2312 spinlock_t *ptl; in migrate_vma_collect_pmd() local
2322 ptl = pmd_lock(mm, pmdp); in migrate_vma_collect_pmd()
2324 spin_unlock(ptl); in migrate_vma_collect_pmd()
2330 spin_unlock(ptl); in migrate_vma_collect_pmd()
2339 spin_unlock(ptl); in migrate_vma_collect_pmd()
2358 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_collect_pmd()
2474 pte_unmap_unlock(ptep - 1, ptl); in migrate_vma_collect_pmd()
2857 spinlock_t *ptl; in migrate_vma_insert_page() local
2925 ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in migrate_vma_insert_page()
2963 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()
2968 pte_unmap_unlock(ptep, ptl); in migrate_vma_insert_page()