Lines Matching refs:pte_t
106 #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE)
240 static inline void flush_hash_entry(struct mm_struct *mm, pte_t *ptep, unsigned long addr) in flush_hash_entry()
259 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update()
302 unsigned long addr, pte_t *ptep) in __ptep_test_and_clear_young()
315 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, in ptep_get_and_clear()
316 pte_t *ptep) in ptep_get_and_clear()
323 pte_t *ptep) in ptep_set_wrprotect()
329 pte_t *ptep, pte_t entry, in __ptep_set_access_flags()
366 #define __swp_entry_to_pte(x) ((pte_t) { (x).val << 3 })
368 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
373 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
378 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()
384 static inline bool pte_read(pte_t pte) in pte_read()
389 static inline bool pte_write(pte_t pte) in pte_write()
394 static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } in pte_dirty()
395 static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); } in pte_young()
396 static inline int pte_special(pte_t pte) { return !!(pte_val(pte) & _PAGE_SPECIAL); } in pte_special()
397 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none()
398 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
400 static inline int pte_present(pte_t pte) in pte_present()
405 static inline bool pte_hw_valid(pte_t pte) in pte_hw_valid()
410 static inline bool pte_hashpte(pte_t pte) in pte_hashpte()
415 static inline bool pte_ci(pte_t pte) in pte_ci()
425 static inline bool pte_access_permitted(pte_t pte, bool write) in pte_access_permitted()
446 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
453 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
458 static inline pte_t pte_exprotect(pte_t pte) in pte_exprotect()
463 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
468 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
473 static inline pte_t pte_mkexec(pte_t pte) in pte_mkexec()
478 static inline pte_t pte_mkpte(pte_t pte) in pte_mkpte()
483 static inline pte_t pte_mkwrite_novma(pte_t pte) in pte_mkwrite_novma()
491 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
496 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
501 static inline pte_t pte_mkspecial(pte_t pte) in pte_mkspecial()
506 static inline pte_t pte_mkhuge(pte_t pte) in pte_mkhuge()
511 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
541 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at()