Home
last modified time | relevance | path

Searched refs:old_prot (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/mm/pat/
H A Dset_memory.c932 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local
947 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page()
952 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page()
979 req_prot = pgprot_large_2_4k(old_prot); in __should_split_large_page()
1013 chk_prot = static_protections(old_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
1016 if (WARN_ON_ONCE(pgprot_val(chk_prot) != pgprot_val(old_prot))) { in __should_split_large_page()
1034 if (pgprot_val(req_prot) == pgprot_val(old_prot)) { in __should_split_large_page()
1052 new_prot = verify_rwx(old_prot, new_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
1855 pgprot_t old_prot = pte_pgprot(old_pte); in __change_page_attr() local
1867 new_prot = verify_rwx(old_prot, new_pro in __change_page_attr()
[all...]
/linux/drivers/target/
H A Dtarget_core_configfs.c843 int old_prot = da->pi_prot_type, ret; in pi_prot_type_store() local
885 if (flag && !old_prot) { in pi_prot_type_store()
888 da->pi_prot_type = old_prot; in pi_prot_type_store()
893 } else if (!flag && old_prot) { in pi_prot_type_store()