Home
last modified time | relevance | path

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

12345

/linux/arch/mips/mm/
A Dcache.c165 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
167 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
168 protection_map[4] = PM(_PAGE_PRESENT); in setup_protection_map()
169 protection_map[5] = PM(_PAGE_PRESENT); in setup_protection_map()
170 protection_map[6] = PM(_PAGE_PRESENT); in setup_protection_map()
171 protection_map[7] = PM(_PAGE_PRESENT); in setup_protection_map()
174 protection_map[9] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
178 protection_map[12] = PM(_PAGE_PRESENT); in setup_protection_map()
179 protection_map[13] = PM(_PAGE_PRESENT); in setup_protection_map()
180 protection_map[14] = PM(_PAGE_PRESENT | _PAGE_WRITE); in setup_protection_map()
[all …]
/linux/arch/hexagon/include/asm/
A 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 | \
116 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
134 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
144 #define __S010 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
148 #define __S100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
151 #define __S110 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
[all …]
/linux/arch/sh/include/asm/
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 | \
261 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
270 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
[all …]
/linux/arch/um/include/asm/
A 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/arch/m68k/include/asm/
A 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)
138 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
/linux/arch/xtensa/include/asm/
A Dpgtable.h165 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) macro
168 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
169 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
170 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
171 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
172 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
174 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
175 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
176 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT)
177 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
/linux/arch/parisc/include/asm/
A Dpgtable.h219 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
223 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
225 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
246 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER)
247 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
251 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
252 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE)
253 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
255 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
261 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
[all …]
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/riscv/include/asm/
A 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 | \
A Dpgtable.h120 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_USER)
138 | _PAGE_PRESENT \
188 return (pmd_val(pmd) & (_PAGE_PRESENT | _PAGE_PROT_NONE | _PAGE_LEAF)); in pmd_present()
193 return (pmd_val(pmd) & (_PAGE_PRESENT | _PAGE_PROT_NONE)); in pmd_present()
271 return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)); in pte_present()
361 return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)) == _PAGE_PROT_NONE; in pte_protnone()
510 return __pmd(pmd_val(pmd) & ~(_PAGE_PRESENT|_PAGE_PROT_NONE)); in pmd_mkinvalid()
A Dkfence.h54 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
56 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
/linux/arch/powerpc/mm/ptdump/
A Dbook3s64.c39 .mask = _PAGE_PRESENT,
40 .val = _PAGE_PRESENT,
44 .mask = _PAGE_PRESENT | _PAGE_INVALID,
A Dshared.c29 .mask = _PAGE_PRESENT,
30 .val = _PAGE_PRESENT,
A D8xx.c46 .mask = _PAGE_PRESENT,
47 .val = _PAGE_PRESENT,
/linux/arch/powerpc/include/asm/
A Dkfence.h24 pte_update(&init_mm, addr, kpte, _PAGE_PRESENT, 0, 0); in kfence_protect_page()
27 pte_update(&init_mm, addr, kpte, 0, _PAGE_PRESENT, 0); in kfence_protect_page()
/linux/arch/openrisc/include/asm/
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)
219 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
224 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
/linux/arch/x86/include/asm/
A Dpgtable.h551 if (protval & _PAGE_PRESENT) in massage_pgprot()
738 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); in pte_present()
751 if (pte_flags(a) & _PAGE_PRESENT) in pte_accessible()
779 return (pte_flags(pte) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pte_protnone()
785 return (pmd_flags(pmd) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pmd_protnone()
836 return pud_flags(pud) & _PAGE_PRESENT; in pud_present()
853 return (pud_val(pud) & (_PAGE_PSE | _PAGE_PRESENT)) == in pud_large()
854 (_PAGE_PSE | _PAGE_PRESENT); in pud_large()
877 return p4d_flags(p4d) & _PAGE_PRESENT; in p4d_present()
912 return pgd_flags(pgd) & _PAGE_PRESENT; in pgd_present()
[all …]
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/arc/include/asm/
A Dpgtable-bits-arcv2.h27 #define _PAGE_PRESENT (1 << 9) /* PTE/TLB Valid (H) */ macro
36 #define ___DEF (_PAGE_PRESENT | _PAGE_CACHEABLE)
103 PTE_BIT_FUNC(mknotpresent, &= ~(_PAGE_PRESENT));
/linux/arch/nios2/include/asm/
A Dpgtable.h33 #define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \
63 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
66 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
127 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
/linux/arch/powerpc/include/asm/book3s/64/
A Dpgtable.h45 #define _PAGE_PRESENT 0x8000000000000000UL /* pte contains a translation */ macro
137 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
550 return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE | _PAGE_RWX)) == in pte_protnone()
551 cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE); in pte_protnone()
563 cpu_to_be64(_PAGE_PRESENT | _PAGE_PRIVILEGED)); in pte_mk_savedwrite()
587 return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) == in pte_hw_valid()
588 cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE); in pte_hw_valid()
925 if (pmd_raw(pmd) & cpu_to_be64(_PAGE_PRESENT | _PAGE_INVALID)) in pmd_present()
941 if ((pmd_raw(pmd) & cpu_to_be64(_PAGE_PRESENT | _PAGE_INVALID)) == in pmd_is_serializing()
974 return !!(pud_raw(pud) & cpu_to_be64(_PAGE_PRESENT)); in pud_present()
[all …]
/linux/arch/powerpc/include/asm/nohash/32/
A Dpte-40x.h42 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro
75 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
A Dpte-44x.h75 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro
111 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
A Dpte-fsl-booke.h20 #define _PAGE_PRESENT 0x00001 /* S: PTE contains a translation */ macro
57 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
/linux/arch/m68k/mm/
A Dkmap.c83 if (pmd_type == _PAGE_PRESENT) { in __free_io_area()
214 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap()
232 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | in __ioremap()
368 if ((pmd & _DESCTYPE_MASK) == _PAGE_PRESENT) { in kernel_set_cachemode()

Completed in 36 milliseconds

12345