Lines Matching refs:new_ptl
143 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()
295 if (new_ptl != old_ptl) in move_normal_pmd()
296 spin_unlock(new_ptl); in move_normal_pmd()
314 spinlock_t *old_ptl, *new_ptl; in move_normal_pud() local
332 new_ptl = pud_lockptr(mm, new_pud); in move_normal_pud()
333 if (new_ptl != old_ptl) in move_normal_pud()
334 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_normal_pud()
344 if (new_ptl != old_ptl) in move_normal_pud()
345 spin_unlock(new_ptl); in move_normal_pud()
363 spinlock_t *old_ptl, *new_ptl; in move_huge_pud() local
379 new_ptl = pud_lockptr(mm, new_pud); in move_huge_pud()
380 if (new_ptl != old_ptl) in move_huge_pud()
381 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_huge_pud()
393 if (new_ptl != old_ptl) in move_huge_pud()
394 spin_unlock(new_ptl); in move_huge_pud()