Searched refs:old_prot (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/arch/x86/mm/ |
A 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.3-rc2/arch/x86/mm/pat/ |
A D | set_memory.c | 844 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local 858 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page() 863 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page() 890 req_prot = pgprot_large_2_4k(old_prot); in __should_split_large_page() 924 chk_prot = static_protections(old_prot, lpaddr, old_pfn, numpages, in __should_split_large_page() 927 if (WARN_ON_ONCE(pgprot_val(chk_prot) != pgprot_val(old_prot))) { in __should_split_large_page() 945 if (pgprot_val(req_prot) == pgprot_val(old_prot)) { in __should_split_large_page() 963 new_prot = verify_rwx(old_prot, new_prot, lpaddr, old_pfn, numpages); in __should_split_large_page() 1605 pgprot_t old_prot = pte_pgprot(old_pte); in __change_page_attr() local 1617 new_prot = verify_rwx(old_prot, new_prot, address, pfn, 1); in __change_page_attr()
|
/linux-6.3-rc2/drivers/target/ |
A D | target_core_configfs.c | 797 int old_prot = da->pi_prot_type, ret; in pi_prot_type_store() local 839 if (flag && !old_prot) { in pi_prot_type_store() 842 da->pi_prot_type = old_prot; in pi_prot_type_store() 847 } else if (!flag && old_prot) { in pi_prot_type_store()
|
Completed in 14 milliseconds