Searched refs:_PAGE_PRESENT (Results 1 - 117 of 117) sorted by relevance

/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dmmu.h55 #define _PAGE_PRESENT (1 << 5) /* Page is present in memory. */ macro
65 #define _PAGE_TABLE (_PAGE_PRESENT | __READABLE | __WRITEABLE)
68 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
69 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
71 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
74 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
75 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE | _PAGE_ACCESSED)
77 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE)
78 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE)
80 _PAGE_PRESENT | __READABLE | __WRITEABLE)
82 _PAGE_PRESENT | __READABLE | __WRITEABLE)
84 _PAGE_PRESENT | __READABLE)
/linux-4.1.27/arch/mips/mm/
H A Dcache.c160 protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); setup_protection_map()
161 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); setup_protection_map()
162 protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); setup_protection_map()
163 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); setup_protection_map()
164 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); setup_protection_map()
165 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); setup_protection_map()
166 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); setup_protection_map()
167 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); setup_protection_map()
169 protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); setup_protection_map()
170 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); setup_protection_map()
171 protection_map[10] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE | _PAGE_NO_READ); setup_protection_map()
172 protection_map[11] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE); setup_protection_map()
173 protection_map[12] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); setup_protection_map()
174 protection_map[13] = __pgprot(_page_cachable_default | _PAGE_PRESENT); setup_protection_map()
175 protection_map[14] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_WRITE | _PAGE_NO_READ); setup_protection_map()
176 protection_map[15] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_WRITE); setup_protection_map()
H A Dioremap.c24 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE remap_area_pte()
H A Dc-r3k.c260 if (!(pte_val(*ptep) & _PAGE_PRESENT)) r3k_flush_cache_page()
H A Dc-tx39.c195 if (!(pte_val(*ptep) & _PAGE_PRESENT)) tx39_flush_cache_page()
H A Dtlbex.c1614 uasm_il_bbit0(p, r, pte, ilog2(_PAGE_PRESENT), lid); build_pte_present()
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dmmu.h60 #define _PAGE_PRESENT (1<<4) /* page present in memory */ macro
71 #define _PAGE_TABLE (_PAGE_PRESENT | __READABLE | __WRITEABLE)
74 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
75 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
77 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE) // | _PAGE_COW
78 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
80 _PAGE_PRESENT | __READABLE | __WRITEABLE)
/linux-4.1.27/arch/score/include/asm/
H A Dpgtable-bits.h7 #define _PAGE_PRESENT (1<<9) /* implemented in software */ macro
H A Dpgtable.h121 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
123 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_CACHE)
124 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
126 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
127 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
128 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
130 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
238 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
/linux-4.1.27/arch/m32r/include/asm/
H A Dpgtable.h94 #define _PAGE_PRESENT (1UL << _PAGE_BIT_PRESENT) macro
105 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
108 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
117 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED)
119 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ \
122 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
124 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
126 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
128 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
131 ( _PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ | _PAGE_DIRTY \
177 #define pte_present(x) (pte_val(x) & (_PAGE_PRESENT | _PAGE_PROTNONE))
181 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
H A Dmmu_context.h34 #define set_tlb_data(entry, data) (*entry = (data | _PAGE_PRESENT))
/linux-4.1.27/arch/sh/include/asm/
H A Dpgtable_32.h49 #define _PAGE_PRESENT 0x100 /* V-bit : page is valid */ macro
178 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
185 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
194 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
199 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
204 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
213 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
221 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
228 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
241 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
245 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
248 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
255 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_CACHABLE | \
260 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
264 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
269 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
323 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE))
339 #define pte_not_present(pte) (!((pte).pte_low & _PAGE_PRESENT))
443 * _PAGE_PRESENT at bit 8
456 * NOTE: We should set ZEROs at the position of _PAGE_PRESENT
H A Dpgtable_64.h66 #define pmd_present(pmd_entry) (pmd_val(pmd_entry) & _PAGE_PRESENT)
99 swapped out. Only the _PAGE_PRESENT flag is significant when the page is
102 at [6:1], with _PAGE_PRESENT at bit 0 for both pte_t and swp_entry_t. This
104 [2] is used for _PAGE_PRESENT and the type field of swp_entry_t is split
109 #define _PAGE_PRESENT 0x004 /* software: page referenced */ macro
131 #define _PAGE_CLEAR_FLAGS (_PAGE_PRESENT | _PAGE_SHARED | \
165 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
179 #define _PAGE_COMMON (_PAGE_PRESENT | _PAGE_USER | \
200 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
229 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
/linux-4.1.27/arch/hexagon/include/asm/
H A Dpgtable.h60 #define _PAGE_PRESENT (1<<0) macro
69 #define _PAGE_VALID _PAGE_PRESENT
121 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
123 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
126 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
129 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
131 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
145 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF)
146 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF)
149 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
151 #define __P101 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_EXECUTE | \
159 #define __S010 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
161 #define __S011 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
163 #define __S100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
166 #define __S110 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
168 #define __S111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
305 return pte_val(pte) & _PAGE_PRESENT; pte_present()
452 * Swap/file PTE definitions. If _PAGE_PRESENT is zero, the rest of the PTE is
455 * _PAGE_PRESENT, we're going to reserve the permissions bits and set them to
/linux-4.1.27/arch/nios2/include/asm/
H A Dpgtable-bits.h30 #define _PAGE_PRESENT (1<<25) /* PTE contains a translation */ macro
H A 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 | \
134 { return pte_val(pte) & _PAGE_PRESENT; }
/linux-4.1.27/arch/um/include/asm/
H A Dpgtable.h13 #define _PAGE_PRESENT 0x001 macro
20 /* If _PAGE_PRESENT is clear, we use these: */
55 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
56 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
59 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
61 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
62 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
64 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
102 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
115 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE))
H A Dpgtable-3level.h58 #define pud_present(x) (pud_val(x) & _PAGE_PRESENT)
/linux-4.1.27/arch/x86/include/asm/
H A Dpgtable_types.h34 #define _PAGE_PRESENT (_AT(pteval_t, 1) << _PAGE_BIT_PRESENT) macro
94 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
96 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \
129 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
132 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \
134 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
136 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
139 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
141 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
145 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
H A Dpgtable.h297 return pmd_clear_flags(pmd, _PAGE_PRESENT | _PAGE_PROTNONE); pmd_mknotpresent()
331 if (protval & _PAGE_PRESENT) massage_pgprot()
440 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); pte_present()
446 if (pte_flags(a) & _PAGE_PRESENT) pte_accessible()
467 * _PAGE_PRESENT bit is clear). pmd_present()
469 return pmd_flags(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PSE); pmd_present()
479 return (pte_flags(pte) & (_PAGE_PROTNONE | _PAGE_PRESENT)) pte_protnone()
485 return (pmd_flags(pmd) & (_PAGE_PROTNONE | _PAGE_PRESENT)) pmd_protnone()
562 return pud_flags(pud) & _PAGE_PRESENT; pud_present()
584 return (pud_val(pud) & (_PAGE_PSE | _PAGE_PRESENT)) == pud_large()
585 (_PAGE_PSE | _PAGE_PRESENT); pud_large()
602 return pgd_flags(pgd) & _PAGE_PRESENT; pgd_present()
/linux-4.1.27/arch/metag/include/asm/
H A Dpgtable.h53 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
56 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
59 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
109 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
115 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
H A Dpgtable-bits.h16 #define _PAGE_PRESENT MMCU_ENTRY_VAL_BIT macro
80 #define _PAGE_TABLE (_PAGE_SZ | _PAGE_PRESENT)
H A Dmmu_context.h66 _PAGE_PRESENT, phys0); load_pgd()
/linux-4.1.27/arch/m68k/include/asm/
H A Dmotorola_pgtable.h8 #define _PAGE_PRESENT 0x001 macro
62 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits)
63 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
64 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
70 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
71 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
72 #define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
130 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
H A Dmcf_pgtable.h51 #define _PAGE_PRESENT (CF_PAGE_VALID) macro
H A Dsun3_pgtable.h38 #define _PAGE_PRESENT (SUN3_PAGE_VALID) macro
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpte-fsl-booke.h19 #define _PAGE_PRESENT 0x00001 /* S: PTE contains a translation */ macro
H A Dpte-hash32.h19 #define _PAGE_PRESENT 0x001 /* software: pte contains a translation */ macro
H A Dpte-hash64.h17 #define _PAGE_PRESENT 0x0001 /* software: pte contains a translation */ macro
H A Dpte-44x.h67 * _PAGE_PRESENT
74 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro
H A Dpte-book3e.h12 #define _PAGE_PRESENT 0x000001 /* software: pte contains a translation */ macro
H A Dpgtable.h50 (_PAGE_PRESENT | _PAGE_USER)) == _PAGE_PRESENT; pte_protnone()
61 return pte_val(pte) & _PAGE_PRESENT; pte_present()
H A Dpte-40x.h41 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro
H A Dpte-8xx.h31 #define _PAGE_PRESENT 0x0001 /* Page is valid */ macro
H A Dpte-common.h113 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
H A Dpgtable-ppc64.h401 * _PAGE_PRESENT bit of that is zero when we look at them
523 pmd_val(pmd) &= ~_PAGE_PRESENT; pmd_mknotpresent()
H A Dkvm_book3s_64.h317 if (unlikely(!(pte_val(old_pte) & _PAGE_PRESENT))) kvmppc_read_update_linux_pte()
H A Dpgtable-ppc32.h336 * must not include the _PAGE_PRESENT bit or the _PAGE_HASHPTE bit (if used).
/linux-4.1.27/arch/mips/include/asm/
H A Dpgtable.h26 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT)
27 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | \
29 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_NO_EXEC | \
31 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | \
33 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
35 #define PAGE_KERNEL_NC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
37 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
39 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
136 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
171 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
612 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY); pmd_mknotpresent()
H A Dpgtable-bits.h57 #define _PAGE_PRESENT (1 << _PAGE_PRESENT_SHIFT) macro
80 #define _PAGE_PRESENT (1 << _PAGE_PRESENT_SHIFT) macro
114 #define _PAGE_PRESENT (1 << _PAGE_PRESENT_SHIFT) macro
H A Dpgtable-32.h181 * _PAGE_PRESENT at bit 0
/linux-4.1.27/arch/parisc/include/asm/
H A Dpgtable.h59 ((pte_val(x) & (_PAGE_PRESENT|_PAGE_ACCESSED)) \
60 == (_PAGE_PRESENT|_PAGE_ACCESSED))
196 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
199 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
201 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
224 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
225 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED)
229 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED)
230 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED)
231 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESSED)
233 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC |_PAGE_ACCESSED)
239 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_GATEWAY| _PAGE_READ)
288 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
/linux-4.1.27/arch/xtensa/include/asm/
H A Dpgtable.h156 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) macro
159 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
160 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
161 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
162 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
163 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
165 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
166 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
167 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
/linux-4.1.27/arch/powerpc/mm/
H A Dpgtable.c47 (_PAGE_PRESENT | _PAGE_SPECIAL | _PAGE_NO_CACHE | _PAGE_USER)) == pte_looks_normal()
48 (_PAGE_PRESENT | _PAGE_USER); pte_looks_normal()
177 * _PAGE_PRESENT, but we can be sure that it is not in hpte. set_pte_at()
180 VM_WARN_ON((pte_val(*ptep) & (_PAGE_PRESENT | _PAGE_USER)) == set_pte_at()
181 (_PAGE_PRESENT | _PAGE_USER)); set_pte_at()
H A Dpgtable_32.c190 if ((flags & _PAGE_PRESENT) == 0) __ioremap_caller()
303 BUG_ON((pte_val(*pg) & (_PAGE_PRESENT | _PAGE_HASHPTE)) && map_page()
H A Dtlb_low_64e.S91 /* We need _PAGE_PRESENT and _PAGE_ACCESSED set */
122 ori r10,r10,_PAGE_PRESENT
213 li r11,_PAGE_PRESENT|_PAGE_BAP_SX /* Base perm */
245 li r11,_PAGE_PRESENT|_PAGE_EXEC /* Base perm */
513 /* We need _PAGE_PRESENT and _PAGE_ACCESSED set */
514 li r11,_PAGE_PRESENT
580 li r11,_PAGE_PRESENT|_PAGE_EXEC /* Base perm */
587 li r11,_PAGE_PRESENT|_PAGE_BAP_SX /* Base perm */
H A Dpgtable_64.c177 if ((flags & _PAGE_PRESENT) == 0) __ioremap_at()
721 WARN_ON((pmd_val(*pmdp) & (_PAGE_PRESENT | _PAGE_USER)) == set_pmd_at()
722 (_PAGE_PRESENT | _PAGE_USER)); set_pmd_at()
733 pmd_hugepage_update(vma->vm_mm, address, pmdp, _PAGE_PRESENT, 0); pmdp_invalidate()
785 * For a valid pte, we would have _PAGE_PRESENT always pfn_pmd()
H A Dinit_64.c200 unsigned long i, flags = _PAGE_PRESENT | _PAGE_ACCESSED | vmemmap_create_mapping()
H A Dmem.c492 * We don't need to worry about _PAGE_PRESENT here because we are update_mmu_cache()
H A Dhash_utils_64.c1076 /* Add _PAGE_PRESENT to the required access perm */ hash_page_mm()
1077 access |= _PAGE_PRESENT; hash_page_mm()
H A Dhash_low_32.S72 ori r3,r3,_PAGE_USER|_PAGE_PRESENT /* test low addresses as user */
H A Dhugetlbpage.c1066 mask = _PAGE_PRESENT | _PAGE_USER; gup_hugepte()
/linux-4.1.27/drivers/lguest/
H A Dpage_tables.c65 #define CHECK_GPGD_MASK _PAGE_PRESENT
103 BUG_ON(!(pgd_flags(spgd) & _PAGE_PRESENT)); spmd_addr()
122 BUG_ON(!(pmd_flags(*pmd) & _PAGE_PRESENT)); spte_addr()
126 BUG_ON(!(pgd_flags(spgd) & _PAGE_PRESENT)); spte_addr()
147 BUG_ON(!(pgd_flags(gpgd) & _PAGE_PRESENT)); gpmd_addr()
157 BUG_ON(!(pmd_flags(gpmd) & _PAGE_PRESENT)); gpte_addr()
167 BUG_ON(!(pgd_flags(gpgd) & _PAGE_PRESENT)); gpte_addr()
248 if (pte_flags(pte) & _PAGE_PRESENT) release_pte()
314 if (!(pgd_flags(*spgd) & _PAGE_PRESENT)) { find_spte()
346 if (!(pmd_flags(*spmd) & _PAGE_PRESENT)) { find_spte()
415 if (!(pgd_flags(gpgd) & _PAGE_PRESENT)) demand_page()
433 if (!(pmd_flags(gpmd) & _PAGE_PRESENT)) demand_page()
459 gpte = __pte((vaddr & PAGE_MASK) | _PAGE_RW | _PAGE_PRESENT); demand_page()
466 if (!(pte_flags(gpte) & _PAGE_PRESENT)) demand_page()
570 return (flags & (_PAGE_PRESENT|_PAGE_RW)) == (_PAGE_PRESENT|_PAGE_RW); page_writable()
591 if (pmd_flags(*spmd) & _PAGE_PRESENT) { release_pmd()
607 if (pgd_flags(*spgd) & _PAGE_PRESENT) { release_pgd()
630 if (pgd_flags(*spgd) & _PAGE_PRESENT) { release_pgd()
693 if (!(pgd_flags(gpgd) & _PAGE_PRESENT)) __guest_pa()
698 if (!(pmd_flags(gpmd) & _PAGE_PRESENT)) __guest_pa()
704 if (!(pte_flags(gpte) & _PAGE_PRESENT)) __guest_pa()
810 if (i == 0 && !(pte_flags(*pte) & _PAGE_PRESENT)) { allocate_switcher_mapping()
942 if (pgd_flags(*spgd) & _PAGE_PRESENT) { __guest_set_pte()
945 if (pmd_flags(*spmd) & _PAGE_PRESENT) { __guest_set_pte()
/linux-4.1.27/arch/tile/include/asm/
H A Dpgtable.h72 #define _PAGE_PRESENT HV_PTE_PRESENT macro
89 _PAGE_PRESENT | \
102 __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
104 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \
108 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \
111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
113 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
118 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
120 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
124 (_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_READABLE | _PAGE_ACCESSED)
162 #define _PAGE_TABLE _PAGE_PRESENT
377 return pmd_val(pmd) & _PAGE_PRESENT; pmd_present()
H A Dpgalloc.h54 __pgprot(_PAGE_PRESENT))); pmd_populate_kernel()
61 __pgprot(_PAGE_PRESENT))); pmd_populate()
H A Dpgtable_64.h80 return pud_val(pud) & _PAGE_PRESENT; pud_present()
/linux-4.1.27/arch/metag/mm/
H A Dmmu-meta2.c99 if ((phys0 & _PAGE_PRESENT) && !(phys0 & _PAGE_PRIV)) { repriv_mmu_tables()
187 _PAGE_PRESENT); mmu_init()
190 _PAGE_PRESENT | _PAGE_DIRTY | mmu_init()
H A Dioremap.c52 prot = __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_DIRTY | __ioremap()
/linux-4.1.27/arch/avr32/include/asm/
H A Dpgtable.h100 #define _PAGE_PRESENT (1 << _PAGE_BIT_PRESENT) macro
108 * support 1K pages anyway due to the _PAGE_PRESENT and _PAGE_ACCESSED
135 #define _PAGE_NORMAL(x) __pgprot((x) | _PAGE_PRESENT | _PAGE_TYPE_SMALL \
181 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
321 * _PAGE_PRESENT at bit 10
327 * NOTE: We should set ZEROs at the position of _PAGE_PRESENT
/linux-4.1.27/arch/x86/power/
H A Dhibernate_32.c43 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); resume_one_md_table_init()
141 __pgd(__pa(empty_zero_page) | _PAGE_PRESENT)); resume_init_first_level_page_table()
/linux-4.1.27/arch/x86/xen/
H A Dxen-head.S117 .quad _PAGE_PRESENT; .quad _PAGE_PRESENT)
H A Dmmu.c368 if (val & _PAGE_PRESENT) { pte_mfn_to_pfn()
374 val = flags & ~_PAGE_PRESENT; pte_mfn_to_pfn()
384 if (val & _PAGE_PRESENT) { pte_pfn_to_mfn()
1455 if (pte_val_ma(*ptep) & _PAGE_PRESENT) mask_rw_pte()
1926 __pgd(__pa(swapper_kernel_pmd) | _PAGE_PRESENT); xen_write_cr3_init()
1959 __pgd(__pa(initial_kernel_pmd) | _PAGE_PRESENT); xen_setup_kernel_pagetable()
/linux-4.1.27/arch/hexagon/mm/
H A Dioremap.c31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE ioremap_nocache()
/linux-4.1.27/arch/m68k/mm/
H A Dkmap.c155 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | __ioremap()
173 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | __ioremap()
267 if (pmd_type == _PAGE_PRESENT) { __iounmap()
344 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { kernel_set_cachemode()
H A Dmotorola.c120 _PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY; map_node()
/linux-4.1.27/arch/openrisc/include/asm/
H A Dpgtable.h144 * we just reuse this bit in software for _PAGE_PRESENT and
147 #define _PAGE_PRESENT _PAGE_CC macro
157 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED)
158 #define _PAGE_ALL (_PAGE_PRESENT | _PAGE_ACCESSED)
224 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
229 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
/linux-4.1.27/arch/arc/include/asm/
H A Dpgtable.h65 #define _PAGE_PRESENT (1<<10) /* TLB entry is valid (H) */ macro
76 #define _PAGE_PRESENT (1<<9) /* TLB entry is valid (H) */ macro
83 _PAGE_GLOBAL | _PAGE_PRESENT)
96 #define ___DEF (_PAGE_PRESENT | _PAGE_DEF_CACHEABLE)
121 #define PTE_BITS_IN_PD0 (_PAGE_GLOBAL | _PAGE_PRESENT)
251 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
/linux-4.1.27/arch/x86/mm/
H A Dhugetlbpage.c65 (pmd_val(pmd) & (_PAGE_PRESENT|_PAGE_PSE)) != _PAGE_PRESENT; pmd_huge()
H A Dpageattr-test.c70 if ((pte_val(*pte) & _PAGE_PRESENT) && !(pte_val(*pte) & _PAGE_PSE)) { print_split()
149 !(pte_val(*pte) & _PAGE_PRESENT)) { pageattr_test()
H A Dkmmio.c119 *old = v & _PAGE_PRESENT; clear_pmd_presence()
120 v &= ~_PAGE_PRESENT; clear_pmd_presence()
130 *old = v & _PAGE_PRESENT; clear_pte_presence()
131 v &= ~_PAGE_PRESENT; clear_pte_presence()
H A Dpageattr.c203 if (pte && (pte_val(*pte) & _PAGE_PRESENT)) cpa_flush_range()
241 if (pte && (pte_val(*pte) & _PAGE_PRESENT)) cpa_flush_array()
528 if (pgprot_val(req_prot) & _PAGE_PRESENT) try_preserve_large_page()
628 if (pgprot_val(ref_prot) & _PAGE_PRESENT) __split_large_page()
641 if (pgprot_val(ref_prot) & _PAGE_PRESENT) __split_large_page()
1165 if (pgprot_val(new_prot) & _PAGE_PRESENT) __change_page_attr()
1663 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_PRESENT), 0); set_memory_np()
1804 .mask_set = __pgprot(_PAGE_PRESENT | _PAGE_RW), __set_pages_p()
1824 .mask_clr = __pgprot(_PAGE_PRESENT | _PAGE_RW), __set_pages_np()
1875 return (pte_val(*pte) & _PAGE_PRESENT); kernel_page_present()
1903 cpa.mask_set = __pgprot(_PAGE_PRESENT | page_flags); kernel_map_pages_in_pgd()
H A Dgup.c77 mask = _PAGE_PRESENT|_PAGE_USER; gup_pte_range()
125 mask = _PAGE_PRESENT|_PAGE_USER; gup_huge_pmd()
202 mask = _PAGE_PRESENT|_PAGE_USER; gup_huge_pud()
H A Dpgtable.c175 /* Note: almost everything apart from _PAGE_PRESENT is pud_populate()
177 set_pud(pudp, __pud(__pa(pmd) | _PAGE_PRESENT)); pud_populate()
H A Dmmio-mod.c113 (unsigned long long)pte_val(*pte) & _PAGE_PRESENT); print_pte()
H A Dinit_32.c75 if (!(pgd_val(*pgd) & _PAGE_PRESENT)) { one_md_table_init()
78 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); one_md_table_init()
97 if (!(pmd_val(*pmd) & _PAGE_PRESENT)) { one_page_table_init()
H A Dmpx.c422 * Set the valid flag (kinda like _PAGE_PRESENT in a pte) allocate_bt()
/linux-4.1.27/arch/frv/mm/
H A Dtlb-miss.S166 andicc gr30,#_PAGE_PRESENT,gr0,icc0
228 andicc.p gr30,#_PAGE_PRESENT,gr0,icc0
296 andicc gr30,#_PAGE_PRESENT,gr0,icc0
357 andicc.p gr30,#_PAGE_PRESENT,gr0,icc0
423 andicc gr30,#_PAGE_PRESENT,gr0,icc0
475 andicc.p gr30,#_PAGE_PRESENT,gr0,icc0
543 andicc gr30,#_PAGE_PRESENT,gr0,icc0
609 andicc.p gr30,#_PAGE_PRESENT,gr0,icc0
/linux-4.1.27/arch/parisc/mm/
H A Dioremap.c66 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | __ioremap()
/linux-4.1.27/arch/avr32/mm/
H A Dioremap.c56 prot = __pgprot(_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_RW | _PAGE_DIRTY __ioremap()
H A Dfault.c218 if (page & _PAGE_PRESENT) { do_page_fault()
/linux-4.1.27/arch/cris/mm/
H A Dioremap.c66 __pgprot(_PAGE_PRESENT | __READABLE | __ioremap()
/linux-4.1.27/arch/m32r/mm/
H A Dioremap.c77 pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ __ioremap()
H A Dmmu.S170 and3 r3, r2, #2 ; _PAGE_PRESENT(=2) check
207 ldi r2, #2 ; r2: pte_data = 0 | _PAGE_PRESENT(=2)
287 and3 r3, r1, #2 ; _PAGE_PRESENT(=2) check
314 ldi r1, #2 ; r1: pte_data = 0 | _PAGE_PRESENT(=2)
H A Dfault.c260 if (page & _PAGE_PRESENT) { do_page_fault()
/linux-4.1.27/arch/x86/kernel/
H A Dmachine_kexec_32.c110 if (!(pgd_val(*pgd) & _PAGE_PRESENT)) machine_kexec_page_table_set_one()
111 set_pgd(pgd, __pgd(__pa(pmd) | _PAGE_PRESENT)); machine_kexec_page_table_set_one()
115 if (!(pmd_val(*pmd) & _PAGE_PRESENT)) machine_kexec_page_table_set_one()
H A Drelocate_kernel_64.S20 #define PAGE_ATTR (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
/linux-4.1.27/arch/sh/mm/
H A Dgup.c81 result = _PAGE_PRESENT | _PAGE_EXT(_PAGE_EXT_KERN_READ | _PAGE_EXT_USER_READ); gup_pte_range()
85 result = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; gup_pte_range()
89 result = _PAGE_PRESENT | _PAGE_USER; gup_pte_range()
H A Dcache-sh4.c232 if (!(pte_val(*pte) & _PAGE_PRESENT)) sh4_flush_cache_page()
/linux-4.1.27/arch/mn10300/include/asm/
H A Dpgtable.h119 #define _PAGE_PRESENT xPTEL2_PV macro
145 #define _PAGE_PRESENTV (_PAGE_PRESENT|_PAGE_VALID)
393 ((entry).pte |= _PAGE_PRESENT | _PAGE_PSE | _PAGE_VALID)
410 ((pmd_val(pmd) & (_PAGE_PSE | _PAGE_PRESENT)) == \
411 (_PAGE_PSE | _PAGE_PRESENT))
/linux-4.1.27/arch/frv/include/asm/
H A Dpgtable.h289 #define _PAGE_PRESENT xAMPRx_V macro
304 (_PAGE_PRESENT | xAMPRx_SS_16Kb | xAMPRx_D | _PAGE_NOTGLOBAL | _PAGE_ACCESSED)
321 #define _PAGE_TABLE (_PAGE_PRESENT | xAMPRx_SS_16Kb)
354 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
358 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
419 #define mk_pte_huge(entry) ((entry).pte_low |= _PAGE_PRESENT | _PAGE_PSE)
462 * bit 0: Must be 0 (!_PAGE_PRESENT)
/linux-4.1.27/arch/s390/include/asm/
H A Dpgtable.h187 #define _PAGE_PRESENT 0x001 /* SW pte present bit */ macro
202 * WITHOUT holding the page table lock. The _PAGE_PRESENT bit is used to
339 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_INVALID)
340 #define PAGE_READ __pgprot(_PAGE_PRESENT | _PAGE_READ | \
342 #define PAGE_WRITE __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
345 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
347 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
349 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \
552 return (pte_val(pte) & _PAGE_PRESENT) != 0; pte_present()
564 return (pte_val(pte) & (_PAGE_PROTECT | _PAGE_PRESENT)) pte_swap()
673 if ((pte_val(entry) & _PAGE_PRESENT) && pgste_set_pte()
997 if (dirty && (pte_val(pte) & _PAGE_PRESENT)) { ptep_test_and_clear_user_dirty()
/linux-4.1.27/arch/x86/mm/kmemcheck/
H A Dkmemcheck.c104 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); kmemcheck_show_addr()
117 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); kmemcheck_hide_addr()
279 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); kmemcheck_show_pages()
305 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); kmemcheck_hide_pages()
/linux-4.1.27/arch/um/kernel/skas/
H A Dmmu.c38 *pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT)); init_stub_pte()
/linux-4.1.27/arch/m68k/kernel/
H A Ddma.c53 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY); dma_alloc_coherent()
H A Dhead.S2129 orw #_PAGE_PRESENT+_PAGE_ACCESSED+_PAGE_DIRTY,%d0
2412 orw #_PAGE_PRESENT+_PAGE_ACCESSED+_PAGE_DIRTY,%d0
/linux-4.1.27/arch/microblaze/mm/
H A Dpgtable.c106 if ((flags & _PAGE_PRESENT) == 0) __ioremap()
169 f = _PAGE_PRESENT | _PAGE_ACCESSED | mapin_ram()
/linux-4.1.27/arch/arc/mm/
H A Dtlbex.S206 and.f 0, r0, _PAGE_PRESENT
280 mov_s r2, (_PAGE_PRESENT | _PAGE_EXECUTE)
321 mov_s r2, _PAGE_PRESENT ; common bit for K/U PTE
H A Dtlb.c483 pte_val(*ptep) |= (_PAGE_PRESENT | _PAGE_ACCESSED); create_tlb()
705 is_valid |= pd0[way] & _PAGE_PRESENT; do_tlb_overlap_fault()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dpgtable.h208 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ pte_mkspecial() macro
243 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED) pte_mkspecial()
297 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) pte_mkspecial()
503 * must not include the _PAGE_PRESENT bit, or the _PAGE_HASHPTE bit
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dfault.c144 access = (_PAGE_PRESENT | _PAGE_USER); spufs_handle_class1()
/linux-4.1.27/arch/s390/mm/
H A Dhugetlbpage.c74 pte_val(pte) |= _PAGE_LARGE | _PAGE_PRESENT; __pmd_to_pte()
/linux-4.1.27/arch/nios2/mm/
H A Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ remap_area_pte()
/linux-4.1.27/arch/cris/include/asm/
H A Dpgtable.h96 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
104 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
/linux-4.1.27/arch/powerpc/kernel/
H A Dhead_8xx.S340 rlwinm r11, r10, 32-5, _PAGE_PRESENT
342 rlwimi r10, r11, 0, _PAGE_PRESENT
404 /* Both _PAGE_ACCESSED and _PAGE_PRESENT has to be set.
406 * Clear _PAGE_PRESENT and load that which will
414 rlwinm r11, r10, 32-5, _PAGE_PRESENT
416 rlwimi r10, r11, 0, _PAGE_PRESENT
H A Dhead_fsl_booke.S492 li r13,_PAGE_PRESENT
495 li r13,_PAGE_PRESENT|_PAGE_ACCESSED
565 li r13,_PAGE_PRESENT | _PAGE_BAP_SX
568 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
579 li r13,_PAGE_PRESENT | _PAGE_BAP_UX
582 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
771 li r10, (_PAGE_EXEC | _PAGE_PRESENT)
H A Dhead_44x.S357 li r13,_PAGE_PRESENT|_PAGE_ACCESSED
455 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
594 li r13,_PAGE_PRESENT|_PAGE_ACCESSED
678 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
H A Dhead_32.S501 li r1,_PAGE_USER|_PAGE_PRESENT /* low addresses tested as user */
575 li r1,_PAGE_USER|_PAGE_PRESENT /* low addresses tested as user */
659 li r1,_PAGE_RW|_PAGE_USER|_PAGE_PRESENT /* access flags */
H A Dhead_40x.S497 andi. r9, r11, _PAGE_PRESENT
597 andi. r9, r11, _PAGE_PRESENT
H A Dexceptions-64s.S1582 ori r4,r4,1 /* add _PAGE_PRESENT */
/linux-4.1.27/drivers/misc/cxl/
H A Dfault.c152 access = _PAGE_PRESENT; cxl_handle_page_fault()
/linux-4.1.27/arch/score/mm/
H A Dcache.c197 if (!(pte_val(*ptep) & _PAGE_PRESENT)) { flush_cache_range()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_vm.c720 pgprot & _PAGE_PRESENT ? 'p' : '-', drm_vma_info()
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dspu_base.c200 ret = hash_page(ea, _PAGE_PRESENT, 0x300, dsisr); __spu_trap_data_map()
/linux-4.1.27/arch/microblaze/kernel/
H A Dhw_exception_handler.S747 andi r6, r4, _PAGE_PRESENT
818 andi r6, r4, _PAGE_PRESENT
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c158 gen8_pte_t pte = valid ? _PAGE_PRESENT | _PAGE_RW : 0; gen8_pte_encode()
180 gen8_pde_t pde = _PAGE_PRESENT | _PAGE_RW; gen8_pde_encode()
/linux-4.1.27/arch/openrisc/kernel/
H A Dhead.S761 * for SMP, but since we have _PAGE_PRESENT bit always defined
/linux-4.1.27/arch/x86/kvm/
H A Dvmx.c4099 tmp = (i << 22) + (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | init_rmode_identity_map()

Completed in 2456 milliseconds