Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/mm/
Dmem_encrypt_amd.c352 pgprot_t old_prot, new_prot; in __set_clr_pte_enc() local
360 new_prot = old_prot; in __set_clr_pte_enc()
362 pgprot_val(new_prot) |= _PAGE_ENC; in __set_clr_pte_enc()
364 pgprot_val(new_prot) &= ~_PAGE_ENC; in __set_clr_pte_enc()
367 if (pgprot_val(old_prot) == pgprot_val(new_prot)) in __set_clr_pte_enc()
394 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.6.21/arch/x86/mm/pat/
Dset_memory.c845 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local
961 new_prot = static_protections(req_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
964 new_prot = verify_rwx(old_prot, new_prot, lpaddr, old_pfn, numpages); in __should_split_large_page()
975 if (pgprot_val(req_prot) != pgprot_val(new_prot)) in __should_split_large_page()
979 new_pte = pfn_pte(old_pfn, new_prot); in __should_split_large_page()
1607 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr() local
1610 pgprot_val(new_prot) &= ~pgprot_val(cpa->mask_clr); in __change_page_attr()
1611 pgprot_val(new_prot) |= pgprot_val(cpa->mask_set); in __change_page_attr()
1615 new_prot = static_protections(new_prot, address, pfn, 1, 0, in __change_page_attr()
1618 new_prot = verify_rwx(old_prot, new_prot, address, pfn, 1); in __change_page_attr()
[all …]