Lines Matching refs:ptl
647 spinlock_t *ptl = NULL; in xen_pte_lock() local
650 ptl = ptlock_ptr(page); in xen_pte_lock()
651 spin_lock_nest_lock(ptl, &mm->page_table_lock); in xen_pte_lock()
654 return ptl; in xen_pte_lock()
659 spinlock_t *ptl = v; in xen_pte_unlock() local
660 spin_unlock(ptl); in xen_pte_unlock()
682 spinlock_t *ptl; in xen_pin_page() local
704 ptl = NULL; in xen_pin_page()
706 ptl = xen_pte_lock(page, mm); in xen_pin_page()
712 if (ptl) { in xen_pin_page()
717 xen_mc_callback(xen_pte_unlock, ptl); in xen_pin_page()
804 spinlock_t *ptl = NULL; in xen_unpin_page() local
815 ptl = xen_pte_lock(page, mm); in xen_unpin_page()
817 if (ptl) in xen_unpin_page()
827 if (ptl) { in xen_unpin_page()
829 xen_mc_callback(xen_pte_unlock, ptl); in xen_unpin_page()