Lines Matching refs:ptep
94 static inline void set_pte(pte_t *ptep, pte_t pte) in set_pte() argument
96 ptep->pte_high = pte.pte_high; in set_pte()
98 ptep->pte_low = pte.pte_low; in set_pte()
102 pte_t *buddy = ptep_buddy(ptep); in set_pte()
113 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) argument
115 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in pte_clear() argument
120 if (ptep_buddy(ptep)->pte_low & _PAGE_GLOBAL) in pte_clear()
123 set_pte_at(mm, addr, ptep, null); in pte_clear()
135 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() argument
137 *ptep = pteval; in set_pte()
140 pte_t *buddy = ptep_buddy(ptep); in set_pte()
150 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) argument
152 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in pte_clear() argument
156 if (pte_val(*ptep_buddy(ptep)) & _PAGE_GLOBAL) in pte_clear()
157 set_pte_at(mm, addr, ptep, __pte(_PAGE_GLOBAL)); in pte_clear()
160 set_pte_at(mm, addr, ptep, __pte(0)); in pte_clear()