Lines Matching full:new
57 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set() argument
76 crdte(*old, new, table, dtt, addr, S390_lowcore.kernel_asce); in pgt_set()
78 cspg(old, *old, new); in pgt_set()
80 csp((unsigned int *)old + 1, *old, new); in pgt_set()
87 pte_t *ptep, new; in walk_pte_level() local
93 new = *ptep; in walk_pte_level()
94 if (pte_none(new)) in walk_pte_level()
97 new = pte_wrprotect(new); in walk_pte_level()
99 new = pte_mkwrite(pte_mkdirty(new)); in walk_pte_level()
101 new = set_pte_bit(new, __pgprot(_PAGE_NOEXEC)); in walk_pte_level()
103 new = clear_pte_bit(new, __pgprot(_PAGE_NOEXEC)); in walk_pte_level()
104 pgt_set((unsigned long *)ptep, pte_val(new), addr, CRDTE_DTT_PAGE); in walk_pte_level()
116 pmd_t new; in split_pmd_page() local
134 new = __pmd(__pa(pt_dir) | _SEGMENT_ENTRY); in split_pmd_page()
135 pgt_set((unsigned long *)pmdp, pmd_val(new), addr, CRDTE_DTT_SEGMENT); in split_pmd_page()
144 pmd_t new = *pmdp; in modify_pmd_page() local
147 new = pmd_wrprotect(new); in modify_pmd_page()
149 new = pmd_mkwrite(pmd_mkdirty(new)); in modify_pmd_page()
151 new = set_pmd_bit(new, __pgprot(_SEGMENT_ENTRY_NOEXEC)); in modify_pmd_page()
153 new = clear_pmd_bit(new, __pgprot(_SEGMENT_ENTRY_NOEXEC)); in modify_pmd_page()
154 pgt_set((unsigned long *)pmdp, pmd_val(new), addr, CRDTE_DTT_SEGMENT); in modify_pmd_page()
197 pud_t new; in split_pud_page() local
215 new = __pud(__pa(pm_dir) | _REGION3_ENTRY); in split_pud_page()
216 pgt_set((unsigned long *)pudp, pud_val(new), addr, CRDTE_DTT_REGION3); in split_pud_page()
225 pud_t new = *pudp; in modify_pud_page() local
228 new = pud_wrprotect(new); in modify_pud_page()
230 new = pud_mkwrite(pud_mkdirty(new)); in modify_pud_page()
232 new = set_pud_bit(new, __pgprot(_REGION_ENTRY_NOEXEC)); in modify_pud_page()
234 new = clear_pud_bit(new, __pgprot(_REGION_ENTRY_NOEXEC)); in modify_pud_page()
235 pgt_set((unsigned long *)pudp, pud_val(new), addr, CRDTE_DTT_REGION3); in modify_pud_page()