Lines Matching refs:pte_t
64 pte_t old_pte; \
279 extern pte_t pg0[];
357 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
358 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
359 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
360 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
362 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
363 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
364 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } in pte_wrprotect()
365 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
366 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
367 static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_WRITE; return pte; } in pte_mkwrite()
368 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
389 pte_t __pte; \
398 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
400 pte_t pte; in pfn_pte()
405 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
441 ((pte_t *) pmd_page_vaddr(*(pmd)) + pte_index(address))
454 extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t *);
465 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
467 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, pte_t *… in ptep_test_and_clear_young()
469 pte_t pte; in ptep_test_and_clear_young()
488 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_get_and_clear()
490 pte_t old_pte; in ptep_get_and_clear()
503 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_set_wrprotect()