Lines Matching refs:ptl
450 static int queue_pages_pmd(pmd_t *pmd, spinlock_t *ptl, unsigned long addr, in queue_pages_pmd() argument
452 __releases(ptl) in queue_pages_pmd()
465 spin_unlock(ptl); in queue_pages_pmd()
483 spin_unlock(ptl); in queue_pages_pmd()
510 spinlock_t *ptl; in queue_pages_pte_range() local
512 ptl = pmd_trans_huge_lock(pmd, vma); in queue_pages_pte_range()
513 if (ptl) { in queue_pages_pte_range()
514 ret = queue_pages_pmd(pmd, ptl, addr, end, walk); in queue_pages_pte_range()
523 mapped_pte = pte = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); in queue_pages_pte_range()
555 pte_unmap_unlock(mapped_pte, ptl); in queue_pages_pte_range()
573 spinlock_t *ptl; in queue_pages_hugetlb() local
576 ptl = huge_pte_lock(hstate_vma(walk->vma), walk->mm, pte); in queue_pages_hugetlb()
617 spin_unlock(ptl); in queue_pages_hugetlb()