Home
last modified time | relevance | path

Searched refs:old_ptl (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmremap.c122 spinlock_t *old_ptl, *new_ptl; in move_ptes() local
151 old_pte = pte_offset_map_lock(mm, old_pmd, old_addr, &old_ptl); in move_ptes()
154 if (new_ptl != old_ptl) in move_ptes()
186 if (new_ptl != old_ptl) in move_ptes()
189 pte_unmap_unlock(old_pte - 1, old_ptl); in move_ptes()
199 spinlock_t *old_ptl, *new_ptl; in move_normal_pmd() local
218 old_ptl = pmd_lock(vma->vm_mm, old_pmd); in move_normal_pmd()
220 if (new_ptl != old_ptl) in move_normal_pmd()
232 if (new_ptl != old_ptl) in move_normal_pmd()
234 spin_unlock(old_ptl); in move_normal_pmd()
Dhuge_memory.c1877 spinlock_t *old_ptl, *new_ptl; in move_huge_pmd() local
1900 old_ptl = __pmd_trans_huge_lock(old_pmd, vma); in move_huge_pmd()
1901 if (old_ptl) { in move_huge_pmd()
1903 if (new_ptl != old_ptl) in move_huge_pmd()
1910 if (pmd_move_must_withdraw(new_ptl, old_ptl, vma)) { in move_huge_pmd()
1919 if (new_ptl != old_ptl) in move_huge_pmd()
1921 spin_unlock(old_ptl); in move_huge_pmd()