Lines Matching refs:pte_val

118 	pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot);  in pte_modify()
132 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK))
137 #define pte_none(pte) (!pte_val(pte))
138 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
139 #define pte_clear(mm,addr,ptep) ({ pte_val(*(ptep)) = 0; })
141 #define pte_page(pte) virt_to_page(__va(pte_val(pte)))
142 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT)
165 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
176 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write()
177 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
178 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
180 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect()
181 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
182 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
183 static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_RONLY; return pte; } in pte_mkwrite()
184 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
185 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
188 pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | m68k_pgtable_cachemode; in pte_mknocache()
193 pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | m68k_supervisor_cachemode; in pte_mkcache()
204 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })