Home
last modified time | relevance | path

Searched refs:_PAGE_PRESENT (Results 1 – 25 of 94) sorted by relevance

1234

/arch/cris/include/arch-v32/arch/
Dmmu.h55 #define _PAGE_PRESENT (1 << 5) /* Page is present in memory. */ macro
66 #define _PAGE_TABLE (_PAGE_PRESENT | __READABLE | __WRITEABLE)
69 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
70 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
72 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
75 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
76 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE | _PAGE_ACCESSED)
78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE)
79 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE)
81 _PAGE_PRESENT | __READABLE | __WRITEABLE)
[all …]
/arch/mips/mm/
Dcache.c146 …protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
147 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
148 …protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
149 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
150 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); in setup_protection_map()
151 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
152 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); in setup_protection_map()
153 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
155 …protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
156 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/arch/cris/include/arch-v10/arch/
Dmmu.h60 #define _PAGE_PRESENT (1<<4) /* page present in memory */ macro
72 #define _PAGE_TABLE (_PAGE_PRESENT | __READABLE | __WRITEABLE)
75 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
76 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE) // | _PAGE_COW
79 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
81 _PAGE_PRESENT | __READABLE | __WRITEABLE)
/arch/hexagon/include/asm/
Dpgtable.h60 #define _PAGE_PRESENT (1<<0) macro
76 #define _PAGE_VALID _PAGE_PRESENT
128 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
130 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
133 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
136 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
138 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
152 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF)
153 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF)
156 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
[all …]
/arch/sh/include/asm/
Dpgtable_32.h51 #define _PAGE_PRESENT 0x100 /* V-bit : page is valid */ macro
182 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
189 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
198 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
203 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
208 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
217 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
225 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
232 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
245 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
[all …]
Dpgtable_64.h66 #define pmd_present(pmd_entry) (pmd_val(pmd_entry) & _PAGE_PRESENT)
112 #define _PAGE_PRESENT 0x004 /* software: page referenced */ macro
135 #define _PAGE_CLEAR_FLAGS (_PAGE_PRESENT | _PAGE_FILE | _PAGE_SHARED | \
169 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
183 #define _PAGE_COMMON (_PAGE_PRESENT | _PAGE_USER | \
204 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
233 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
/arch/m32r/include/asm/
Dpgtable.h97 #define _PAGE_PRESENT (1UL << _PAGE_BIT_PRESENT) macro
108 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
111 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
120 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED)
122 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ \
125 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
127 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
129 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
131 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
134 ( _PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ | _PAGE_DIRTY \
[all …]
/arch/tile/include/asm/
Dpgtable.h70 #define _PAGE_PRESENT HV_PTE_PRESENT macro
86 _PAGE_PRESENT | \
98 __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
100 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \
104 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \
107 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
109 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
114 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
116 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
120 (_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_READABLE | _PAGE_ACCESSED)
[all …]
/arch/x86/include/asm/
Dpgtable_types.h34 #define _PAGE_PRESENT (_AT(pteval_t, 1) << _PAGE_BIT_PRESENT) macro
67 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
69 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \
84 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
87 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \
89 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
91 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
94 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
96 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
100 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
/arch/um/include/asm/
Dpgtable.h13 #define _PAGE_PRESENT 0x001 macro
60 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
61 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
64 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
66 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
67 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
68 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
69 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
109 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
122 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE))
/arch/xtensa/include/asm/
Dpgtable.h119 #define _PAGE_PRESENT (_PAGE_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) macro
124 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
125 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
126 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
127 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
128 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
130 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
131 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
132 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
/arch/m68k/include/asm/
Dmotorola_pgtable.h8 #define _PAGE_PRESENT 0x001 macro
63 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits)
64 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
65 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
66 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
71 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
72 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
73 #define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
131 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
/arch/score/include/asm/
Dpgtable.h133 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
135 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_CACHE)
136 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
138 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
139 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
140 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
142 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
255 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
Dpgtable-bits.h7 #define _PAGE_PRESENT (1<<9) /* implemented in software */ macro
/arch/parisc/include/asm/
Dpgtable.h182 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
186 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
188 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
211 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
212 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED)
216 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED)
217 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED)
218 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS…
220 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC…
226 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_GATEWAY| _PAGE…
[all …]
/arch/mips/include/asm/
Dpgtable.h24 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT)
25 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | (kernel_uses_smartmips_rixi ? 0 : _PAGE_…
27 #define PAGE_COPY __pgprot(_PAGE_PRESENT | (kernel_uses_smartmips_rixi ? 0 : _PAGE_READ) | \
29 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | (kernel_uses_smartmips_rixi ? 0 : _PAGE_READ) | \
31 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
33 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | (kernel_uses_smartmips_rixi ? 0 : _PAGE_READ) | _PAGE_…
35 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
103 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
139 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
Dpgtable-bits.h37 #define _PAGE_PRESENT (1<<6) /* implemented in software */ macro
55 #define _PAGE_PRESENT (1<<0) /* implemented in software */ macro
81 #define _PAGE_PRESENT (1 << _PAGE_PRESENT_SHIFT) macro
/arch/x86/xen/
Dxen-head.S50 .quad _PAGE_PRESENT; .quad _PAGE_PRESENT)
/arch/powerpc/include/asm/
Dpte-fsl-booke.h21 #define _PAGE_PRESENT 0x00001 /* S: PTE contains a translation */ macro
Dpte-44x.h78 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro
Dpte-40x.h42 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro
Dpte-hash32.h19 #define _PAGE_PRESENT 0x001 /* software: pte contains a translation */ macro
Dpte-8xx.h31 #define _PAGE_PRESENT 0x0001 /* Page is valid */ macro
Dpte-hash64.h17 #define _PAGE_PRESENT 0x0001 /* software: pte contains a translation */ macro
/arch/m68k/mm/
Dkmap.c155 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap()
173 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | in __ioremap()
267 if (pmd_type == _PAGE_PRESENT) { in __iounmap()
344 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { in kernel_set_cachemode()

1234