Lines Matching refs:pte_t
29 extern pte_t *va_to_pte(unsigned long address);
245 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; }
246 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; }
247 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; }
248 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; }
249 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
251 static inline void pte_uncache(pte_t pte) { pte_val(pte) |= _PAGE_NO_CACHE; }
252 static inline void pte_cache(pte_t pte) { pte_val(pte) &= ~_PAGE_NO_CACHE; }
254 static inline pte_t pte_rdprotect(pte_t pte) \
256 static inline pte_t pte_wrprotect(pte_t pte) \
258 static inline pte_t pte_exprotect(pte_t pte) \
260 static inline pte_t pte_mkclean(pte_t pte) \
262 static inline pte_t pte_mkold(pte_t pte) \
265 static inline pte_t pte_mkread(pte_t pte) \
267 static inline pte_t pte_mkexec(pte_t pte) \
269 static inline pte_t pte_mkwrite_novma(pte_t pte) \
271 static inline pte_t pte_mkdirty(pte_t pte) \
273 static inline pte_t pte_mkyoung(pte_t pte) \
281 static inline pte_t mk_pte_phys(phys_addr_t physpage, pgprot_t pgprot)
283 pte_t pte;
290 pte_t pte; \
296 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
310 static inline unsigned long pte_update(pte_t *p, unsigned long clr,
333 static inline void set_pte(pte_t *ptep, pte_t pte)
340 unsigned long address, pte_t *ptep)
346 unsigned long addr, pte_t *ptep)
353 static inline pte_t ptep_get_and_clear(struct mm_struct *mm,
354 unsigned long addr, pte_t *ptep)
360 unsigned long addr, pte_t *ptep)
366 unsigned long addr, pte_t *ptep)
406 #define __swp_entry_to_pte(x) ((pte_t) { (x).val << 2 })
408 static inline int pte_swp_exclusive(pte_t pte)
413 static inline pte_t pte_swp_mkexclusive(pte_t pte)
419 static inline pte_t pte_swp_clear_exclusive(pte_t pte)