/linux/arch/sh/include/asm/ |
A D | pgtable_32.h | 177 _PAGE_ACCESSED | _PAGE_FLAGS_HARD) 215 _PAGE_DIRTY | _PAGE_ACCESSED | \ 223 _PAGE_ACCESSED | _PAGE_HW_SHARED | \ 230 _PAGE_DIRTY | _PAGE_ACCESSED | \ 240 _PAGE_ACCESSED | _PAGE_FLAGS_HARD) 243 _PAGE_CACHABLE | _PAGE_ACCESSED | \ 247 _PAGE_ACCESSED | _PAGE_FLAGS_HARD) 250 _PAGE_ACCESSED | _PAGE_FLAGS_HARD) 257 _PAGE_DIRTY | _PAGE_ACCESSED | \ 262 _PAGE_ACCESSED | _PAGE_HW_SHARED | \ [all …]
|
/linux/arch/m68k/include/asm/ |
A D | motorola_pgtable.h | 13 #define _PAGE_ACCESSED 0x008 macro 40 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE) 73 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits) 74 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits) 81 #define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 82 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 83 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED) 84 #define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED) 124 pmd_val(*pmdp) = virt_to_phys(ptep) | _PAGE_TABLE | _PAGE_ACCESSED; in pmd_set() 129 pud_val(*pudp) = _PAGE_TABLE | _PAGE_ACCESSED | __pa(pmdp); in pud_set() [all …]
|
/linux/arch/um/include/asm/ |
A D | pgtable.h | 18 #define _PAGE_ACCESSED 0x080 macro 54 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) 55 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 57 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) 58 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 59 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 60 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 61 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 157 return pte_get_bits(pte, _PAGE_ACCESSED); in pte_young() 190 pte_clear_bits(pte, _PAGE_ACCESSED); in pte_mkold() [all …]
|
/linux/arch/xtensa/include/asm/ |
A D | pgtable.h | 160 #define _PAGE_ACCESSED (1<<8) /* software: page accessed (read) */ macro 164 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 165 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) 180 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_BYPASS) 182 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_WB) 187 # define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 267 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 274 { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold() 278 { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
|
/linux/arch/arc/include/asm/ |
A D | pgtable-bits-arcv2.h | 23 #define _PAGE_ACCESSED (1 << 4) /* Accessed (s) */ macro 39 #define _PAGE_CHG_MASK (PAGE_MASK_PHYS | _PAGE_ACCESSED | _PAGE_DIRTY | \ 97 #define pte_young(pte) (pte_val(pte) & _PAGE_ACCESSED) 108 PTE_BIT_FUNC(mkold, &= ~(_PAGE_ACCESSED)); 109 PTE_BIT_FUNC(mkyoung, |= (_PAGE_ACCESSED));
|
/linux/arch/openrisc/include/asm/ |
A D | pgtable.h | 146 #define _PAGE_ACCESSED _PAGE_A macro 151 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 152 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED) 153 #define _PAGE_ALL (_PAGE_PRESENT | _PAGE_ACCESSED) 155 (_PAGE_BASE | _PAGE_SRE | _PAGE_SWE | _PAGE_ACCESSED | _PAGE_DIRTY) 236 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 264 pte_val(pte) &= ~(_PAGE_ACCESSED); in pte_mkold() 294 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung()
|
/linux/arch/microblaze/include/asm/ |
A D | pgtable.h | 155 #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ macro 174 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 182 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED) 263 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 277 { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold() 288 { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung() 363 return (pte_update(ptep, _PAGE_ACCESSED, 0) & _PAGE_ACCESSED) != 0; in ptep_test_and_clear_young()
|
/linux/arch/powerpc/include/asm/book3s/32/ |
A D | pgtable.h | 29 #define _PAGE_ACCESSED 0x100 /* R: page referenced */ macro 86 _PAGE_ACCESSED | _PAGE_SPECIAL) 94 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED) 335 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 339 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young() 364 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags() 393 static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); } in pte_young() 473 return __pte(pte_val(pte) & ~_PAGE_ACCESSED); in pte_mkold() 498 return __pte(pte_val(pte) | _PAGE_ACCESSED); in pte_mkyoung()
|
/linux/arch/mips/include/asm/ |
A D | pgtable.h | 300 static inline int pte_young(pte_t pte) { return pte.pte_low & _PAGE_ACCESSED; } 322 pte.pte_low &= ~_PAGE_ACCESSED; 353 pte.pte_low |= _PAGE_ACCESSED; 364 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 380 pte_val(pte) &= ~(_PAGE_ACCESSED | _PAGE_SILENT_READ); 402 pte_val(pte) |= _PAGE_ACCESSED; 527 pte.pte_low &= (_PAGE_MODIFIED | _PAGE_ACCESSED | _PFNX_MASK); 547 if ((pte_val(pte) & _PAGE_ACCESSED) && !(pte_val(pte) & _PAGE_NO_READ)) 649 return !!(pmd_val(pmd) & _PAGE_ACCESSED); 654 pmd_val(pmd) &= ~(_PAGE_ACCESSED|_PAGE_SILENT_READ); [all …]
|
A D | pgtable-bits.h | 156 #define _PAGE_ACCESSED (1 << _PAGE_ACCESSED_SHIFT) macro 279 #define __READABLE (_PAGE_SILENT_READ | _PAGE_ACCESSED) 282 #define _PAGE_CHG_MASK (_PAGE_ACCESSED | _PAGE_MODIFIED | \
|
/linux/arch/powerpc/include/asm/nohash/32/ |
A D | pgtable.h | 165 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) 186 return __pte(pte_val(pte) | _PAGE_ACCESSED); in pte_mkyoung() 297 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 298 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young() 326 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags() 337 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
|
A D | pte-8xx.h | 42 #define _PAGE_ACCESSED 0x0020 /* Copied to L1 APG 1 entry in I/DTLB */ macro 77 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE) 151 unsigned long set = pte_val(entry) & (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_EXEC); in __ptep_set_access_flags()
|
A D | pte-40x.h | 50 #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ macro 75 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
|
A D | pte-44x.h | 78 #define _PAGE_ACCESSED 0x00000008 /* S: Page referenced */ macro 111 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
|
A D | pte-fsl-booke.h | 25 #define _PAGE_ACCESSED 0x00020 /* S: Page referenced */ macro 57 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
|
/linux/arch/powerpc/include/asm/nohash/64/ |
A D | pgtable.h | 94 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) 113 return __pte(pte_val(pte) | _PAGE_ACCESSED); in pte_mkyoung() 204 return pte_val(pte) & _PAGE_ACCESSED; in pte_young() 214 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 215 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young() 276 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
|
/linux/arch/parisc/include/asm/ |
A D | pgtable.h | 218 #define _PAGE_ACCESSED (1 << xlate_pabit(_PAGE_ACCESSED_BIT)) macro 223 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 224 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 225 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) 349 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 353 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold() 356 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
|
/linux/arch/powerpc/include/asm/book3s/64/ |
A D | pgtable.h | 28 #define _PAGE_ACCESSED 0x00100 /* R: page referenced */ macro 113 _PAGE_ACCESSED | H_PAGE_THP_HUGE | _PAGE_PTE | \ 128 _PAGE_ACCESSED | _PAGE_SPECIAL | _PAGE_PTE | \ 137 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED) 390 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 391 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young() 516 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_ACCESSED)); in pte_young() 676 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_ACCESSED)); in pte_mkold() 699 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_ACCESSED)); in pte_mkyoung() 1231 old = pmd_hugepage_update(mm, addr, pmdp, _PAGE_ACCESSED, 0); in __pmdp_test_and_clear_young() [all …]
|
/linux/arch/nios2/include/asm/ |
A D | pgtable.h | 67 _PAGE_WRITE | _PAGE_ACCESSED) 108 { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 147 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold() 165 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung()
|
/linux/arch/hexagon/include/asm/ |
A D | pgtable.h | 47 #define _PAGE_ACCESSED (1<<2) macro 269 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold() 276 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung() 297 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
|
/linux/arch/csky/include/asm/ |
A D | pgtable.h | 53 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED) 177 return (pte).pte_low & _PAGE_ACCESSED; in pte_young() 194 pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_VALID); in pte_mkold() 216 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung()
|
/linux/arch/powerpc/mm/ptdump/ |
A D | shared.c | 49 .mask = _PAGE_ACCESSED, 50 .val = _PAGE_ACCESSED,
|
A D | 8xx.c | 61 .mask = _PAGE_ACCESSED, 62 .val = _PAGE_ACCESSED,
|
A D | book3s64.c | 59 .mask = _PAGE_ACCESSED, 60 .val = _PAGE_ACCESSED,
|
/linux/arch/powerpc/include/asm/nohash/ |
A D | pte-book3e.h | 43 #define _PAGE_ACCESSED 0x040000 macro 86 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
|