Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/mm/
Dmem_encrypt_amd.c350 pgprot_t old_prot, new_prot; in __set_clr_pte_enc() local
358 new_prot = old_prot; in __set_clr_pte_enc()
360 pgprot_val(new_prot) |= _PAGE_ENC; in __set_clr_pte_enc()
362 pgprot_val(new_prot) &= ~_PAGE_ENC; in __set_clr_pte_enc()
365 if (pgprot_val(old_prot) == pgprot_val(new_prot)) in __set_clr_pte_enc()
392 new_pte = pfn_pte(pfn, new_prot); in __set_clr_pte_enc()
Ddump_pagetables.c278 pgprotval_t new_prot, new_eff; in note_page() local
283 new_prot = val & PTE_FLAGS_MASK; in note_page()
299 st->current_prot = new_prot; in note_page()
306 } else if (new_prot != cur || new_eff != eff || level != st->level || in note_page()
359 st->current_prot = new_prot; in note_page()
Dinit_64.c519 pgprot_t new_prot = prot; in phys_pmd_init() local
560 new_prot = pte_pgprot(pte_clrhuge(*(pte_t *)pmd)); in phys_pmd_init()
575 paddr_last = phys_pte_init(pte, paddr, paddr_end, new_prot, init); in phys_pmd_init()
/linux-6.1.9/arch/x86/mm/pat/
Dset_memory.c813 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local
929 new_prot = static_protections(req_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
932 new_prot = verify_rwx(old_prot, new_prot, lpaddr, old_pfn, numpages); in __should_split_large_page()
943 if (pgprot_val(req_prot) != pgprot_val(new_prot)) in __should_split_large_page()
947 new_pte = pfn_pte(old_pfn, new_prot); in __should_split_large_page()
1575 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr() local
1578 pgprot_val(new_prot) &= ~pgprot_val(cpa->mask_clr); in __change_page_attr()
1579 pgprot_val(new_prot) |= pgprot_val(cpa->mask_set); in __change_page_attr()
1583 new_prot = static_protections(new_prot, address, pfn, 1, 0, in __change_page_attr()
1586 new_prot = verify_rwx(old_prot, new_prot, address, pfn, 1); in __change_page_attr()
[all …]