Lines Matching refs:__pte
528 return __pte(pte_val(pte) & ~pgprot_val(prot)); in clear_pte_bit()
533 return __pte(pte_val(pte) | pgprot_val(prot)); in set_pte_bit()
962 set_pte(ptep, __pte(_PAGE_INVALID)); in pte_clear()
1124 res = ptep_xchg_lazy(mm, addr, ptep, __pte(_PAGE_INVALID)); in ptep_get_and_clear()
1142 res = ptep_xchg_direct(vma->vm_mm, addr, ptep, __pte(_PAGE_INVALID)); in ptep_clear_flush()
1165 set_pte(ptep, __pte(_PAGE_INVALID)); in ptep_get_and_clear_full()
1167 res = ptep_xchg_lazy(mm, addr, ptep, __pte(_PAGE_INVALID)); in ptep_get_and_clear_full()
1275 pte_t __pte; in mk_pte_phys() local
1277 __pte = __pte(physpage | pgprot_val(pgprot)); in mk_pte_phys()
1279 __pte = clear_pte_bit(__pte, __pgprot(_PAGE_NOEXEC)); in mk_pte_phys()
1280 return pte_mkyoung(__pte); in mk_pte_phys()
1286 pte_t __pte = mk_pte_phys(physpage, pgprot); in mk_pte() local
1288 if (pte_write(__pte) && PageDirty(page)) in mk_pte()
1289 __pte = pte_mkdirty(__pte); in mk_pte()
1290 return __pte; in mk_pte()
1756 return __pte(pteval); in mk_swap_pte()