Home
last modified time | relevance | path

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

1234

/linux/arch/hexagon/mm/
H A Dinit.c240 [VM_NONE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
242 [VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
244 [VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
246 [VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
248 [VM_EXEC] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
250 [VM_EXEC | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
253 [VM_EXEC | VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
255 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
258 [VM_SHARED] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
260 [VM_SHARED | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
[all …]
/linux/arch/mips/mm/
H A 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/arch/loongarch/mm/
H A 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/arch/sh/include/asm/
H A 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/arch/um/include/asm/
H A Dpgtable.h13 #define _PAGE_PRESENT 0x001 macro
57 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
58 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
61 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
63 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
64 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
65 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
66 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
87 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
104 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE))
/linux/arch/hexagon/include/asm/
H A 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/arch/loongarch/include/asm/
H A Dpgtable-bits.h32 #define _PAGE_PRESENT (_ULCAST_(1) << _PAGE_PRESENT_SHIFT) macro
84 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
86 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _CACHE_CC)
88 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
90 #define PAGE_KERNEL_SUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
92 #define PAGE_KERNEL_WUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
H A Dkfence.h60 set_pte(pte, __pte(pte_val(ptep_get(pte)) & ~(_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page()
62 set_pte(pte, __pte(pte_val(ptep_get(pte)) | (_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page()
/linux/arch/xtensa/include/asm/
H A 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/arch/m68k/include/asm/
H A 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/arch/powerpc/mm/ptdump/
H A Dbook3s64.c39 .mask = _PAGE_PRESENT,
40 .val = _PAGE_PRESENT,
44 .mask = _PAGE_PRESENT | _PAGE_INVALID,
H A Dshared.c29 .mask = _PAGE_PRESENT,
30 .val = _PAGE_PRESENT,
H A D8xx.c41 .mask = _PAGE_PRESENT,
42 .val = _PAGE_PRESENT,
/linux/arch/riscv/include/asm/
H A Dpgtable-bits.h11 #define _PAGE_PRESENT (1 << 0) macro
23 #define _PAGE_TABLE _PAGE_PRESENT
H A Dkfence.h21 set_pte(pte, __pte(pte_val(ptep_get(pte)) & ~_PAGE_PRESENT)); in kfence_protect_page()
23 set_pte(pte, __pte(pte_val(ptep_get(pte)) | _PAGE_PRESENT)); in kfence_protect_page()
H A Dpgtable-64.h170 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \
177 return (pud_val(pud) & _PAGE_PRESENT); in pud_present()
295 return (p4d_val(p4d) & _PAGE_PRESENT); in p4d_present()
362 return (pgd_val(pgd) & _PAGE_PRESENT); in pgd_present()
/linux/arch/parisc/include/asm/
H A 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/arch/powerpc/include/asm/nohash/32/
H A Dpte-44x.h65 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro
93 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
H A Dpte-85xx.h21 #define _PAGE_PRESENT 0x00002 /* S: PTE contains a translation */ macro
49 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
/linux/arch/arc/include/asm/
H A 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/arch/x86/include/asm/
H A 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()
/linux/arch/openrisc/include/asm/
H A 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)
/linux/arch/nios2/include/asm/
H A Dpgtable.h36 #define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \
50 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
53 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
111 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
/linux/arch/m68k/mm/
H A Dkmap.c83 if (pmd_type == _PAGE_PRESENT) { in __free_io_area()
220 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap()
238 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | in __ioremap()
377 if ((pmd & _DESCTYPE_MASK) == _PAGE_PRESENT) { in kernel_set_cachemode()
/linux/arch/x86/kernel/
H A Dmachine_kexec_32.c88 if (!(pgd_val(*pgd) & _PAGE_PRESENT)) in machine_kexec_page_table_set_one()
89 set_pgd(pgd, __pgd(__pa(pmd) | _PAGE_PRESENT)); in machine_kexec_page_table_set_one()
94 if (!(pmd_val(*pmd) & _PAGE_PRESENT)) in machine_kexec_page_table_set_one()

1234