Home
last modified time | relevance | path

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

12345

/linux-6.6.21/arch/hexagon/mm/
Dinit.c239 [VM_NONE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
241 [VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
243 [VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
245 [VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
247 [VM_EXEC] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
249 [VM_EXEC | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
252 [VM_EXEC | VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
254 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
257 [VM_SHARED] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
259 [VM_SHARED | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
[all …]
/linux-6.6.21/arch/mips/mm/
Dcache.c184 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
185 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
186 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
187 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
188 protection_map[4] = PM(_PAGE_PRESENT); in setup_protection_map()
189 protection_map[5] = PM(_PAGE_PRESENT); in setup_protection_map()
190 protection_map[6] = PM(_PAGE_PRESENT); in setup_protection_map()
191 protection_map[7] = PM(_PAGE_PRESENT); in setup_protection_map()
193 protection_map[8] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
194 protection_map[9] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/linux-6.6.21/arch/loongarch/mm/
Dcache.c166 _PAGE_USER | _PAGE_PRESENT |
169 _PAGE_USER | _PAGE_PRESENT |
172 _PAGE_USER | _PAGE_PRESENT |
175 _PAGE_USER | _PAGE_PRESENT),
177 _PAGE_USER | _PAGE_PRESENT),
179 _PAGE_USER | _PAGE_PRESENT),
181 _PAGE_USER | _PAGE_PRESENT),
186 _PAGE_USER | _PAGE_PRESENT |
189 _PAGE_USER | _PAGE_PRESENT |
192 _PAGE_USER | _PAGE_PRESENT |
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/arch/loongarch/include/asm/
Dpgtable-bits.h31 #define _PAGE_PRESENT (_ULCAST_(1) << _PAGE_PRESENT_SHIFT) macro
82 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
84 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _CACHE_CC)
86 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
88 #define PAGE_KERNEL_SUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
90 #define PAGE_KERNEL_WUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
Dkfence.h50 set_pte(pte, __pte(pte_val(*pte) & ~(_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page()
52 set_pte(pte, __pte(pte_val(*pte) | (_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page()
/linux-6.6.21/arch/um/include/asm/
Dpgtable.h13 #define _PAGE_PRESENT 0x001 macro
56 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
57 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
60 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
62 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
63 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
64 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
86 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
103 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE))
/linux-6.6.21/arch/hexagon/include/asm/
Dpgtable.h45 #define _PAGE_PRESENT (1<<0) macro
54 #define _PAGE_VALID _PAGE_PRESENT
109 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
111 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
114 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
117 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
119 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
238 return pte_val(pte) & _PAGE_PRESENT; in pte_present()
/linux-6.6.21/arch/xtensa/include/asm/
Dpgtable.h168 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) macro
171 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
172 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
173 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
174 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
175 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
177 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
178 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
179 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT)
180 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
/linux-6.6.21/arch/parisc/include/asm/
Dpgtable.h200 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
205 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
207 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
231 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER)
232 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
236 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
237 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE)
238 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
240 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
246 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
[all …]
Dkfence.h35 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
37 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
/linux-6.6.21/arch/m68k/include/asm/
Dmotorola_pgtable.h9 #define _PAGE_PRESENT 0x001 macro
77 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits)
78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
79 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
80 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
112 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
/linux-6.6.21/arch/x86/mm/
Dhugetlbpage.c30 (pmd_val(pmd) & (_PAGE_PRESENT|_PAGE_PSE)) != _PAGE_PRESENT; in pmd_huge()
42 (pud_val(pud) & (_PAGE_PRESENT|_PAGE_PSE)) != _PAGE_PRESENT; in pud_huge()
/linux-6.6.21/arch/powerpc/mm/ptdump/
Dbook3s64.c39 .mask = _PAGE_PRESENT,
40 .val = _PAGE_PRESENT,
44 .mask = _PAGE_PRESENT | _PAGE_INVALID,
/linux-6.6.21/arch/riscv/include/asm/
Dpgtable-bits.h11 #define _PAGE_PRESENT (1 << 0) macro
22 #define _PAGE_TABLE _PAGE_PRESENT
Dkfence.h21 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
23 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
/linux-6.6.21/arch/powerpc/include/asm/
Dkfence.h38 pte_update(&init_mm, addr, kpte, _PAGE_PRESENT, 0, 0); in kfence_protect_page()
41 pte_update(&init_mm, addr, kpte, 0, _PAGE_PRESENT, 0); in kfence_protect_page()
/linux-6.6.21/arch/arc/include/asm/
Dpgtable-bits-arcv2.h27 #define _PAGE_PRESENT (1 << 9) /* PTE/TLB Valid (H) */ macro
39 #define ___DEF (_PAGE_PRESENT | _PAGE_CACHEABLE)
88 PTE_BIT_FUNC(mknotpresent, &= ~(_PAGE_PRESENT));
/linux-6.6.21/arch/x86/include/asm/
Dkfence.h57 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
59 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
Dpgtable.h740 if (protval & _PAGE_PRESENT) in massage_pgprot()
790 __pgprot(pmd_flags(pmd) & ~(_PAGE_PRESENT|_PAGE_PROTNONE))); in pmd_mkinvalid()
968 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); in pte_present()
981 if (pte_flags(a) & _PAGE_PRESENT) in pte_accessible()
999 return pmd_flags(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PSE); in pmd_present()
1009 return (pte_flags(pte) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pte_protnone()
1015 return (pmd_flags(pmd) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pmd_protnone()
1074 return pud_flags(pud) & _PAGE_PRESENT; in pud_present()
1091 return (pud_val(pud) & (_PAGE_PSE | _PAGE_PRESENT)) == in pud_large()
1092 (_PAGE_PSE | _PAGE_PRESENT); in pud_large()
[all …]
/linux-6.6.21/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.h65 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro
101 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
Dpte-85xx.h20 #define _PAGE_PRESENT 0x00001 /* S: PTE contains a translation */ macro
57 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
/linux-6.6.21/arch/nios2/include/asm/
Dpgtable.h33 #define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \
47 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
50 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
108 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
/linux-6.6.21/arch/openrisc/include/asm/
Dpgtable.h142 #define _PAGE_PRESENT _PAGE_CC macro
152 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED)
153 #define _PAGE_ALL (_PAGE_PRESENT | _PAGE_ACCESSED)
204 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
209 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)

12345