Lines Matching refs:pudp
175 static int walk_pmd_level(pud_t *pudp, unsigned long addr, unsigned long end, in walk_pmd_level() argument
183 pmdp = pmd_offset(pudp, addr); in walk_pmd_level()
211 static int split_pud_page(pud_t *pudp, unsigned long addr) in split_pud_page() argument
221 pmd_addr = pud_pfn(*pudp) << PAGE_SHIFT; in split_pud_page()
222 ro = !!(pud_val(*pudp) & _REGION_ENTRY_PROTECT); in split_pud_page()
223 nx = !!(pud_val(*pudp) & _REGION_ENTRY_NOEXEC); in split_pud_page()
234 pgt_set((unsigned long *)pudp, pud_val(new), addr, CRDTE_DTT_REGION3); in split_pud_page()
240 static void modify_pud_page(pud_t *pudp, unsigned long addr, in modify_pud_page() argument
243 pud_t new = *pudp; in modify_pud_page()
261 pgt_set((unsigned long *)pudp, pud_val(new), addr, CRDTE_DTT_REGION3); in modify_pud_page()
269 pud_t *pudp; in walk_pud_level() local
272 pudp = pud_offset(p4d, addr); in walk_pud_level()
274 if (pud_none(*pudp)) in walk_pud_level()
277 if (pud_leaf(*pudp)) { in walk_pud_level()
282 rc = split_pud_page(pudp, addr); in walk_pud_level()
287 modify_pud_page(pudp, addr, flags); in walk_pud_level()
289 rc = walk_pmd_level(pudp, addr, next, flags); in walk_pud_level()
291 pudp++; in walk_pud_level()