Lines Matching refs:pte_t

36 typedef pte_t *pte_addr_t;
63 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
375 static inline int pte_dirty(pte_t pte) { return (pte).pte & _PAGE_DIRTY; } in pte_dirty()
376 static inline int pte_young(pte_t pte) { return (pte).pte & _PAGE_ACCESSED; } in pte_young()
377 static inline int pte_write(pte_t pte) { return !((pte).pte & _PAGE_WP); } in pte_write()
378 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
380 static inline pte_t pte_mkclean(pte_t pte) { (pte).pte &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
381 static inline pte_t pte_mkold(pte_t pte) { (pte).pte &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
382 static inline pte_t pte_wrprotect(pte_t pte) { (pte).pte |= _PAGE_WP; return pte; } in pte_wrprotect()
383 static inline pte_t pte_mkdirty(pte_t pte) { (pte).pte |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
384 static inline pte_t pte_mkyoung(pte_t pte) { (pte).pte |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
385 static inline pte_t pte_mkwrite(pte_t pte) { (pte).pte &= ~_PAGE_WP; return pte; } in pte_mkwrite()
386 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
388 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, pte_t *… in ptep_test_and_clear_young()
395 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_get_and_clear()
402 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_set_wrprotect()
424 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
447 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
451 ((pte_t *)kmap_atomic(pmd_page(*(dir))) + pte_index(address))
455 ((pte_t *)page_address(pmd_page(*(dir))) + pte_index(address))
470 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
485 static inline void update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) in update_mmu_cache()