Lines Matching refs:pte_val

270 	return __page_val_to_pfn(pte_val(pte));  in pte_pfn()
289 return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)); in pte_present()
294 return (pte_val(pte) == 0); in pte_none()
299 return pte_val(pte) & _PAGE_WRITE; in pte_write()
304 return pte_val(pte) & _PAGE_EXEC; in pte_exec()
309 return pte_val(pte) & _PAGE_USER; in pte_user()
314 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge()
319 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
324 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
329 return pte_val(pte) & _PAGE_SPECIAL; in pte_special()
336 return __pte(pte_val(pte) & ~(_PAGE_WRITE)); in pte_wrprotect()
343 return __pte(pte_val(pte) | _PAGE_WRITE); in pte_mkwrite()
350 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty()
355 return __pte(pte_val(pte) & ~(_PAGE_DIRTY)); in pte_mkclean()
360 return __pte(pte_val(pte) | _PAGE_ACCESSED); in pte_mkyoung()
365 return __pte(pte_val(pte) & ~(_PAGE_ACCESSED)); in pte_mkold()
370 return __pte(pte_val(pte) | _PAGE_SPECIAL); in pte_mkspecial()
384 return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)) == _PAGE_PROT_NONE; in pte_protnone()
400 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | newprot_val); in pte_modify()
435 return pte_val(pte_a) == pte_val(pte_b); in pte_same()
504 return test_and_clear_bit(_PAGE_ACCESSED_OFFSET, &pte_val(*ptep)); in ptep_test_and_clear_young()
563 return __pmd(pte_val(pte)); in pte_pmd()
756 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
761 return pte_val(pte) & _PAGE_SWP_EXCLUSIVE; in pte_swp_exclusive()
766 return __pte(pte_val(pte) | _PAGE_SWP_EXCLUSIVE); in pte_swp_mkexclusive()
771 return __pte(pte_val(pte) & ~_PAGE_SWP_EXCLUSIVE); in pte_swp_clear_exclusive()