/linux-master/arch/nios2/include/asm/ |
H A D | pgtable-bits.h | 31 #define _PAGE_ACCESSED (1<<26) /* page referenced */ macro
|
/linux-master/arch/riscv/include/asm/ |
H A D | pgtable-bits.h | 17 #define _PAGE_ACCESSED (1 << 6) /* Set by hardware on any access */ macro 31 #define _PAGE_SWP_EXCLUSIVE _PAGE_ACCESSED
|
/linux-master/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-40x.h | 50 #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ macro 67 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
|
H A D | pte-44x.h | 71 #define _PAGE_ACCESSED 0x00000040 /* S: Page referenced */ macro 96 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
|
H A D | pte-85xx.h | 25 #define _PAGE_ACCESSED 0x00020 /* S: Page referenced */ macro 52 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
|
H A D | pte-8xx.h | 42 #define _PAGE_ACCESSED 0x0020 /* Copied to L1 APG 1 entry in I/DTLB */ macro 82 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE) 135 unsigned long set = pte_val(entry) & (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_EXEC);
|
/linux-master/arch/sh/include/asm/ |
H A D | pgtable_32.h | 24 * Bit 10 is used for _PAGE_ACCESSED, and bit 11 is used for _PAGE_SPECIAL. 52 #define _PAGE_ACCESSED 0x400 /* software: page referenced */ macro 105 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED| \ 109 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | \ 112 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED) 170 (PTE_MASK | _PAGE_ACCESSED | _PAGE_CACHABLE | \ 177 _PAGE_ACCESSED | _PAGE_FLAGS_HARD) 179 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 186 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 195 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ [all...] |
/linux-master/arch/um/include/asm/ |
H A D | pgtable.h | 18 #define _PAGE_ACCESSED 0x080 macro 56 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 57 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) 58 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 60 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) 61 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 62 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 63 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 64 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 13 #define _PAGE_ACCESSED 0x008 macro 40 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE) 76 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits) 77 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits) 78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) 79 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) 80 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits) 98 pmd_val(*pmdp) = virt_to_phys(ptep) | _PAGE_TABLE | _PAGE_ACCESSED; 103 pud_val(*pudp) = _PAGE_TABLE | _PAGE_ACCESSED | __pa(pmdp); 154 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } [all...] |
/linux-master/arch/arc/include/asm/ |
H A D | pgtable-bits-arcv2.h | 23 #define _PAGE_ACCESSED (1 << 4) /* Accessed (s) */ macro 42 #define _PAGE_CHG_MASK (PAGE_MASK_PHYS | _PAGE_ACCESSED | _PAGE_DIRTY | \ 82 #define pte_young(pte) (pte_val(pte) & _PAGE_ACCESSED) 93 PTE_BIT_FUNC(mkold, &= ~(_PAGE_ACCESSED)); 94 PTE_BIT_FUNC(mkyoung, |= (_PAGE_ACCESSED));
|
/linux-master/arch/csky/abiv1/inc/abi/ |
H A D | pgtable-bits.h | 10 #define _PAGE_ACCESSED (1<<3) macro
|
/linux-master/arch/csky/abiv2/inc/abi/ |
H A D | pgtable-bits.h | 7 #define _PAGE_ACCESSED (1<<7) macro
|
/linux-master/arch/powerpc/mm/ptdump/ |
H A D | 8xx.c | 56 .mask = _PAGE_ACCESSED, 57 .val = _PAGE_ACCESSED,
|
H A D | shared.c | 49 .mask = _PAGE_ACCESSED, 50 .val = _PAGE_ACCESSED,
|
H A D | book3s64.c | 59 .mask = _PAGE_ACCESSED, 60 .val = _PAGE_ACCESSED,
|
/linux-master/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 20 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) 77 old = pte_update(vma->vm_mm, addr, ptep, _PAGE_ACCESSED, 0, 0); 79 return (old & _PAGE_ACCESSED) != 0; 112 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); 139 return __pte(pte_val(pte) | _PAGE_ACCESSED); 181 return pte_val(pte) & _PAGE_ACCESSED; 239 return __pte(pte_val(pte) & ~_PAGE_ACCESSED);
|
H A D | pte-e500.h | 42 #define _PAGE_ACCESSED 0x040000 macro 92 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
|
/linux-master/arch/xtensa/include/asm/ |
H A D | pgtable.h | 160 #define _PAGE_ACCESSED (1<<8) /* software: page accessed (read) */ macro 167 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 168 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) 183 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_BYPASS) 185 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_WB) 190 # define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 253 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 260 { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } 264 { pte_val(pte) |= _PAGE_ACCESSED; return pte; }
|
/linux-master/arch/loongarch/include/asm/ |
H A D | kvm_mmu.h | 57 static inline int kvm_pte_young(kvm_pte_t pte) { return pte & _PAGE_ACCESSED; } 62 return pte | _PAGE_ACCESSED; 67 return pte & ~_PAGE_ACCESSED;
|
/linux-master/arch/mips/include/asm/ |
H 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-master/arch/openrisc/include/asm/ |
H 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) 221 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 249 pte_val(pte) &= ~(_PAGE_ACCESSED); 279 pte_val(pte) |= _PAGE_ACCESSED;
|
/linux-master/arch/microblaze/include/asm/ |
H A D | pgtable.h | 155 #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ macro 177 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 185 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED) 249 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 263 { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } 274 { pte_val(pte) |= _PAGE_ACCESSED; return pte; } 343 return (pte_update(ptep, _PAGE_ACCESSED, 0) & _PAGE_ACCESSED) != 0;
|
/linux-master/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 29 #define _PAGE_ACCESSED 0x100 /* R: page referenced */ macro 76 _PAGE_ACCESSED | _PAGE_SPECIAL) 84 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED) 304 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); 308 return (old & _PAGE_ACCESSED) != 0; 333 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); 394 static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); } 469 return __pte(pte_val(pte) & ~_PAGE_ACCESSED); 497 return __pte(pte_val(pte) | _PAGE_ACCESSED);
|
/linux-master/arch/parisc/include/asm/ |
H A D | pgtable.h | 199 #define _PAGE_ACCESSED (1 << xlate_pabit(_PAGE_ACCESSED_BIT)) macro 205 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 206 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_SPECIAL) 207 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) 213 #define _PAGE_SWP_EXCLUSIVE _PAGE_ACCESSED 316 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 321 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } 324 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; }
|
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | tlbflush.h | 191 if (delta & ~(_PAGE_RWX | _PAGE_DIRTY | _PAGE_ACCESSED)) 196 * With the exception of _PAGE_ACCESSED, don't worry about flushing 199 if ((delta & ~_PAGE_ACCESSED) & oldval)
|