Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kernel/pi/
Dmap_range.c33 u64 protval = pgprot_val(prot) & ~PTE_TYPE_MASK; in map_range() local
47 if (protval) in map_range()
48 protval |= (level < 3) ? PMD_TYPE_SECT : PTE_TYPE_PAGE; in map_range()
72 protval |= PTE_CONT; in map_range()
79 protval &= ~PTE_CONT; in map_range()
82 *tbl = __pte(__phys_to_pte_val(pa) | protval); in map_range()
/linux-6.12.1/drivers/virt/coco/pkvm-guest/
Darm-pkvm-guest.c76 pteval_t protval = pgprot_val(*prot); in mmio_guard_ioremap_hook() local
82 if (protval != PROT_DEVICE_nGnRE && protval != PROT_DEVICE_nGnRnE) in mmio_guard_ioremap_hook()
/linux-6.12.1/arch/x86/include/asm/
Dpgtable.h759 pgprotval_t protval = pgprot_val(pgprot); in massage_pgprot() local
761 if (protval & _PAGE_PRESENT) in massage_pgprot()
762 protval &= __supported_pte_mask; in massage_pgprot()
764 return protval; in massage_pgprot()