Home
last modified time | relevance | path

Searched refs:new_prot (Results 1 – 5 of 5) sorted by relevance

/arch/x86/mm/
Dmem_encrypt.c201 pgprot_t old_prot, new_prot; in __set_clr_pte_enc() local
222 new_prot = old_prot; in __set_clr_pte_enc()
224 pgprot_val(new_prot) |= _PAGE_ENC; in __set_clr_pte_enc()
226 pgprot_val(new_prot) &= ~_PAGE_ENC; in __set_clr_pte_enc()
229 if (pgprot_val(old_prot) == pgprot_val(new_prot)) in __set_clr_pte_enc()
249 new_pte = pfn_pte(pfn, new_prot); in __set_clr_pte_enc()
Dpageattr.c750 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local
866 new_prot = static_protections(req_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
878 if (pgprot_val(req_prot) != pgprot_val(new_prot)) in __should_split_large_page()
882 new_pte = pfn_pte(old_pfn, new_prot); in __should_split_large_page()
1509 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr() local
1512 pgprot_val(new_prot) &= ~pgprot_val(cpa->mask_clr); in __change_page_attr()
1513 pgprot_val(new_prot) |= pgprot_val(cpa->mask_set); in __change_page_attr()
1517 new_prot = static_protections(new_prot, address, pfn, 1, 0, in __change_page_attr()
1520 new_prot = pgprot_clear_protnone_bits(new_prot); in __change_page_attr()
1527 new_pte = pfn_pte(pfn, new_prot); in __change_page_attr()
Ddump_pagetables.c269 pgprot_t new_prot, pgprotval_t new_eff, int level) in note_page() argument
279 prot = pgprot_val(new_prot); in note_page()
285 st->current_prot = new_prot; in note_page()
345 st->current_prot = new_prot; in note_page()
Dinit_64.c513 pgprot_t new_prot = prot; in phys_pmd_init() local
554 new_prot = pte_pgprot(pte_clrhuge(*(pte_t *)pmd)); in phys_pmd_init()
570 paddr_last = phys_pte_init(pte, paddr, paddr_end, new_prot, init); in phys_pmd_init()
/arch/s390/mm/
Ddump_pagetables.c68 unsigned int new_prot, int level) in note_page() argument
81 prot = new_prot; in note_page()
86 st->current_prot = new_prot; in note_page()
108 st->current_prot = new_prot; in note_page()