Lines Matching refs:ptep
86 pte_t *ptep, pte; in follow_page_pte() local
92 ptep = pte_offset_map_lock(mm, pmd, address, &ptl); in follow_page_pte()
93 pte = *ptep; in follow_page_pte()
108 pte_unmap_unlock(ptep, ptl); in follow_page_pte()
115 pte_unmap_unlock(ptep, ptl); in follow_page_pte()
132 ret = follow_pfn_pte(vma, address, ptep, flags); in follow_page_pte()
178 pte_unmap_unlock(ptep, ptl); in follow_page_pte()
181 pte_unmap_unlock(ptep, ptl); in follow_page_pte()
1096 pte_t *ptep, *ptem; in gup_pte_range() local
1099 ptem = ptep = pte_offset_map(&pmd, addr); in gup_pte_range()
1108 pte_t pte = READ_ONCE(*ptep); in gup_pte_range()
1128 if (unlikely(pte_val(pte) != pte_val(*ptep))) { in gup_pte_range()
1136 } while (ptep++, addr += PAGE_SIZE, addr != end); in gup_pte_range()