Lines Matching refs:pte_raw

345 	if ((pte_raw(*ptep) & cpu_to_be64(_PAGE_ACCESSED | H_PAGE_HASHPTE)) == 0)  in __ptep_test_and_clear_young()
381 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_WRITE)); in pte_write()
386 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read()
437 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_DIRTY)); in pte_dirty()
442 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_ACCESSED)); in pte_young()
447 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SPECIAL)); in pte_special()
452 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC)); in pte_exec()
459 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SOFT_DIRTY)); in pte_soft_dirty()
464 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SOFT_DIRTY)); in pte_mksoft_dirty()
469 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_SOFT_DIRTY)); in pte_clear_soft_dirty()
476 return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE | _PAGE_RWX)) == in pte_protnone()
483 return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) == in pte_hw_valid()
498 return (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) == in pte_present()
513 return !(pte_raw(pte) & cpu_to_be64(_PAGE_PRIVILEGED)); in pte_user()
550 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_WRITE)); in pte_wrprotect()
555 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_EXEC)); in pte_exprotect()
560 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_DIRTY)); in pte_mkclean()
565 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_ACCESSED)); in pte_mkold()
570 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_EXEC)); in pte_mkexec()
578 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_RW)); in pte_mkwrite_novma()
583 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_DIRTY | _PAGE_SOFT_DIRTY)); in pte_mkdirty()
588 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_ACCESSED)); in pte_mkyoung()
593 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL)); in pte_mkspecial()
603 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL | _PAGE_DEVMAP)); in pte_mkdevmap()
608 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PRIVILEGED)); in pte_mkprivileged()
613 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_PRIVILEGED)); in pte_mkuser()
626 return (pte_raw(pte) & mask) == mask; in pte_devmap()
632 return __pte_raw((pte_raw(pte) & cpu_to_be64(_PAGE_CHG_MASK)) | in pte_modify()
676 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SWP_SOFT_DIRTY)); in pte_swp_mksoft_dirty()
681 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SWP_SOFT_DIRTY)); in pte_swp_soft_dirty()
686 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_SWP_SOFT_DIRTY)); in pte_swp_clear_soft_dirty()
692 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SWP_EXCLUSIVE)); in pte_swp_mkexclusive()
697 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SWP_EXCLUSIVE)); in pte_swp_exclusive()
702 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_SWP_EXCLUSIVE)); in pte_swp_clear_exclusive()
754 VM_WARN_ON(!(pte_raw(pte) & cpu_to_be64(_PAGE_PTE))); in __set_pte_at()
759 pte = __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PTE)); in __set_pte_at()
798 __be64 pte_v = pte_raw(pte); in pte_ci()
892 return __pud_raw(pte_raw(pte)); in pte_pud()
960 return __p4d_raw(pte_raw(pte)); in pte_p4d()
1050 return __pmd_raw(pte_raw(pte)); in pte_pmd()