/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | mmu.h | 55 #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 D | cache.c | 160 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 D | ioremap.c | 24 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE remap_area_pte()
|
H A D | c-r3k.c | 260 if (!(pte_val(*ptep) & _PAGE_PRESENT)) r3k_flush_cache_page()
|
H A D | c-tx39.c | 195 if (!(pte_val(*ptep) & _PAGE_PRESENT)) tx39_flush_cache_page()
|
H A D | tlbex.c | 1614 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 D | mmu.h | 60 #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 D | pgtable-bits.h | 7 #define _PAGE_PRESENT (1<<9) /* implemented in software */ macro
|
H A D | pgtable.h | 121 #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 D | pgtable.h | 94 #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 D | mmu_context.h | 34 #define set_tlb_data(entry, data) (*entry = (data | _PAGE_PRESENT))
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | pgtable_32.h | 49 #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 D | pgtable_64.h | 66 #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 D | pgtable.h | 60 #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 D | pgtable-bits.h | 30 #define _PAGE_PRESENT (1<<25) /* PTE contains a translation */ macro
|
H A D | pgtable.h | 35 #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 D | pgtable.h | 13 #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 D | pgtable-3level.h | 58 #define pud_present(x) (pud_val(x) & _PAGE_PRESENT)
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | pgtable_types.h | 34 #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 D | pgtable.h | 297 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 D | pgtable.h | 53 #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 D | pgtable-bits.h | 16 #define _PAGE_PRESENT MMCU_ENTRY_VAL_BIT macro 80 #define _PAGE_TABLE (_PAGE_SZ | _PAGE_PRESENT)
|
H A D | mmu_context.h | 66 _PAGE_PRESENT, phys0); load_pgd()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 8 #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 D | mcf_pgtable.h | 51 #define _PAGE_PRESENT (CF_PAGE_VALID) macro
|
H A D | sun3_pgtable.h | 38 #define _PAGE_PRESENT (SUN3_PAGE_VALID) macro
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | pte-fsl-booke.h | 19 #define _PAGE_PRESENT 0x00001 /* S: PTE contains a translation */ macro
|
H A D | pte-hash32.h | 19 #define _PAGE_PRESENT 0x001 /* software: pte contains a translation */ macro
|
H A D | pte-hash64.h | 17 #define _PAGE_PRESENT 0x0001 /* software: pte contains a translation */ macro
|
H A D | pte-44x.h | 67 * _PAGE_PRESENT 74 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro
|
H A D | pte-book3e.h | 12 #define _PAGE_PRESENT 0x000001 /* software: pte contains a translation */ macro
|
H A D | pgtable.h | 50 (_PAGE_PRESENT | _PAGE_USER)) == _PAGE_PRESENT; pte_protnone() 61 return pte_val(pte) & _PAGE_PRESENT; pte_present()
|
H A D | pte-40x.h | 41 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro
|
H A D | pte-8xx.h | 31 #define _PAGE_PRESENT 0x0001 /* Page is valid */ macro
|
H A D | pte-common.h | 113 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
|
H A D | pgtable-ppc64.h | 401 * _PAGE_PRESENT bit of that is zero when we look at them 523 pmd_val(pmd) &= ~_PAGE_PRESENT; pmd_mknotpresent()
|
H A D | kvm_book3s_64.h | 317 if (unlikely(!(pte_val(old_pte) & _PAGE_PRESENT))) kvmppc_read_update_linux_pte()
|
H A D | pgtable-ppc32.h | 336 * must not include the _PAGE_PRESENT bit or the _PAGE_HASHPTE bit (if used).
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | pgtable.h | 26 #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 D | pgtable-bits.h | 57 #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 D | pgtable-32.h | 181 * _PAGE_PRESENT at bit 0
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | pgtable.h | 59 ((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 D | pgtable.h | 156 #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 D | pgtable.c | 47 (_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 D | pgtable_32.c | 190 if ((flags & _PAGE_PRESENT) == 0) __ioremap_caller() 303 BUG_ON((pte_val(*pg) & (_PAGE_PRESENT | _PAGE_HASHPTE)) && map_page()
|
H A D | tlb_low_64e.S | 91 /* 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 D | pgtable_64.c | 177 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 D | init_64.c | 200 unsigned long i, flags = _PAGE_PRESENT | _PAGE_ACCESSED | vmemmap_create_mapping()
|
H A D | mem.c | 492 * We don't need to worry about _PAGE_PRESENT here because we are update_mmu_cache()
|
H A D | hash_utils_64.c | 1076 /* Add _PAGE_PRESENT to the required access perm */ hash_page_mm() 1077 access |= _PAGE_PRESENT; hash_page_mm()
|
H A D | hash_low_32.S | 72 ori r3,r3,_PAGE_USER|_PAGE_PRESENT /* test low addresses as user */
|
H A D | hugetlbpage.c | 1066 mask = _PAGE_PRESENT | _PAGE_USER; gup_hugepte()
|
/linux-4.1.27/drivers/lguest/ |
H A D | page_tables.c | 65 #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 D | pgtable.h | 72 #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 D | pgalloc.h | 54 __pgprot(_PAGE_PRESENT))); pmd_populate_kernel() 61 __pgprot(_PAGE_PRESENT))); pmd_populate()
|
H A D | pgtable_64.h | 80 return pud_val(pud) & _PAGE_PRESENT; pud_present()
|
/linux-4.1.27/arch/metag/mm/ |
H A D | mmu-meta2.c | 99 if ((phys0 & _PAGE_PRESENT) && !(phys0 & _PAGE_PRIV)) { repriv_mmu_tables() 187 _PAGE_PRESENT); mmu_init() 190 _PAGE_PRESENT | _PAGE_DIRTY | mmu_init()
|
H A D | ioremap.c | 52 prot = __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_DIRTY | __ioremap()
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | pgtable.h | 100 #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 D | hibernate_32.c | 43 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 D | xen-head.S | 117 .quad _PAGE_PRESENT; .quad _PAGE_PRESENT)
|
H A D | mmu.c | 368 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 D | ioremap.c | 31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE ioremap_nocache()
|
/linux-4.1.27/arch/m68k/mm/ |
H A D | kmap.c | 155 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 D | motorola.c | 120 _PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY; map_node()
|
/linux-4.1.27/arch/openrisc/include/asm/ |
H A D | pgtable.h | 144 * 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 D | pgtable.h | 65 #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 D | hugetlbpage.c | 65 (pmd_val(pmd) & (_PAGE_PRESENT|_PAGE_PSE)) != _PAGE_PRESENT; pmd_huge()
|
H A D | pageattr-test.c | 70 if ((pte_val(*pte) & _PAGE_PRESENT) && !(pte_val(*pte) & _PAGE_PSE)) { print_split() 149 !(pte_val(*pte) & _PAGE_PRESENT)) { pageattr_test()
|
H A D | kmmio.c | 119 *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 D | pageattr.c | 203 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 D | gup.c | 77 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 D | pgtable.c | 175 /* Note: almost everything apart from _PAGE_PRESENT is pud_populate() 177 set_pud(pudp, __pud(__pa(pmd) | _PAGE_PRESENT)); pud_populate()
|
H A D | mmio-mod.c | 113 (unsigned long long)pte_val(*pte) & _PAGE_PRESENT); print_pte()
|
H A D | init_32.c | 75 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 D | mpx.c | 422 * Set the valid flag (kinda like _PAGE_PRESENT in a pte) allocate_bt()
|
/linux-4.1.27/arch/frv/mm/ |
H A D | tlb-miss.S | 166 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 D | ioremap.c | 66 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | __ioremap()
|
/linux-4.1.27/arch/avr32/mm/ |
H A D | ioremap.c | 56 prot = __pgprot(_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_RW | _PAGE_DIRTY __ioremap()
|
H A D | fault.c | 218 if (page & _PAGE_PRESENT) { do_page_fault()
|
/linux-4.1.27/arch/cris/mm/ |
H A D | ioremap.c | 66 __pgprot(_PAGE_PRESENT | __READABLE | __ioremap()
|
/linux-4.1.27/arch/m32r/mm/ |
H A D | ioremap.c | 77 pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ __ioremap()
|
H A D | mmu.S | 170 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 D | fault.c | 260 if (page & _PAGE_PRESENT) { do_page_fault()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | machine_kexec_32.c | 110 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 D | relocate_kernel_64.S | 20 #define PAGE_ATTR (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
|
/linux-4.1.27/arch/sh/mm/ |
H A D | gup.c | 81 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 D | cache-sh4.c | 232 if (!(pte_val(*pte) & _PAGE_PRESENT)) sh4_flush_cache_page()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | pgtable.h | 119 #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 D | pgtable.h | 289 #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 D | pgtable.h | 187 #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 D | kmemcheck.c | 104 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 D | mmu.c | 38 *pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT)); init_stub_pte()
|
/linux-4.1.27/arch/m68k/kernel/ |
H A D | dma.c | 53 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY); dma_alloc_coherent()
|
H A D | head.S | 2129 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 D | pgtable.c | 106 if ((flags & _PAGE_PRESENT) == 0) __ioremap() 169 f = _PAGE_PRESENT | _PAGE_ACCESSED | mapin_ram()
|
/linux-4.1.27/arch/arc/mm/ |
H A D | tlbex.S | 206 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 D | tlb.c | 483 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 D | pgtable.h | 208 #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 D | fault.c | 144 access = (_PAGE_PRESENT | _PAGE_USER); spufs_handle_class1()
|
/linux-4.1.27/arch/s390/mm/ |
H A D | hugetlbpage.c | 74 pte_val(pte) |= _PAGE_LARGE | _PAGE_PRESENT; __pmd_to_pte()
|
/linux-4.1.27/arch/nios2/mm/ |
H A D | ioremap.c | 28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ remap_area_pte()
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | pgtable.h | 96 #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 D | head_8xx.S | 340 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 D | head_fsl_booke.S | 492 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 D | head_44x.S | 357 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 D | head_32.S | 501 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 D | head_40x.S | 497 andi. r9, r11, _PAGE_PRESENT 597 andi. r9, r11, _PAGE_PRESENT
|
H A D | exceptions-64s.S | 1582 ori r4,r4,1 /* add _PAGE_PRESENT */
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | fault.c | 152 access = _PAGE_PRESENT; cxl_handle_page_fault()
|
/linux-4.1.27/arch/score/mm/ |
H A D | cache.c | 197 if (!(pte_val(*ptep) & _PAGE_PRESENT)) { flush_cache_range()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_vm.c | 720 pgprot & _PAGE_PRESENT ? 'p' : '-', drm_vma_info()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | spu_base.c | 200 ret = hash_page(ea, _PAGE_PRESENT, 0x300, dsisr); __spu_trap_data_map()
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | hw_exception_handler.S | 747 andi r6, r4, _PAGE_PRESENT 818 andi r6, r4, _PAGE_PRESENT
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 158 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 D | head.S | 761 * for SMP, but since we have _PAGE_PRESENT bit always defined
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | vmx.c | 4099 tmp = (i << 22) + (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | init_rmode_identity_map()
|