/arch/score/include/asm/ |
H A D | pgtable-bits.h | 4 #define _PAGE_ACCESSED (1<<5) /* implemented in software */ macro 20 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED) 23 (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE)
|
/arch/cris/include/arch-v32/arch/ |
H A D | mmu.h | 57 #define _PAGE_ACCESSED (1 << 6) /* Simulated in software using valid bit. */ macro 63 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED) 67 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED) 69 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 71 _PAGE_ACCESSED) 73 _PAGE_ACCESSED | _PAGE_EXECUTE) 76 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE | _PAGE_ACCESSED)
|
/arch/cris/include/arch-v10/arch/ |
H A D | mmu.h | 62 #define _PAGE_ACCESSED (1<<5) /* simulated in software using valid bit */ macro 69 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED) 73 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED) 75 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 77 _PAGE_ACCESSED)
|
/arch/powerpc/include/asm/ |
H A D | pte-8xx.h | 42 #define _PAGE_ACCESSED 0x0020 /* software: page referenced */ macro 57 #define _PTE_NONE_MASK _PAGE_ACCESSED
|
H A D | pte-44x.h | 82 #define _PAGE_ACCESSED 0x00000008 /* S: Page referenced */ macro
|
H A D | pte-fsl-booke.h | 27 #define _PAGE_ACCESSED 0x00020 /* S: Page referenced */ macro
|
H A D | pte-hash32.h | 28 #define _PAGE_ACCESSED 0x100 /* R: page referenced */ macro
|
H A D | pte-40x.h | 51 #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ macro
|
H A D | pte-hash64.h | 26 #define _PAGE_ACCESSED 0x0100 /* R: page referenced */ macro
|
H A D | pte-common.h | 93 _PAGE_ACCESSED | _PAGE_SPECIAL) 98 _PAGE_USER | _PAGE_ACCESSED | \ 112 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
|
/arch/m32r/include/asm/ |
H A D | pgtable.h | 104 #define _PAGE_ACCESSED (1UL << _PAGE_BIT_ACCESSED) macro 108 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \ 111 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \ 114 ( PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY ) 118 __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 120 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED) 123 | _PAGE_ACCESSED) 125 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED) 127 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED) 129 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED) [all...] |
/arch/sh/include/asm/ |
H A D | pgtable_32.h | 23 * Bit 10 is used for _PAGE_ACCESSED, and bit 11 is used for _PAGE_SPECIAL. 53 #define _PAGE_ACCESSED 0x400 /* software: page referenced */ macro 107 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED| \ 112 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | \ 115 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | _PAGE_FILE) 173 (PTE_MASK | _PAGE_ACCESSED | _PAGE_CACHABLE | \ 180 _PAGE_ACCESSED | _PAGE_FLAGS_HARD) 182 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 189 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 198 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ [all...] |
H A D | pgtable_64.h | 119 #define _PAGE_ACCESSED 0x800 /* software: page referenced */ macro 133 _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_WIRED) 168 _PAGE_CACHABLE | _PAGE_ACCESSED | _PAGE_DIRTY | \ 174 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | \ 181 _PAGE_CACHABLE | _PAGE_ACCESSED) 183 #define PAGE_NONE __pgprot(_PAGE_CACHABLE | _PAGE_ACCESSED) 202 _PAGE_EXECUTE | _PAGE_ACCESSED | \ 262 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 269 static inline pte_t pte_mkold(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_ACCESSED)); return pte; } 272 static inline pte_t pte_mkyoung(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); retur [all...] |
/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 12 #define _PAGE_ACCESSED 0x008 macro 28 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE) 62 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits) 63 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits) 64 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) 65 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) 66 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits) 70 #define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 71 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 72 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED) [all...] |
/arch/um/include/asm/ |
H A D | pgtable.h | 18 #define _PAGE_ACCESSED 0x080 macro 60 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 61 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) 62 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 64 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) 65 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 66 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 67 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 68 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 69 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) [all...] |
/arch/blackfin/include/asm/ |
H A D | pgtable.h | 62 #define _PAGE_ACCESSED CPLB_ALL_ACCESS macro 76 PTE_BIT_FUNC(mkold, &= ~_PAGE_ACCESSED); 77 PTE_BIT_FUNC(mkyoung, |= _PAGE_ACCESSED);
|
/arch/x86/include/asm/ |
H A D | pgtable_types.h | 49 #define _PAGE_ACCESSED (_AT(pteval_t, 1) << _PAGE_BIT_ACCESSED) macro 121 _PAGE_ACCESSED | _PAGE_DIRTY) 122 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \ 127 _PAGE_SPECIAL | _PAGE_ACCESSED | _PAGE_DIRTY | \ 137 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 139 _PAGE_ACCESSED | _PAGE_NX) 142 _PAGE_USER | _PAGE_ACCESSED) 144 _PAGE_ACCESSED | _PAGE_NX) 146 _PAGE_ACCESSED) 149 _PAGE_ACCESSED | _PAGE_N [all...] |
/arch/mn10300/mm/ |
H A D | tlb-mn10300.S | 64 #if ((_PAGE_ACCESSED & 0xffffff00) == 0) 65 bset _PAGE_ACCESSED,(0,a2) 66 #elif ((_PAGE_ACCESSED & 0xffff00ff) == 0) 67 bset +(_PAGE_ACCESSED >> 8),(1,a2) 69 #error "_PAGE_ACCESSED value is out of range" 127 #if ((_PAGE_ACCESSED & 0xffffff00) == 0) 128 bset _PAGE_ACCESSED,(0,a2) 129 #elif ((_PAGE_ACCESSED & 0xffff00ff) == 0) 130 bset +(_PAGE_ACCESSED >> 8),(1,a2) 132 #error "_PAGE_ACCESSED valu [all...] |
/arch/parisc/include/asm/ |
H A D | pgtable.h | 186 #define _PAGE_ACCESSED (1 << xlate_pabit(_PAGE_ACCESSED_BIT)) macro 191 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 192 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 193 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) 216 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 217 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED) 221 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED) 222 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED) 223 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESSED) 225 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC |_PAGE_ACCESSED) [all...] |
/arch/mips/include/asm/ |
H A D | pgtable-bits.h | 63 #define _PAGE_ACCESSED (1 << _PAGE_ACCESSED_SHIFT) macro 83 #define _PAGE_ACCESSED (1 << _PAGE_ACCESSED_SHIFT) macro 126 #define _PAGE_ACCESSED (1 << _PAGE_ACCESSED_SHIFT) macro 275 #define __READABLE (_PAGE_SILENT_READ | _PAGE_ACCESSED | (cpu_has_rixi ? 0 : _PAGE_READ)) 278 #define _PAGE_CHG_MASK (_PFN_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _CACHE_MASK)
|
/arch/avr32/include/asm/ |
H A D | pgtable.h | 102 #define _PAGE_ACCESSED (1 << _PAGE_BIT_ACCESSED) macro 112 * support 1K pages anyway due to the _PAGE_PRESENT and _PAGE_ACCESSED 133 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY \ 140 | _PAGE_ACCESSED) 142 #define PAGE_NONE (_PAGE_ACCESSED | _PAGE_TYPE_NONE) 206 return pte_val(pte) & _PAGE_ACCESSED; 234 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_ACCESSED)); 249 set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED));
|
/arch/metag/include/asm/ |
H A D | pgtable.h | 48 #define _PAGE_ACCESSED _PAGE_ALWAYS_ZERO_1 macro 147 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 151 _PAGE_ACCESSED | _PAGE_CACHEABLE) 153 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 157 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 160 _PAGE_ACCESSED | _PAGE_WRITE | \ 221 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 227 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } 230 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; }
|
/arch/mn10300/include/asm/ |
H A D | pgtable.h | 133 #define _PAGE_ACCESSED xPTEL2_UNUSED1 macro 150 #define _PAGE_TABLE (_PAGE_PRESENTV | _PAGE_PROT_WKNU | _PAGE_ACCESSED | _PAGE_DIRTY) 151 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 153 #define __PAGE_NONE (_PAGE_PRESENTV | _PAGE_PROT_RKNU | _PAGE_ACCESSED | _PAGE_CACHE) 154 #define __PAGE_SHARED (_PAGE_PRESENTV | _PAGE_PROT_WKWU | _PAGE_ACCESSED | _PAGE_CACHE) 155 #define __PAGE_COPY (_PAGE_PRESENTV | _PAGE_PROT_RKRU | _PAGE_ACCESSED | _PAGE_CACHE) 156 #define __PAGE_READONLY (_PAGE_PRESENTV | _PAGE_PROT_RKRU | _PAGE_ACCESSED | _PAGE_CACHE) 169 #define __PAGE_KERNEL_BASE (_PAGE_PRESENTV | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL) 240 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 264 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; retur [all...] |
/arch/openrisc/include/asm/ |
H A D | pgtable.h | 152 #define _PAGE_ACCESSED _PAGE_A macro 157 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 158 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED) 159 #define _PAGE_ALL (_PAGE_PRESENT | _PAGE_ACCESSED) 161 (_PAGE_BASE | _PAGE_SRE | _PAGE_SWE | _PAGE_ACCESSED | _PAGE_DIRTY) 242 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 273 pte_val(pte) &= ~(_PAGE_ACCESSED); 303 pte_val(pte) |= _PAGE_ACCESSED;
|
/arch/xtensa/include/asm/ |
H A D | pgtable.h | 155 #define _PAGE_ACCESSED (1<<8) /* software: page accessed (read) */ macro 159 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 160 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) 174 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_BYPASS) 176 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_WB) 261 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 270 { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } 274 { pte_val(pte) |= _PAGE_ACCESSED; return pte; }
|