Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dmremap.c143 spinlock_t *old_ptl, *new_ptl; in move_ptes() local
172 old_pte = pte_offset_map_lock(mm, old_pmd, old_addr, &old_ptl); in move_ptes()
175 if (new_ptl != old_ptl) in move_ptes()
207 if (new_ptl != old_ptl) in move_ptes()
210 pte_unmap_unlock(old_pte - 1, old_ptl); in move_ptes()
228 spinlock_t *old_ptl, *new_ptl; in move_normal_pmd() local
264 old_ptl = pmd_lock(vma->vm_mm, old_pmd); in move_normal_pmd()
266 if (new_ptl != old_ptl) in move_normal_pmd()
277 if (new_ptl != old_ptl) in move_normal_pmd()
279 spin_unlock(old_ptl); in move_normal_pmd()
[all …]
Dhuge_memory.c1727 spinlock_t *old_ptl, *new_ptl; in move_huge_pmd() local
1745 old_ptl = __pmd_trans_huge_lock(old_pmd, vma); in move_huge_pmd()
1746 if (old_ptl) { in move_huge_pmd()
1748 if (new_ptl != old_ptl) in move_huge_pmd()
1755 if (pmd_move_must_withdraw(new_ptl, old_ptl, vma)) { in move_huge_pmd()
1764 if (new_ptl != old_ptl) in move_huge_pmd()
1766 spin_unlock(old_ptl); in move_huge_pmd()