Lines Matching refs:ptl
31 spinlock_t *ptl; in pin_page_for_write() local
60 ptl = ¤t->mm->page_table_lock; in pin_page_for_write()
61 spin_lock(ptl); in pin_page_for_write()
64 spin_unlock(ptl); in pin_page_for_write()
69 *ptlp = ptl; in pin_page_for_write()
76 pte = pte_offset_map_lock(current->mm, pmd, addr, &ptl); in pin_page_for_write()
82 pte_unmap_unlock(pte, ptl); in pin_page_for_write()
87 *ptlp = ptl; in pin_page_for_write()
105 spinlock_t *ptl; in __copy_to_user_memcpy() local
108 while (!pin_page_for_write(to, &pte, &ptl)) { in __copy_to_user_memcpy()
129 pte_unmap_unlock(pte, ptl); in __copy_to_user_memcpy()
131 spin_unlock(ptl); in __copy_to_user_memcpy()
169 spinlock_t *ptl; in __clear_user_memset() local
172 while (!pin_page_for_write(addr, &pte, &ptl)) { in __clear_user_memset()
190 pte_unmap_unlock(pte, ptl); in __clear_user_memset()
192 spin_unlock(ptl); in __clear_user_memset()