Lines Matching refs:pmd_val
36 pmd_val(pmd) = pte_val(pte) & PAGE_MASK; in __pte_to_pmd()
37 pmd_val(pmd) |= (pte_val(pte) & _PAGE_READ) >> 4; in __pte_to_pmd()
38 pmd_val(pmd) |= (pte_val(pte) & _PAGE_WRITE) >> 4; in __pte_to_pmd()
39 pmd_val(pmd) |= (pte_val(pte) & _PAGE_INVALID) >> 5; in __pte_to_pmd()
40 pmd_val(pmd) |= (pte_val(pte) & _PAGE_PROTECT); in __pte_to_pmd()
41 pmd_val(pmd) |= (pte_val(pte) & _PAGE_DIRTY) << 10; in __pte_to_pmd()
42 pmd_val(pmd) |= (pte_val(pte) & _PAGE_YOUNG) << 10; in __pte_to_pmd()
43 pmd_val(pmd) |= (pte_val(pte) & _PAGE_SOFT_DIRTY) << 13; in __pte_to_pmd()
45 pmd_val(pmd) = _SEGMENT_ENTRY_INVALID; in __pte_to_pmd()
74 pte_val(pte) = pmd_val(pmd) & _SEGMENT_ENTRY_ORIGIN_LARGE; in __pmd_to_pte()
76 pte_val(pte) |= (pmd_val(pmd) & _SEGMENT_ENTRY_READ) << 4; in __pmd_to_pte()
77 pte_val(pte) |= (pmd_val(pmd) & _SEGMENT_ENTRY_WRITE) << 4; in __pmd_to_pte()
78 pte_val(pte) |= (pmd_val(pmd) & _SEGMENT_ENTRY_INVALID) << 5; in __pmd_to_pte()
79 pte_val(pte) |= (pmd_val(pmd) & _SEGMENT_ENTRY_PROTECT); in __pmd_to_pte()
80 pte_val(pte) |= (pmd_val(pmd) & _SEGMENT_ENTRY_DIRTY) >> 10; in __pmd_to_pte()
81 pte_val(pte) |= (pmd_val(pmd) & _SEGMENT_ENTRY_YOUNG) >> 10; in __pmd_to_pte()
82 pte_val(pte) |= (pmd_val(pmd) & _SEGMENT_ENTRY_SOFT_DIRTY) >> 13; in __pmd_to_pte()
93 pmd_val(pmd) |= _SEGMENT_ENTRY_LARGE; in set_huge_pte_at()
111 pmd_val(*pmdp) = _SEGMENT_ENTRY_EMPTY; in huge_ptep_get_and_clear()