Lines Matching refs:prot
9 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() argument
14 if (system_supports_bti() && (prot & PROT_BTI)) in arch_calc_vm_prot_bits()
17 if (system_supports_mte() && (prot & PROT_MTE)) in arch_calc_vm_prot_bits()
22 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
40 pteval_t prot = 0; in arch_vm_get_page_prot() local
43 prot |= PTE_GP; in arch_vm_get_page_prot()
56 prot |= PTE_ATTRINDX(MT_NORMAL_TAGGED); in arch_vm_get_page_prot()
58 return __pgprot(prot); in arch_vm_get_page_prot()
62 static inline bool arch_validate_prot(unsigned long prot, in arch_validate_prot() argument
73 return (prot & ~supported) == 0; in arch_validate_prot()
75 #define arch_validate_prot(prot, addr) arch_validate_prot(prot, addr) argument