Home
last modified time | relevance | path

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

12345

/Linux-v5.10/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 …]
/Linux-v5.10/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 …]
/Linux-v5.10/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-v5.10/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))
/Linux-v5.10/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))
/Linux-v5.10/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)
/Linux-v5.10/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 | \
/Linux-v5.10/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 | \
/Linux-v5.10/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)
269 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
295 PTE_BIT_FUNC(mknotpresent, &= ~(_PAGE_PRESENT));
/Linux-v5.10/arch/parisc/include/asm/
Dpgtable.h226 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
230 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
232 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
255 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER)
256 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
260 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
261 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE)
262 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
264 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
270 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
[all …]
/Linux-v5.10/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,
/Linux-v5.10/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);
/Linux-v5.10/arch/powerpc/include/asm/nohash/32/
Dpte-40x.h42 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro
75 #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)
/Linux-v5.10/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()
/Linux-v5.10/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)
/Linux-v5.10/arch/x86/include/asm/
Dpgtable.h580 if (protval & _PAGE_PRESENT) in massage_pgprot()
630 __pgprot(pmd_flags(pmd) & ~(_PAGE_PRESENT|_PAGE_PROTNONE))); in pmd_mkinvalid()
767 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); in pte_present()
780 if (pte_flags(a) & _PAGE_PRESENT) in pte_accessible()
798 return pmd_flags(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PSE); in pmd_present()
808 return (pte_flags(pte) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pte_protnone()
814 return (pmd_flags(pmd) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pmd_protnone()
865 return pud_flags(pud) & _PAGE_PRESENT; in pud_present()
882 return (pud_val(pud) & (_PAGE_PSE | _PAGE_PRESENT)) == in pud_large()
883 (_PAGE_PSE | _PAGE_PRESENT); in pud_large()
[all …]
/Linux-v5.10/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()
/Linux-v5.10/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()
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dpgtable.h44 #define _PAGE_PRESENT 0x8000000000000000UL /* pte contains a translation */ macro
135 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
527 return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE | _PAGE_RWX)) == in pte_protnone()
528 cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE); in pte_protnone()
539 VM_BUG_ON((pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_RWX | _PAGE_PRIVILEGED)) != in pte_mk_savedwrite()
540 cpu_to_be64(_PAGE_PRESENT | _PAGE_PRIVILEGED)); in pte_mk_savedwrite()
564 return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) == in pte_hw_valid()
565 cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE); in pte_hw_valid()
902 if (pmd_raw(pmd) & cpu_to_be64(_PAGE_PRESENT | _PAGE_INVALID)) in pmd_present()
918 if ((pmd_raw(pmd) & cpu_to_be64(_PAGE_PRESENT | _PAGE_INVALID)) == in pmd_is_serializing()
[all …]
/Linux-v5.10/arch/x86/kernel/
Dmachine_kexec_32.c99 if (!(pgd_val(*pgd) & _PAGE_PRESENT)) in machine_kexec_page_table_set_one()
100 set_pgd(pgd, __pgd(__pa(pmd) | _PAGE_PRESENT)); in machine_kexec_page_table_set_one()
105 if (!(pmd_val(*pmd) & _PAGE_PRESENT)) in machine_kexec_page_table_set_one()
/Linux-v5.10/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)

12345