Searched refs:old_prot (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/arch/x86/mm/ |
D | mem_encrypt_amd.c | 350 pgprot_t old_prot, new_prot; in __set_clr_pte_enc() local 354 pfn = pg_level_to_pfn(level, kpte, &old_prot); in __set_clr_pte_enc() 358 new_prot = old_prot; in __set_clr_pte_enc() 365 if (pgprot_val(old_prot) == pgprot_val(new_prot)) in __set_clr_pte_enc()
|
/linux-6.1.9/arch/x86/mm/pat/ |
D | set_memory.c | 813 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local 827 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page() 832 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page() 859 req_prot = pgprot_large_2_4k(old_prot); in __should_split_large_page() 893 chk_prot = static_protections(old_prot, lpaddr, old_pfn, numpages, in __should_split_large_page() 896 if (WARN_ON_ONCE(pgprot_val(chk_prot) != pgprot_val(old_prot))) { in __should_split_large_page() 914 if (pgprot_val(req_prot) == pgprot_val(old_prot)) { in __should_split_large_page() 932 new_prot = verify_rwx(old_prot, new_prot, lpaddr, old_pfn, numpages); in __should_split_large_page() 1574 pgprot_t old_prot = pte_pgprot(old_pte); in __change_page_attr() local 1586 new_prot = verify_rwx(old_prot, new_prot, address, pfn, 1); in __change_page_attr()
|
/linux-6.1.9/drivers/target/ |
D | target_core_configfs.c | 795 int old_prot = da->pi_prot_type, ret; in pi_prot_type_store() local 837 if (flag && !old_prot) { in pi_prot_type_store() 840 da->pi_prot_type = old_prot; in pi_prot_type_store() 845 } else if (!flag && old_prot) { in pi_prot_type_store()
|