Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dmremap.c143 spinlock_t *old_ptl, *new_ptl; in move_ptes() local
178 new_pte = pte_offset_map_nolock(mm, new_pmd, new_addr, &new_ptl); in move_ptes()
184 if (new_ptl != old_ptl) in move_ptes()
185 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_ptes()
216 if (new_ptl != old_ptl) in move_ptes()
217 spin_unlock(new_ptl); in move_ptes()
239 spinlock_t *old_ptl, *new_ptl; in move_normal_pmd() local
277 new_ptl = pmd_lockptr(mm, new_pmd); in move_normal_pmd()
278 if (new_ptl != old_ptl) in move_normal_pmd()
279 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_normal_pmd()
[all …]
Dhuge_memory.c2138 spinlock_t *old_ptl, *new_ptl; in move_huge_pmd() local
2159 new_ptl = pmd_lockptr(mm, new_pmd); in move_huge_pmd()
2160 if (new_ptl != old_ptl) in move_huge_pmd()
2161 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_huge_pmd()
2167 if (pmd_move_must_withdraw(new_ptl, old_ptl, vma)) { in move_huge_pmd()
2176 if (new_ptl != old_ptl) in move_huge_pmd()
2177 spin_unlock(new_ptl); in move_huge_pmd()