Lines Matching refs:new_ptl
141 spinlock_t *old_ptl, *new_ptl; in move_ptes() local
172 new_ptl = pte_lockptr(mm, new_pmd); in move_ptes()
173 if (new_ptl != old_ptl) in move_ptes()
174 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_ptes()
205 if (new_ptl != old_ptl) in move_ptes()
206 spin_unlock(new_ptl); in move_ptes()
249 spinlock_t *old_ptl, *new_ptl; in move_normal_pmd() local
292 new_ptl = pmd_lockptr(mm, new_pmd); in move_normal_pmd()
293 if (new_ptl != old_ptl) in move_normal_pmd()
294 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_normal_pmd()
305 if (new_ptl != old_ptl) in move_normal_pmd()
306 spin_unlock(new_ptl); in move_normal_pmd()
325 spinlock_t *old_ptl, *new_ptl; in move_normal_pud() local
349 new_ptl = pud_lockptr(mm, new_pud); in move_normal_pud()
350 if (new_ptl != old_ptl) in move_normal_pud()
351 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_normal_pud()
362 if (new_ptl != old_ptl) in move_normal_pud()
363 spin_unlock(new_ptl); in move_normal_pud()