Lines Matching refs:ptl
294 spinlock_t *ptl) in __migration_entry_wait() argument
299 spin_lock(ptl); in __migration_entry_wait()
308 migration_entry_wait_on_locked(entry, ptep, ptl); in __migration_entry_wait()
311 pte_unmap_unlock(ptep, ptl); in __migration_entry_wait()
317 spinlock_t *ptl = pte_lockptr(mm, pmd); in migration_entry_wait() local
319 __migration_entry_wait(mm, ptep, ptl); in migration_entry_wait()
323 void __migration_entry_wait_huge(pte_t *ptep, spinlock_t *ptl) in __migration_entry_wait_huge() argument
327 spin_lock(ptl); in __migration_entry_wait_huge()
331 spin_unlock(ptl); in __migration_entry_wait_huge()
333 migration_entry_wait_on_locked(pte_to_swp_entry(pte), NULL, ptl); in __migration_entry_wait_huge()
338 spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), vma->vm_mm, pte); in migration_entry_wait_huge() local
340 __migration_entry_wait_huge(pte, ptl); in migration_entry_wait_huge()
347 spinlock_t *ptl; in pmd_migration_entry_wait() local
349 ptl = pmd_lock(mm, pmd); in pmd_migration_entry_wait()
352 migration_entry_wait_on_locked(pmd_to_swp_entry(*pmd), NULL, ptl); in pmd_migration_entry_wait()
355 spin_unlock(ptl); in pmd_migration_entry_wait()