Home
last modified time | relevance | path

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

1234

/arch/mips/mm/
Dcache.c162 …protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
163 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
164 …protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
165 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
166 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
167 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
168 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
169 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
171 …protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
172 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/arch/hexagon/include/asm/
Dpgtable.h46 #define _PAGE_PRESENT (1<<0) macro
55 #define _PAGE_VALID _PAGE_PRESENT
107 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
109 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
112 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
115 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
117 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
131 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF)
132 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF)
135 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
[all …]
/arch/sh/include/asm/
Dpgtable_32.h50 #define _PAGE_PRESENT 0x100 /* V-bit : page is valid */ macro
179 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
186 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
195 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
200 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
205 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
214 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
222 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
229 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
242 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
[all …]
Dpgtable_64.h63 #define pmd_present(pmd_entry) (pmd_val(pmd_entry) & _PAGE_PRESENT)
106 #define _PAGE_PRESENT 0x004 /* software: page referenced */ macro
128 #define _PAGE_CLEAR_FLAGS (_PAGE_PRESENT | _PAGE_SHARED | \
162 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
176 #define _PAGE_COMMON (_PAGE_PRESENT | _PAGE_USER | \
197 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
226 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
Dpgtable.h155 u64 prot = _PAGE_PRESENT; in pte_access_permitted()
165 u64 prot = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in pte_access_permitted()
174 u64 prot = _PAGE_PRESENT | _PAGE_USER; in pte_access_permitted()
/arch/riscv/include/asm/
Dpgtable-bits.h17 #define _PAGE_PRESENT (1 << 0) macro
28 #define _PAGE_TABLE _PAGE_PRESENT
39 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \
/arch/um/include/asm/
Dpgtable.h13 #define _PAGE_PRESENT 0x001 macro
53 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
54 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
57 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
59 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
60 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
61 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
62 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
100 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
113 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE))
/arch/xtensa/include/asm/
Dpgtable.h167 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) macro
170 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
171 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
172 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
173 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
174 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
176 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
177 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
178 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT)
179 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
/arch/m68k/include/asm/
Dmotorola_pgtable.h9 #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/x86/include/asm/
Dpgtable_types.h42 #define _PAGE_PRESENT (_AT(pteval_t, 1) << _PAGE_BIT_PRESENT) macro
113 #define _PAGE_TABLE_NOENC (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER |\
115 #define _KERNPG_TABLE_NOENC (_PAGE_PRESENT | _PAGE_RW | \
155 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
158 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \
160 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
162 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
165 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
167 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
171 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
[all …]
/arch/arc/include/asm/
Dpgtable.h65 #define _PAGE_PRESENT (1<<10) /* TLB entry is valid (H) */ macro
82 #define _PAGE_PRESENT (1<<9) /* TLB entry is valid (H) */ macro
96 _PAGE_GLOBAL | _PAGE_PRESENT)
108 #define ___DEF (_PAGE_PRESENT | _PAGE_CACHEABLE)
133 #define PTE_BITS_IN_PD0 (_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_HW_SZ)
267 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
304 PTE_BIT_FUNC(mknotpresent, &= ~(_PAGE_PRESENT));
/arch/powerpc/mm/ptdump/
Dbook3s64.c39 .mask = _PAGE_PRESENT,
40 .val = _PAGE_PRESENT,
44 .mask = _PAGE_PRESENT | _PAGE_INVALID,
D8xx.c36 .mask = _PAGE_PRESENT,
37 .val = _PAGE_PRESENT,
Dshared.c29 .mask = _PAGE_PRESENT,
30 .val = _PAGE_PRESENT,
/arch/parisc/include/asm/
Dpgtable.h222 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
226 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
228 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
251 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER)
252 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
256 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
257 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE)
258 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
260 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
266 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
[all …]
/arch/csky/include/asm/
Dpgtable.h50 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
79 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHED)
80 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
82 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED)
83 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED)
84 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
86 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
/arch/powerpc/include/asm/nohash/32/
Dpte-44x.h75 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro
111 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
Dpte-fsl-booke.h20 #define _PAGE_PRESENT 0x00001 /* S: PTE contains a translation */ macro
57 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
Dpte-40x.h42 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro
76 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
/arch/mips/include/asm/
Dpgtable.h28 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_NO_READ | \
30 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
32 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_NO_EXEC | \
34 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | \
36 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
38 #define PAGE_KERNEL_NC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
40 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
42 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
144 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
191 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
[all …]
/arch/nios2/include/asm/
Dpgtable-bits.h30 #define _PAGE_PRESENT (1<<25) /* PTE contains a translation */ macro
Dpgtable.h36 #define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \
66 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
69 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
135 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
/arch/openrisc/include/asm/
Dpgtable.h144 #define _PAGE_PRESENT _PAGE_CC macro
154 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED)
155 #define _PAGE_ALL (_PAGE_PRESENT | _PAGE_ACCESSED)
221 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
226 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
/arch/powerpc/include/asm/nohash/
Dpte-book3e.h13 #define _PAGE_PRESENT 0x000001 /* software: pte contains a translation */ macro
86 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
/arch/m68k/mm/
Dkmap.c161 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap()
179 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | in __ioremap()
277 if (pmd_type == _PAGE_PRESENT) { in __iounmap()
354 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { in kernel_set_cachemode()

1234