Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/mm/pat/
H A Dset_memory.c880 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local
927 req_prot = pgprot_large_2_4k(old_prot); in __should_split_large_page()
929 pgprot_val(req_prot) &= ~pgprot_val(cpa->mask_clr); in __should_split_large_page()
930 pgprot_val(req_prot) |= pgprot_val(cpa->mask_set); in __should_split_large_page()
937 req_prot = pgprot_4k_2_large(req_prot); in __should_split_large_page()
938 req_prot = pgprot_clear_protnone_bits(req_prot); in __should_split_large_page()
939 if (pgprot_val(req_prot) & _PAGE_PRESENT) in __should_split_large_page()
940 pgprot_val(req_prot) |= _PAGE_PSE; in __should_split_large_page()
982 if (pgprot_val(req_prot) == pgprot_val(old_prot)) { in __should_split_large_page()
997 new_prot = static_protections(req_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
[all …]