Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/mm/
Dpageattr.c558 pgprot_t old_prot, new_prot, req_prot; in try_preserve_large_page() local
607 req_prot = pgprot_large_2_4k(old_prot); in try_preserve_large_page()
609 pgprot_val(req_prot) &= ~pgprot_val(cpa->mask_clr); in try_preserve_large_page()
610 pgprot_val(req_prot) |= pgprot_val(cpa->mask_set); in try_preserve_large_page()
617 req_prot = pgprot_4k_2_large(req_prot); in try_preserve_large_page()
618 req_prot = pgprot_clear_protnone_bits(req_prot); in try_preserve_large_page()
619 if (pgprot_val(req_prot) & _PAGE_PRESENT) in try_preserve_large_page()
620 pgprot_val(req_prot) |= _PAGE_PSE; in try_preserve_large_page()
629 new_prot = static_protections(req_prot, address, pfn); in try_preserve_large_page()
639 pgprot_t chk_prot = static_protections(req_prot, addr, pfn); in try_preserve_large_page()