Lines Matching refs:pte
100 #define pte_unmap(pte) kunmap_atomic((pte)) argument
103 #define pte_unmap(pte) ((void)(pte)) /* NOP */ argument
204 pte_t pte = *ptep; in ptep_test_and_clear_young() local
206 if (!pte_young(pte)) in ptep_test_and_clear_young()
209 set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); in ptep_test_and_clear_young()
280 pte_t pte = *ptep; in ptep_get_and_clear() local
282 return pte; in ptep_get_and_clear()
327 pte_t pte; in ptep_get_lockless() local
330 pte.pte_low = ptep->pte_low; in ptep_get_lockless()
332 pte.pte_high = ptep->pte_high; in ptep_get_lockless()
334 } while (unlikely(pte.pte_low != ptep->pte_low)); in ptep_get_lockless()
336 return pte; in ptep_get_lockless()
397 pte_t pte; in ptep_get_and_clear_full() local
398 pte = ptep_get_and_clear(mm, address, ptep); in ptep_get_and_clear_full()
399 return pte; in ptep_get_and_clear_full()
468 static inline pte_t pte_sw_mkyoung(pte_t pte) in pte_sw_mkyoung() argument
470 return pte; in pte_sw_mkyoung()
612 static inline int pte_unused(pte_t pte) in pte_unused() argument
619 #define pte_access_permitted(pte, write) \ argument
620 (pte_present(pte) && (!(write) || pte_write(pte)))
677 #define set_pte_safe(ptep, pte) \ argument
679 WARN_ON_ONCE(pte_present(*ptep) && !pte_same(*ptep, pte)); \
680 set_pte(ptep, pte); \
719 pte_t pte, pte_t oldpte) in arch_do_swap_page() argument
776 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
780 # define pte_accessible(mm, pte) ((void)(pte), 1) argument
898 pte_t *ptep, pte_t pte) in __ptep_modify_prot_commit() argument
904 set_pte_at(vma->vm_mm, addr, ptep, pte); in __ptep_modify_prot_commit()
935 pte_t *ptep, pte_t old_pte, pte_t pte) in ptep_modify_prot_commit() argument
937 __ptep_modify_prot_commit(vma, addr, ptep, pte); in ptep_modify_prot_commit()
1049 static inline int pte_soft_dirty(pte_t pte) in pte_soft_dirty() argument
1059 static inline pte_t pte_mksoft_dirty(pte_t pte) in pte_mksoft_dirty() argument
1061 return pte; in pte_mksoft_dirty()
1069 static inline pte_t pte_clear_soft_dirty(pte_t pte) in pte_clear_soft_dirty() argument
1071 return pte; in pte_clear_soft_dirty()
1079 static inline pte_t pte_swp_mksoft_dirty(pte_t pte) in pte_swp_mksoft_dirty() argument
1081 return pte; in pte_swp_mksoft_dirty()
1084 static inline int pte_swp_soft_dirty(pte_t pte) in pte_swp_soft_dirty() argument
1089 static inline pte_t pte_swp_clear_soft_dirty(pte_t pte) in pte_swp_clear_soft_dirty() argument
1091 return pte; in pte_swp_clear_soft_dirty()
1405 static inline int pte_protnone(pte_t pte) in pte_protnone() argument