/linux-2.4.37.9/include/asm-arm/proc-armo/ |
D | pgtable.h | 53 #define _PAGE_PRESENT 0x01 macro 60 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_CLEAN | _PAGE_READONLY | _PAGE_NOT_USER) 61 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CLEAN ) 62 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_CLEAN | _PAGE_READONLY ) 63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_CLEAN | _PAGE_READONLY ) 64 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_NOT_USER) 73 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
|
/linux-2.4.37.9/include/asm-parisc/ |
D | pgtable.h | 150 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro 154 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 156 #define _PAGE_KERNEL (_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_A… 160 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 161 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED) 165 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED) 166 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED) 167 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS… 169 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC… 171 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCES… [all …]
|
/linux-2.4.37.9/include/asm-sh/ |
D | pgtable.h | 131 #define _PAGE_PRESENT 0x100 /* V-bit : page is valid */ macro 166 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 167 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) 171 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_CACHABLE |_PAGE_ACCESSED… 172 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | _PAGE_ACCESSED | _PAGE_FLA… 173 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | _PAGE_ACCESSED | _PAGE… 174 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_CACHABLE | _PAGE_DIRTY | _PAGE_ACCESS… 175 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | _PAGE_DIRTY | _PAGE_ACCESSED | _PA… 177 …__pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_FLAGS_HARD | (slot ? _PAG… 204 #define pte_present(x) (pte_val(x) & (_PAGE_PRESENT | _PAGE_PROTNONE)) [all …]
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | pgtable.h | 210 #define _PAGE_PRESENT 0x001 macro 224 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 225 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) 232 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 233 #define PAGE_SHARED_NOEXEC __pgprot(_PAGE_NX | _PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESS… 234 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX) 237 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 238 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX) 240 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 243 #define PAGE_LARGE (_PAGE_PSE|_PAGE_PRESENT) [all …]
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | pgtable.h | 133 #define _PAGE_PRESENT 0x0000000000000080 /* Present */ macro 153 #define PAGE_NONE __pgprot (_PAGE_PRESENT | _PAGE_ACCESSED) 156 #define PAGE_SHARED __pgprot (_PAGE_PRESENT | _PAGE_VALID | _PAGE_CACHE | \ 159 #define PAGE_COPY __pgprot (_PAGE_PRESENT | _PAGE_VALID | _PAGE_CACHE | \ 162 #define PAGE_READONLY __pgprot (_PAGE_PRESENT | _PAGE_VALID | _PAGE_CACHE | \ 165 #define PAGE_KERNEL __pgprot (_PAGE_PRESENT | _PAGE_VALID | _PAGE_CACHE | \ 169 #define PAGE_SHARED_NOEXEC __pgprot (_PAGE_PRESENT | _PAGE_VALID | \ 173 #define PAGE_COPY_NOEXEC __pgprot (_PAGE_PRESENT | _PAGE_VALID | \ 176 #define PAGE_READONLY_NOEXEC __pgprot (_PAGE_PRESENT | _PAGE_VALID | \ 183 #define _PAGE_CHG_MASK (_PFN_MASK | _PAGE_MODIFIED | _PAGE_ACCESSED | _PAGE_PRESENT | _PAGE_SZBITS) [all …]
|
/linux-2.4.37.9/include/asm-i386/ |
D | pgtable.h | 187 #define _PAGE_PRESENT 0x001 macro 199 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 200 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) 204 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 205 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 206 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 209 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) 211 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_PCD | _PAGE_ACCESSED) 213 (_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED) 267 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) [all …]
|
/linux-2.4.37.9/include/asm-s390/ |
D | pgtable.h | 158 #define _PAGE_PRESENT 0x001 /* Software */ macro 193 #define PAGE_NONE_SHARED __pgprot(_PAGE_PRESENT|_PAGE_INVALID) 194 #define PAGE_NONE_PRIVATE __pgprot(_PAGE_PRESENT|_PAGE_INVALID|_PAGE_ISCLEAN) 195 #define PAGE_RO_SHARED __pgprot(_PAGE_PRESENT|_PAGE_RO) 196 #define PAGE_RO_PRIVATE __pgprot(_PAGE_PRESENT|_PAGE_RO|_PAGE_ISCLEAN) 197 #define PAGE_COPY __pgprot(_PAGE_PRESENT|_PAGE_RO|_PAGE_ISCLEAN) 198 #define PAGE_SHARED __pgprot(_PAGE_PRESENT) 199 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT) 251 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } in pte_present() 255 (_PAGE_INVALID | _PAGE_RO | _PAGE_PRESENT)) == _PAGE_INVALID); in pte_none()
|
/linux-2.4.37.9/include/asm-mips/ |
D | pgtable.h | 90 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT) 91 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 93 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 95 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 97 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 99 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 101 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \ 159 static inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
|
D | pgtable-bits.h | 38 #define _PAGE_PRESENT (1<<6) /* implemented in software */ macro 64 #define _PAGE_PRESENT (1<<0) /* implemented in software */ macro
|
/linux-2.4.37.9/include/asm-m68k/ |
D | motorola_pgtable.h | 9 #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) 144 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
|
/linux-2.4.37.9/include/asm-s390x/ |
D | pgtable.h | 160 #define _PAGE_PRESENT 0x001 /* Software */ macro 191 #define PAGE_NONE_SHARED __pgprot(_PAGE_PRESENT|_PAGE_INVALID) 192 #define PAGE_NONE_PRIVATE __pgprot(_PAGE_PRESENT|_PAGE_INVALID|_PAGE_ISCLEAN) 193 #define PAGE_RO_SHARED __pgprot(_PAGE_PRESENT|_PAGE_RO) 194 #define PAGE_RO_PRIVATE __pgprot(_PAGE_PRESENT|_PAGE_RO|_PAGE_ISCLEAN) 195 #define PAGE_COPY __pgprot(_PAGE_PRESENT|_PAGE_RO|_PAGE_ISCLEAN) 196 #define PAGE_SHARED __pgprot(_PAGE_PRESENT) 197 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT) 286 return pte_val(pte) & _PAGE_PRESENT; in pte_present() 292 (_PAGE_INVALID | _PAGE_RO | _PAGE_PRESENT)) == _PAGE_INVALID); in pte_none()
|
/linux-2.4.37.9/include/asm-cris/ |
D | pgtable.h | 240 #define _PAGE_TABLE (_PAGE_PRESENT | __READABLE | __WRITEABLE) 243 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 244 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \ 246 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE) // | _PAGE_COW 247 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE) 249 _PAGE_PRESENT | __READABLE | __WRITEABLE) 298 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) 306 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
|
D | mmu.h | 56 #define _PAGE_PRESENT (1<<4) /* page present in memory */ macro
|
/linux-2.4.37.9/include/asm-mips64/ |
D | pgtable.h | 118 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT) 119 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 121 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 123 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 125 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 127 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 129 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \ 211 return pte_val(pte) & _PAGE_PRESENT; in pte_present()
|
D | pgtable-bits.h | 36 #define _PAGE_PRESENT (1<<0) /* implemented in software */ macro
|
/linux-2.4.37.9/arch/mips/mm/ |
D | tlbex-r3k.S | 109 andi pte, pte, (_PAGE_PRESENT | _PAGE_READ); \ 110 xori pte, pte, (_PAGE_PRESENT | _PAGE_READ); \ 126 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 127 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \
|
D | tlbex-mips32.S | 214 andi pte, pte, (_PAGE_PRESENT | _PAGE_READ); \ 215 xori pte, pte, (_PAGE_PRESENT | _PAGE_READ); \ 228 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 229 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \
|
D | tlbex-r4k.S | 115 andi pte, pte, (_PAGE_PRESENT | _PAGE_READ); \ 116 xori pte, pte, (_PAGE_PRESENT | _PAGE_READ); \ 129 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 130 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \
|
/linux-2.4.37.9/include/asm-sh64/ |
D | pgtable.h | 301 #define _PAGE_PRESENT 0x004 /* software: if allocated */ macro 326 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 337 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 342 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHABLE | \ 344 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHABLE | \ 354 #define __MMAP_COMMON (_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | _PAGE_ACCESSED) 404 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
|
/linux-2.4.37.9/arch/m68k/mm/ |
D | kmap.c | 158 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap() 176 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY); in __ioremap() 266 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { in __iounmap() 342 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { in kernel_set_cachemode()
|
/linux-2.4.37.9/include/asm-ppc/ |
D | pgtable.h | 246 #define _PAGE_PRESENT 0x002 /* software: PTE contains a translation */ macro 273 #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ macro 297 #define _PAGE_PRESENT 0x0001 /* Page is valid */ macro 333 #define _PAGE_PRESENT 0x001 /* software: pte contains a translation */ macro 380 #define _PAGE_BASE _PAGE_PRESENT | _PAGE_ACCESSED 442 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | pgtable.h | 91 #define _PAGE_PRESENT 0x001UL /* software: pte contains a translation */ macro 112 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_COHERENT) 117 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 126 #define PAGE_KERNEL_CI __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 196 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
|
/linux-2.4.37.9/arch/sh/mm/ |
D | cache-sh4.c | 396 if ((pte_val(entry) & _PAGE_PRESENT)) { in flush_cache_range() 441 if (!(pte_val(entry) & _PAGE_PRESENT)) in flush_cache_page() 461 pgprot_t pgprot = __pgprot(_PAGE_PRESENT | in clear_user_page() 500 pgprot_t pgprot = __pgprot(_PAGE_PRESENT | in copy_user_page()
|
/linux-2.4.37.9/arch/arm/tools/ |
D | getconstants.c | 60 DEFN("PAGE_PRESENT", _PAGE_PRESENT); in func()
|
/linux-2.4.37.9/arch/ppc/mm/ |
D | pgtable.c | 156 if ((flags & _PAGE_PRESENT) == 0) in __ioremap() 301 f = _PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_SHARED | _PAGE_HWEXEC; in mapin_ram()
|