Home
last modified time | relevance | path

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

/arch/arm64/include/asm/
Dpgtable-prot.h16 #define PTE_WRITE (PTE_DBM) /* same as DBM (51) */ macro
35 #define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_n…
36 #define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nG…
37 #define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC))
38 #define PROT_NORMAL_WT (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_WT))
39 #define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
49 #define PAGE_KERNEL_RO __pgprot((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY)
50 #define PAGE_KERNEL_ROX __pgprot((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY)
84 …GE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRITE)
85 …ine PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WRITE)
Dpgtable.h85 #define pte_write(pte) (!!(pte_val(pte) & PTE_WRITE))
147 pte = set_pte_bit(pte, __pgprot(PTE_WRITE)); in pte_mkwrite()
179 pte = clear_pte_bit(pte, __pgprot(PTE_WRITE)); in pte_wrprotect()
677 PTE_PROT_NONE | PTE_VALID | PTE_WRITE; in pte_modify()
/arch/unicore32/include/asm/
Dpgtable.h88 | PTE_WRITE))
90 | PTE_WRITE \
103 | PTE_WRITE)
105 | PTE_WRITE \
176 #define pte_write(pte) (pte_val(pte) & PTE_WRITE)
185 PTE_BIT_FUNC(wrprotect, &= ~PTE_WRITE);
186 PTE_BIT_FUNC(mkwrite, |= PTE_WRITE);
241 const unsigned long mask = PTE_EXEC | PTE_WRITE | PTE_READ; in pte_modify()
Dpgtable-hwdef.h48 #define PTE_WRITE (1 << 7) macro
/arch/arm64/mm/
Dpageattr.c115 __pgprot(PTE_WRITE)); in set_memory_ro()
121 __pgprot(PTE_WRITE), in set_memory_rw()
169 .set_mask = __pgprot(PTE_VALID | PTE_WRITE), in set_direct_map_default_noflush()
Dfault.c208 pte_val(entry) &= PTE_RDONLY | PTE_AF | PTE_WRITE | PTE_DIRTY; in ptep_set_access_flags()
Dmmu.c123 static const pteval_t mask = PTE_PXN | PTE_RDONLY | PTE_WRITE | PTE_NG; in pgattr_change_is_safe()
/arch/unicore32/mm/
Dmmu.c83 PTE_DIRTY | PTE_READ | PTE_WRITE)
105 PTE_CACHEABLE | PTE_READ | PTE_WRITE |
111 PTE_WRITE | PTE_EXEC,
135 PTE_DIRTY | PTE_READ | PTE_WRITE | in build_mem_type_table()