Lines Matching refs:pte_val
256 return (pte_val(pte) >> _PAGE_PFN_SHIFT); in pte_pfn()
271 return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)); in pte_present()
276 return (pte_val(pte) == 0); in pte_none()
281 return pte_val(pte) & _PAGE_WRITE; in pte_write()
286 return pte_val(pte) & _PAGE_EXEC; in pte_exec()
291 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge()
296 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
301 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
306 return pte_val(pte) & _PAGE_SPECIAL; in pte_special()
313 return __pte(pte_val(pte) & ~(_PAGE_WRITE)); in pte_wrprotect()
320 return __pte(pte_val(pte) | _PAGE_WRITE); in pte_mkwrite()
327 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty()
332 return __pte(pte_val(pte) & ~(_PAGE_DIRTY)); in pte_mkclean()
337 return __pte(pte_val(pte) | _PAGE_ACCESSED); in pte_mkyoung()
342 return __pte(pte_val(pte) & ~(_PAGE_ACCESSED)); in pte_mkold()
347 return __pte(pte_val(pte) | _PAGE_SPECIAL); in pte_mkspecial()
361 return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)) == _PAGE_PROT_NONE; in pte_protnone()
373 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
405 return pte_val(pte_a) == pte_val(pte_b); in pte_same()
463 return test_and_clear_bit(_PAGE_ACCESSED_OFFSET, &pte_val(*ptep)); in ptep_test_and_clear_young()
500 return __pmd(pte_val(pte)); in pte_pmd()
648 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })