Lines Matching refs:pte_val
250 return __pmd(pte_val(pte)); in pfn_pmd()
269 : "r" (pte_val(pte)), in pte_pfn()
332 return __pte((pte_val(pte) & mask) | (pgprot_val(prot) & ~mask)); in pte_modify()
342 return __pmd(pte_val(pte)); in pmd_modify()
399 return __pte(pte_val(pte) | __pte_default_huge_mask()); in pte_mkhuge()
406 return (pte_val(pte) & mask) == mask; in is_default_hugetlb_pte()
425 pte_val(pte) |= _PAGE_PMD_HUGE; in pmd_mkhuge()
427 return __pmd(pte_val(pte)); in pmd_mkhuge()
439 unsigned long val = pte_val(pte), tmp; in pte_mkdirty()
463 unsigned long val = pte_val(pte), tmp; in pte_mkclean()
487 unsigned long val = pte_val(pte), mask; in pte_mkwrite()
505 unsigned long val = pte_val(pte), tmp; in pte_wrprotect()
544 return __pte(pte_val(pte) & ~mask); in pte_mkold()
564 return __pte(pte_val(pte) | mask); in pte_mkyoung()
569 pte_val(pte) |= _PAGE_SPECIAL; in pte_mkspecial()
575 pte_val(pte) |= _PAGE_MCD_4V; in pte_mkmcd()
581 pte_val(pte) &= ~_PAGE_MCD_4V; in pte_mknotmcd()
600 return (pte_val(pte) & mask); in pte_young()
618 return (pte_val(pte) & mask); in pte_dirty()
636 return (pte_val(pte) & mask); in pte_write()
652 return (pte_val(pte) & mask); in pte_exec()
657 unsigned long val = pte_val(pte); in pte_present()
674 return pte_val(a) & _PAGE_VALID; in pte_accessible()
679 return pte_val(pte) & _PAGE_SPECIAL; in pte_special()
687 return pte_val(pte) & _PAGE_PMD_HUGE; in pmd_large()
726 return pte_val(pte) & _PAGE_PMD_HUGE; in pmd_trans_huge()
735 return __pmd(pte_val(pte)); in pmd_mkold()
744 return __pmd(pte_val(pte)); in pmd_wrprotect()
753 return __pmd(pte_val(pte)); in pmd_mkdirty()
762 return __pmd(pte_val(pte)); in pmd_mkclean()
771 return __pmd(pte_val(pte)); in pmd_mkyoung()
780 return __pmd(pte_val(pte)); in pmd_mkwrite()
872 return pte_val(pte) & _PAGE_PMD_HUGE; in pud_large()
883 #define pte_none(pte) (!pte_val(pte))
991 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
1026 if (adi_state.enabled && (pte_val(pte) & _PAGE_MCD_4V)) in arch_do_swap_page()
1035 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one()
1091 return (pte_val(pte) & (prot | _PAGE_SPECIAL)) == prot; in pte_access_permitted()