Home
last modified time | relevance | path

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

1234

/arch/mips/mm/
Dcache.c161 …protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
162 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
163 …protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
164 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
165 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
166 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
167 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
168 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
170 …protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
171 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/arch/hexagon/include/asm/
Dpgtable.h45 #define _PAGE_PRESENT (1<<0) macro
54 #define _PAGE_VALID _PAGE_PRESENT
106 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
108 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
111 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
114 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
116 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
130 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF)
131 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF)
134 #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 …]
/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/m68k/include/asm/
Dmotorola_pgtable.h9 #define _PAGE_PRESENT 0x001 macro
74 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits)
75 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
76 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
77 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
82 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
83 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
84 #define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
136 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
/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)
116 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE))
/arch/xtensa/include/asm/
Dpgtable.h166 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) macro
169 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
170 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
171 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
172 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
173 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
175 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
176 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
177 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT)
178 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
/arch/csky/include/asm/
Dpgtable.h39 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
66 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHED)
67 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
69 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED)
70 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED)
71 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
73 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
77 (_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL | \
/arch/arc/include/asm/
Dpgtable.h64 #define _PAGE_PRESENT (1<<10) /* TLB entry is valid (H) */ macro
81 #define _PAGE_PRESENT (1<<9) /* TLB entry is valid (H) */ macro
95 _PAGE_GLOBAL | _PAGE_PRESENT)
107 #define ___DEF (_PAGE_PRESENT | _PAGE_CACHEABLE)
132 #define PTE_BITS_IN_PD0 (_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_HW_SZ)
263 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
289 PTE_BIT_FUNC(mknotpresent, &= ~(_PAGE_PRESENT));
/arch/parisc/include/asm/
Dpgtable.h221 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
225 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
227 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
248 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER)
249 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
253 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
254 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE)
255 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
257 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
263 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
[all …]
/arch/powerpc/mm/ptdump/
Dbook3s64.c39 .mask = _PAGE_PRESENT,
40 .val = _PAGE_PRESENT,
44 .mask = _PAGE_PRESENT | _PAGE_INVALID,
Dshared.c29 .mask = _PAGE_PRESENT,
30 .val = _PAGE_PRESENT,
D8xx.c46 .mask = _PAGE_PRESENT,
47 .val = _PAGE_PRESENT,
/arch/x86/include/asm/
Dkfence.h55 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
57 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
/arch/powerpc/include/asm/nohash/32/
Dpte-40x.h42 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro
72 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
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-8xx.h32 #define _PAGE_PRESENT 0x0001 /* V: Page is valid */ macro
77 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
/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_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
142 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
189 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
708 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY);
/arch/nios2/include/asm/
Dpgtable.h35 #define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
68 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
129 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
Dpgtable-bits.h30 #define _PAGE_PRESENT (1<<25) /* PTE contains a translation */ macro
/arch/openrisc/include/asm/
Dpgtable.h143 #define _PAGE_PRESENT _PAGE_CC macro
153 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED)
154 #define _PAGE_ALL (_PAGE_PRESENT | _PAGE_ACCESSED)
220 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
225 #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/riscv/mm/
Dpageattr.c160 .clear_mask = __pgprot(_PAGE_PRESENT) in set_direct_map_invalid_noflush()
194 __pgprot(_PAGE_PRESENT), __pgprot(0)); in __kernel_map_pages()
197 __pgprot(0), __pgprot(_PAGE_PRESENT)); in __kernel_map_pages()
/arch/m68k/mm/
Dkmap.c84 if (pmd_type == _PAGE_PRESENT) { in __free_io_area()
215 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap()
233 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | in __ioremap()
369 if ((pmd & _DESCTYPE_MASK) == _PAGE_PRESENT) { in kernel_set_cachemode()

1234