Lines Matching refs:ptl
685 spinlock_t *ptl, in __collapse_huge_page_copy_succeeded() argument
702 spin_lock(ptl); in __collapse_huge_page_copy_succeeded()
704 spin_unlock(ptl); in __collapse_huge_page_copy_succeeded()
716 spin_lock(ptl); in __collapse_huge_page_copy_succeeded()
719 spin_unlock(ptl); in __collapse_huge_page_copy_succeeded()
780 spinlock_t *ptl, in __collapse_huge_page_copy() argument
807 __collapse_huge_page_copy_succeeded(pte, vma, address, ptl, in __collapse_huge_page_copy()
996 spinlock_t *ptl; in __collapse_huge_page_swapin() local
1008 pte = pte_offset_map_nolock(mm, pmd, address, &ptl); in __collapse_huge_page_swapin()
1021 vmf.ptl = ptl; in __collapse_huge_page_swapin()
1251 spinlock_t *ptl; in hpage_collapse_scan_pmd() local
1263 pte = pte_offset_map_lock(mm, pmd, address, &ptl); in hpage_collapse_scan_pmd()
1398 pte_unmap_unlock(pte, ptl); in hpage_collapse_scan_pmd()
1479 spinlock_t *pml = NULL, *ptl; in collapse_pte_mapped_thp() local
1539 start_pte = pte_offset_map_lock(mm, pmd, haddr, &ptl); in collapse_pte_mapped_thp()
1570 pte_unmap_unlock(start_pte, ptl); in collapse_pte_mapped_thp()
1587 start_pte = pte_offset_map_nolock(mm, pmd, haddr, &ptl); in collapse_pte_mapped_thp()
1591 spin_lock(ptl); in collapse_pte_mapped_thp()
1592 else if (ptl != pml) in collapse_pte_mapped_thp()
1593 spin_lock_nested(ptl, SINGLE_DEPTH_NESTING); in collapse_pte_mapped_thp()
1629 spin_unlock(ptl); in collapse_pte_mapped_thp()
1640 if (ptl != pml) in collapse_pte_mapped_thp()
1641 spin_lock_nested(ptl, SINGLE_DEPTH_NESTING); in collapse_pte_mapped_thp()
1645 if (ptl != pml) in collapse_pte_mapped_thp()
1646 spin_unlock(ptl); in collapse_pte_mapped_thp()
1668 pte_unmap_unlock(start_pte, ptl); in collapse_pte_mapped_thp()
1669 if (pml && pml != ptl) in collapse_pte_mapped_thp()
1690 spinlock_t *ptl; in retract_page_tables() local
1728 ptl = pte_lockptr(mm, pmd); in retract_page_tables()
1729 if (ptl != pml) in retract_page_tables()
1730 spin_lock_nested(ptl, SINGLE_DEPTH_NESTING); in retract_page_tables()
1748 if (ptl != pml) in retract_page_tables()
1749 spin_unlock(ptl); in retract_page_tables()