Searched refs:_PAGE_ACCESSED (Results 1 - 78 of 78) sorted by relevance

/linux-4.1.27/arch/score/include/asm/
H A Dpgtable-bits.h4 #define _PAGE_ACCESSED (1<<5) /* implemented in software */ macro
19 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
22 (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE)
H A Dpgtable.h189 return pte_val(pte) & _PAGE_ACCESSED; pte_young()
208 pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_SILENT_READ); pte_mkold()
230 pte_val(pte) |= _PAGE_ACCESSED; pte_mkyoung()
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dmmu.h56 #define _PAGE_ACCESSED (1 << 6) /* Simulated in software using valid bit. */ macro
62 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
66 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED)
68 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
70 _PAGE_ACCESSED)
72 _PAGE_ACCESSED | _PAGE_EXECUTE)
75 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE | _PAGE_ACCESSED)
/linux-4.1.27/arch/mn10300/mm/
H A Dtlb-mn10300.S64 #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 value is out of range"
/linux-4.1.27/arch/m32r/include/asm/
H A Dpgtable.h101 #define _PAGE_ACCESSED (1UL << _PAGE_BIT_ACCESSED) macro
105 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
108 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
111 ( PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY )
115 __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
117 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED)
120 | _PAGE_ACCESSED)
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)
132 | _PAGE_ACCESSED )
198 return pte_val(pte) & _PAGE_ACCESSED; pte_young()
219 pte_val(pte) &= ~_PAGE_ACCESSED; pte_mkold()
237 pte_val(pte) |= _PAGE_ACCESSED; pte_mkyoung()
/linux-4.1.27/arch/sh/include/asm/
H A Dpgtable_32.h23 * Bit 10 is used for _PAGE_ACCESSED, and bit 11 is used for _PAGE_SPECIAL.
51 #define _PAGE_ACCESSED 0x400 /* software: page referenced */ macro
104 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED| \
108 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | \
111 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED)
169 (PTE_MASK | _PAGE_ACCESSED | _PAGE_CACHABLE | \
176 _PAGE_ACCESSED | _PAGE_FLAGS_HARD)
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 | \
214 _PAGE_DIRTY | _PAGE_ACCESSED | \
222 _PAGE_ACCESSED | _PAGE_HW_SHARED | \
229 _PAGE_DIRTY | _PAGE_ACCESSED | \
239 _PAGE_ACCESSED | _PAGE_FLAGS_HARD)
242 _PAGE_CACHABLE | _PAGE_ACCESSED | \
246 _PAGE_ACCESSED | _PAGE_FLAGS_HARD)
249 _PAGE_ACCESSED | _PAGE_FLAGS_HARD)
256 _PAGE_DIRTY | _PAGE_ACCESSED | \
261 _PAGE_ACCESSED | _PAGE_HW_SHARED | \
265 _PAGE_DIRTY | _PAGE_ACCESSED | \
270 _PAGE_ACCESSED | _PAGE_FLAGS_HARD | \
341 #define pte_young(pte) ((pte).pte_low & _PAGE_ACCESSED)
371 PTE_BIT_FUNC(low, mkold, &= ~_PAGE_ACCESSED);
372 PTE_BIT_FUNC(low, mkyoung, |= _PAGE_ACCESSED);
H A Dpgtable_64.h118 #define _PAGE_ACCESSED 0x800 /* software: page referenced */ macro
132 _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_WIRED)
167 _PAGE_CACHABLE | _PAGE_ACCESSED | _PAGE_DIRTY | \
173 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | \
180 _PAGE_CACHABLE | _PAGE_ACCESSED)
182 #define PAGE_NONE __pgprot(_PAGE_CACHABLE | _PAGE_ACCESSED)
201 _PAGE_EXECUTE | _PAGE_ACCESSED | \
261 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_write()
267 static inline pte_t pte_mkold(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_ACCESSED)); return pte; } pte_mkwrite()
270 static inline pte_t pte_mkyoung(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); return pte; } pte_mkhuge()
/linux-4.1.27/arch/m68k/include/asm/
H A Dmotorola_pgtable.h12 #define _PAGE_ACCESSED 0x008 macro
28 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE)
61 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits)
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)
69 #define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
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)
110 unsigned long ptbl = virt_to_phys(ptep) | _PAGE_TABLE | _PAGE_ACCESSED; pmd_set()
121 pgd_val(*pgdp) = _PAGE_TABLE | _PAGE_ACCESSED | __pa(pmdp); pgd_set()
169 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
174 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_mkwrite()
177 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_mknocache()
H A Dmcf_pgtable.h52 #define _PAGE_ACCESSED (CF_PAGE_ACCESSED) macro
H A Dsun3_pgtable.h39 #define _PAGE_ACCESSED (SUN3_PAGE_ACCESSED) macro
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dmmu.h61 #define _PAGE_ACCESSED (1<<5) /* simulated in software using valid bit */ macro
68 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
72 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED)
74 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
76 _PAGE_ACCESSED)
/linux-4.1.27/arch/um/include/asm/
H A Dpgtable.h18 #define _PAGE_ACCESSED 0x080 macro
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)
57 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
59 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
60 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _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)
156 return pte_get_bits(pte, _PAGE_ACCESSED); pte_young()
194 pte_clear_bits(pte, _PAGE_ACCESSED); pte_mkold()
218 pte_set_bits(pte, _PAGE_ACCESSED); pte_mkyoung()
/linux-4.1.27/arch/x86/include/asm/
H A Dpgtable_types.h39 #define _PAGE_ACCESSED (_AT(pteval_t, 1) << _PAGE_BIT_ACCESSED) macro
95 _PAGE_ACCESSED | _PAGE_DIRTY)
96 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \
101 _PAGE_SPECIAL | _PAGE_ACCESSED | _PAGE_DIRTY | \
128 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
130 _PAGE_ACCESSED | _PAGE_NX)
133 _PAGE_USER | _PAGE_ACCESSED)
135 _PAGE_ACCESSED | _PAGE_NX)
137 _PAGE_ACCESSED)
140 _PAGE_ACCESSED | _PAGE_NX)
142 _PAGE_ACCESSED)
145 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
H A Dpgtable.h100 return pte_flags(pte) & _PAGE_ACCESSED; pte_young()
110 return pmd_flags(pmd) & _PAGE_ACCESSED; pmd_young()
198 return pte_clear_flags(pte, _PAGE_ACCESSED); pte_mkold()
218 return pte_set_flags(pte, _PAGE_ACCESSED); pte_mkyoung()
267 return pmd_clear_flags(pmd, _PAGE_ACCESSED); pmd_mkold()
287 return pmd_set_flags(pmd, _PAGE_ACCESSED); pmd_mkyoung()
/linux-4.1.27/arch/blackfin/include/asm/
H A Dpgtable.h57 #define _PAGE_ACCESSED CPLB_ALL_ACCESS macro
71 PTE_BIT_FUNC(mkold, &= ~_PAGE_ACCESSED);
72 PTE_BIT_FUNC(mkyoung, |= _PAGE_ACCESSED);
/linux-4.1.27/arch/nios2/include/asm/
H A Dpgtable-bits.h31 #define _PAGE_ACCESSED (1<<26) /* page referenced */ macro
H A Dpgtable.h69 _PAGE_WRITE | _PAGE_ACCESSED)
114 { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
154 pte_val(pte) &= ~_PAGE_ACCESSED; pte_mkold()
174 pte_val(pte) |= _PAGE_ACCESSED; pte_mkyoung()
/linux-4.1.27/arch/metag/include/asm/
H A Dpgtable.h53 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
57 _PAGE_ACCESSED | _PAGE_CACHEABLE)
59 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
66 _PAGE_ACCESSED | _PAGE_WRITE | \
127 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
132 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_mkwrite()
135 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_mkspecial()
H A Dpgtable-bits.h35 #define _PAGE_ACCESSED _PAGE_ALWAYS_ZERO_1 macro
/linux-4.1.27/arch/parisc/include/asm/
H A Dpgtable.h59 ((pte_val(x) & (_PAGE_PRESENT|_PAGE_ACCESSED)) \
60 == (_PAGE_PRESENT|_PAGE_ACCESSED))
195 #define _PAGE_ACCESSED (1 << xlate_pabit(_PAGE_ACCESSED_BIT)) macro
199 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
200 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
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)
353 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_write()
358 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_wrprotect()
361 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_mkwrite()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpte-fsl-booke.h24 #define _PAGE_ACCESSED 0x00020 /* S: Page referenced */ macro
H A Dpte-hash32.h27 #define _PAGE_ACCESSED 0x100 /* R: page referenced */ macro
H A Dpte-hash64.h25 #define _PAGE_ACCESSED 0x0100 /* R: page referenced */ macro
H A Dpgtable-ppc64.h260 if ((pte_val(*ptep) & (_PAGE_ACCESSED | _PAGE_HASHPTE)) == 0) __ptep_test_and_clear_young()
262 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); __ptep_test_and_clear_young()
263 return (old & _PAGE_ACCESSED) != 0; __ptep_test_and_clear_young()
330 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); __ptep_set_access_flags()
387 _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPLITTING | \
555 if ((pmd_val(*pmdp) & (_PAGE_ACCESSED | _PAGE_HASHPTE)) == 0) __pmdp_test_and_clear_young()
557 old = pmd_hugepage_update(mm, addr, pmdp, _PAGE_ACCESSED, 0); __pmdp_test_and_clear_young()
558 return ((old & _PAGE_ACCESSED) != 0); __pmdp_test_and_clear_young()
H A Dpte-book3e.h41 #define _PAGE_ACCESSED 0x040000 macro
H A Dpte-common.h99 _PAGE_ACCESSED | _PAGE_SPECIAL)
104 _PAGE_USER | _PAGE_ACCESSED | _PAGE_RO | \
113 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
H A Dpgtable-ppc32.h254 old = pte_update(ptep, _PAGE_ACCESSED, 0); __ptep_test_and_clear_young()
261 return (old & _PAGE_ACCESSED) != 0; __ptep_test_and_clear_young()
289 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); __ptep_set_access_flags()
H A Dpgtable.h36 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
87 pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_mkwrite()
94 pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_mkspecial()
H A Dpte-40x.h50 #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ macro
H A Dpte-8xx.h41 #define _PAGE_ACCESSED 0x0020 /* software: page referenced */ macro
H A Dpte-44x.h77 #define _PAGE_ACCESSED 0x00000008 /* S: Page referenced */ macro
/linux-4.1.27/arch/mn10300/include/asm/
H A Dpgtable.h135 #define _PAGE_ACCESSED xPTEL2_UNUSED1 macro
151 #define _PAGE_TABLE (_PAGE_PRESENTV | _PAGE_PROT_WKNU | _PAGE_ACCESSED | _PAGE_DIRTY)
152 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
154 #define __PAGE_NONE (_PAGE_PRESENTV | _PAGE_PROT_RKNU | _PAGE_ACCESSED | _PAGE_CACHE)
155 #define __PAGE_SHARED (_PAGE_PRESENTV | _PAGE_PROT_WKWU | _PAGE_ACCESSED | _PAGE_CACHE)
156 #define __PAGE_COPY (_PAGE_PRESENTV | _PAGE_PROT_RKRU | _PAGE_ACCESSED | _PAGE_CACHE)
157 #define __PAGE_READONLY (_PAGE_PRESENTV | _PAGE_PROT_RKRU | _PAGE_ACCESSED | _PAGE_CACHE)
170 #define __PAGE_KERNEL_BASE (_PAGE_PRESENTV | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
241 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_write()
260 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_mkdirty()
262 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_mkexec()
/linux-4.1.27/arch/avr32/include/asm/
H A Dpgtable.h99 #define _PAGE_ACCESSED (1 << _PAGE_BIT_ACCESSED) macro
108 * support 1K pages anyway due to the _PAGE_PRESENT and _PAGE_ACCESSED
129 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY \
136 | _PAGE_ACCESSED)
138 #define PAGE_NONE (_PAGE_ACCESSED | _PAGE_TYPE_NONE)
202 return pte_val(pte) & _PAGE_ACCESSED; pte_young()
222 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_ACCESSED)); pte_mkold()
237 set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); pte_mkyoung()
/linux-4.1.27/arch/mips/include/asm/
H A Dpgtable.h287 static inline int pte_young(pte_t pte) { return pte.pte_low & _PAGE_ACCESSED; } pte_young()
305 pte.pte_low &= ~_PAGE_ACCESSED; pte_mkold()
328 pte.pte_low |= _PAGE_ACCESSED; pte_mkyoung()
336 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_young()
352 pte_val(pte) &= ~(_PAGE_ACCESSED | _PAGE_SILENT_READ); pte_mkold()
374 pte_val(pte) |= _PAGE_ACCESSED; pte_mkyoung()
434 pte.pte_low &= (_PAGE_MODIFIED | _PAGE_ACCESSED | _PFNX_MASK); pte_modify()
563 return !!(pmd_val(pmd) & _PAGE_ACCESSED); pmd_young()
568 pmd_val(pmd) &= ~(_PAGE_ACCESSED|_PAGE_SILENT_READ); pmd_mkold()
575 pmd_val(pmd) |= _PAGE_ACCESSED; pmd_mkyoung()
H A Dpgtable-bits.h63 #define _PAGE_ACCESSED (1 << _PAGE_ACCESSED_SHIFT) macro
86 #define _PAGE_ACCESSED (1 << _PAGE_ACCESSED_SHIFT) macro
126 #define _PAGE_ACCESSED (1 << _PAGE_ACCESSED_SHIFT) macro
284 #define __READABLE (_PAGE_SILENT_READ | _PAGE_READ | _PAGE_ACCESSED)
287 #define _PAGE_CHG_MASK (_PAGE_ACCESSED | _PAGE_MODIFIED | \
/linux-4.1.27/arch/xtensa/include/asm/
H A Dpgtable.h151 #define _PAGE_ACCESSED (1<<8) /* software: page accessed (read) */ macro
155 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
156 #define _PAGE_PRESENT (_PAGE_HW_VALID | _PAGE_CA_WB | _PAGE_ACCESSED)
170 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_BYPASS)
172 # define _PAGE_DIRECTORY (_PAGE_HW_VALID | _PAGE_ACCESSED | _PAGE_CA_WB)
177 # define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
258 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
266 { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_mkdirty()
270 { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_mkwrite()
/linux-4.1.27/arch/openrisc/include/asm/
H A Dpgtable.h151 #define _PAGE_ACCESSED _PAGE_A macro
156 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
157 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED)
158 #define _PAGE_ALL (_PAGE_PRESENT | _PAGE_ACCESSED)
160 (_PAGE_BASE | _PAGE_SRE | _PAGE_SWE | _PAGE_ACCESSED | _PAGE_DIRTY)
241 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
271 pte_val(pte) &= ~(_PAGE_ACCESSED); pte_mkold()
301 pte_val(pte) |= _PAGE_ACCESSED; pte_mkyoung()
/linux-4.1.27/arch/tile/include/asm/
H A Dpgtable.h78 #define _PAGE_ACCESSED HV_PTE_ACCESSED macro
95 _PAGE_ACCESSED | \
102 __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
105 _PAGE_USER | _PAGE_ACCESSED)
109 _PAGE_EXECUTABLE | _PAGE_USER | _PAGE_ACCESSED)
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)
/linux-4.1.27/arch/arc/include/asm/
H A Dpgtable.h58 #define _PAGE_ACCESSED (1<<1) /* Page is accessed (S) */ macro
73 #define _PAGE_ACCESSED (1<<4) /* Page is accessed (S) */ macro
99 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED)
289 #define pte_young(pte) (pte_val(pte) & _PAGE_ACCESSED)
299 PTE_BIT_FUNC(mkold, &= ~(_PAGE_ACCESSED));
300 PTE_BIT_FUNC(mkyoung, |= (_PAGE_ACCESSED));
/linux-4.1.27/arch/microblaze/include/asm/
H A Dpgtable.h216 #define _PAGE_ACCESSED 0x400 /* software: R: page referenced */ pte_mkspecial() macro
235 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) pte_mkspecial()
243 #define _PAGE_BASE (_PAGE_PRESENT | _PAGE_ACCESSED) pte_mkspecial()
336 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_young()
350 { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; }
361 { pte_val(pte) |= _PAGE_ACCESSED; return pte; }
436 return (pte_update(ptep, _PAGE_ACCESSED, 0) & _PAGE_ACCESSED) != 0; ptep_test_and_clear_young()
/linux-4.1.27/arch/frv/mm/
H A Dtlb-miss.S167 ori.p gr30,#_PAGE_ACCESSED,gr30
170 andi gr30,#~_PAGE_ACCESSED,gr30
297 ori.p gr30,#_PAGE_ACCESSED,gr30
300 andi gr30,#~_PAGE_ACCESSED,gr30
424 ori.p gr30,#_PAGE_ACCESSED,gr30
427 andi gr30,#~_PAGE_ACCESSED,gr30
544 ori.p gr30,#_PAGE_ACCESSED,gr30
547 andi gr30,#~_PAGE_ACCESSED,gr30
/linux-4.1.27/arch/metag/mm/
H A Dioremap.c53 _PAGE_ACCESSED | _PAGE_KERNEL | _PAGE_CACHE_WIN0 | __ioremap()
H A Dmmu-meta2.c191 _PAGE_ACCESSED | _PAGE_WRITE | mmu_init()
/linux-4.1.27/arch/parisc/mm/
H A Dioremap.c67 _PAGE_ACCESSED | flags); __ioremap()
/linux-4.1.27/arch/avr32/mm/
H A Dioremap.c57 | _PAGE_ACCESSED | _PAGE_TYPE_SMALL | flags); __ioremap()
/linux-4.1.27/arch/frv/include/asm/
H A Dpgtable.h293 #define _PAGE_ACCESSED xAMPRx_RESERVED8 /* accessed if set */ macro
301 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
304 (_PAGE_PRESENT | xAMPRx_SS_16Kb | xAMPRx_D | _PAGE_NOTGLOBAL | _PAGE_ACCESSED)
306 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
376 static inline int pte_young(pte_t pte) { return (pte).pte & _PAGE_ACCESSED; } pte_write()
381 static inline pte_t pte_mkold(pte_t pte) { (pte).pte &= ~_PAGE_ACCESSED; return pte; } pte_wrprotect()
384 static inline pte_t pte_mkyoung(pte_t pte) { (pte).pte |= _PAGE_ACCESSED; return pte; } pte_mkwrite()
/linux-4.1.27/arch/cris/include/asm/
H A Dpgtable.h116 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
133 pte_val(pte) &= ~(_PAGE_ACCESSED | _PAGE_SILENT_READ); pte_mkold()
155 pte_val(pte) |= _PAGE_ACCESSED; pte_mkyoung()
/linux-4.1.27/arch/hexagon/include/asm/
H A Dpgtable.h62 #define _PAGE_ACCESSED (1<<2) macro
317 pte_val(pte) &= ~_PAGE_ACCESSED; pte_mkold()
324 pte_val(pte) |= _PAGE_ACCESSED; pte_mkyoung()
345 return pte_val(pte) & _PAGE_ACCESSED; pte_young()
/linux-4.1.27/arch/m68k/kernel/
H A Ddma.c53 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY); dma_alloc_coherent()
H A Dhead.S2129 orw #_PAGE_PRESENT+_PAGE_ACCESSED+_PAGE_DIRTY,%d0
2359 orw #_PAGE_TABLE+_PAGE_ACCESSED,%d0
2389 orw #_PAGE_TABLE+_PAGE_ACCESSED,%d0
2412 orw #_PAGE_PRESENT+_PAGE_ACCESSED+_PAGE_DIRTY,%d0
2625 orw #_PAGE_TABLE+_PAGE_ACCESSED,%d0
2661 addw #_PAGE_TABLE+_PAGE_ACCESSED,%a0
/linux-4.1.27/arch/m68k/mm/
H A Dkmap.c156 _PAGE_ACCESSED | _PAGE_DIRTY); __ioremap()
173 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | __ioremap()
H A Dmotorola.c120 _PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY; map_node()
168 _PAGE_TABLE | _PAGE_ACCESSED; map_node()
/linux-4.1.27/arch/alpha/include/asm/
H A Dpgtable.h75 #define _PAGE_ACCESSED 0x40000 macro
89 #define __ACCESS_BITS (_PAGE_ACCESSED | _PAGE_KRE | _PAGE_URE)
269 extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_special()
/linux-4.1.27/arch/powerpc/mm/
H A Dhugepage-hash64.c52 new_pmd = old_pmd | _PAGE_BUSY | _PAGE_ACCESSED; __hash_page_thp()
H A Dhugetlbpage-hash64.c57 new_pte = old_pte | _PAGE_BUSY | _PAGE_ACCESSED; __hash_page_huge()
H A Dtlb_low_64e.S91 /* We need _PAGE_PRESENT and _PAGE_ACCESSED set */
123 oris r11,r10,_PAGE_ACCESSED@h
214 oris r11,r11,_PAGE_ACCESSED@h
251 oris r11,r11,_PAGE_ACCESSED@h
513 /* We need _PAGE_PRESENT and _PAGE_ACCESSED set */
515 oris r11,r11,_PAGE_ACCESSED@h
581 oris r11,r11,_PAGE_ACCESSED@h
588 oris r11,r11,_PAGE_ACCESSED@h
H A Dpgtable.c196 * update of _PAGE_ACCESSED, _PAGE_DIRTY, etc... The generic code will have
H A Dhash_low_64.S99 ori r30,r30,_PAGE_BUSY | _PAGE_ACCESSED | _PAGE_HASHPTE
396 ori r30,r30,_PAGE_BUSY | _PAGE_ACCESSED
761 ori r30,r30,_PAGE_BUSY | _PAGE_ACCESSED
H A Dinit_64.c200 unsigned long i, flags = _PAGE_PRESENT | _PAGE_ACCESSED | vmemmap_create_mapping()
H A Dmem.c497 /* We only want HPTEs for linux PTEs that have _PAGE_ACCESSED set */ update_mmu_cache()
H A Dhash_low_32.S103 ori r0,r0,_PAGE_ACCESSED|_PAGE_HASHPTE
H A Dpgtable_64.c500 * update of _PAGE_ACCESSED, _PAGE_DIRTY, etc... The generic code will have
/linux-4.1.27/arch/powerpc/kernel/
H A Dhead_fsl_booke.S493 oris r13,r13,_PAGE_ACCESSED@h
495 li r13,_PAGE_PRESENT|_PAGE_ACCESSED
566 oris r13,r13,_PAGE_ACCESSED@h
568 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
580 oris r13,r13,_PAGE_ACCESSED@h
582 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
H A Dhead_32.S517 ori r0,r0,_PAGE_ACCESSED /* set _PAGE_ACCESSED in pte */
591 ori r0,r0,_PAGE_ACCESSED /* set _PAGE_ACCESSED in pte */
675 ori r0,r0,_PAGE_ACCESSED|_PAGE_DIRTY
H A Dhead_44x.S357 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 Dhead_40x.S323 ori r11, r11, _PAGE_DIRTY|_PAGE_ACCESSED|_PAGE_HWWRITE
500 ori r11, r11, _PAGE_ACCESSED
600 ori r11, r11, _PAGE_ACCESSED
H A Dhead_8xx.S404 /* Both _PAGE_ACCESSED and _PAGE_PRESENT has to be set.
/linux-4.1.27/arch/arc/mm/
H A Dtlbex.S288 or r0, r0, _PAGE_ACCESSED ; set Accessed Bit
343 or r0, r0, _PAGE_ACCESSED ; Accessed bit always
H A Dtlb.c483 pte_val(*ptep) |= (_PAGE_PRESENT | _PAGE_ACCESSED); create_tlb()
/linux-4.1.27/arch/x86/kernel/
H A Drelocate_kernel_64.S20 #define PAGE_ATTR (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
/linux-4.1.27/arch/microblaze/mm/
H A Dpgtable.c169 f = _PAGE_PRESENT | _PAGE_ACCESSED | mapin_ram()
/linux-4.1.27/drivers/lguest/
H A Dpage_tables.c493 /* Add the _PAGE_ACCESSED and (for a write) _PAGE_DIRTY flag */ demand_page()
526 * _PAGE_ACCESSED and maybe the _PAGE_DIRTY flags. demand_page()
923 * The Guest expects _PAGE_ACCESSED to be set on its PTE the first time a page
929 * _PAGE_ACCESSED then we can put a read-only PTE entry in immediately, and if
957 if ((pte_flags(gpte) & (_PAGE_DIRTY | _PAGE_ACCESSED)) __guest_set_pte()
/linux-4.1.27/arch/mips/mm/
H A Dtlbex.c1640 unsigned int mode = _PAGE_VALID | _PAGE_ACCESSED; build_make_valid()
1674 unsigned int mode = (_PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID build_make_write()
2084 uasm_i_ori(&p, wr.r1, wr.r1, (_PAGE_ACCESSED | _PAGE_VALID)); build_r4000_tlb_load_handler()
2139 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); build_r4000_tlb_store_handler()
2195 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); build_r4000_tlb_modify_handler()
/linux-4.1.27/arch/microblaze/kernel/
H A Dhw_exception_handler.S650 ori r4, r4, _PAGE_DIRTY|_PAGE_ACCESSED|_PAGE_HWWRITE
750 ori r4, r4, _PAGE_ACCESSED
821 ori r4, r4, _PAGE_ACCESSED
/linux-4.1.27/arch/parisc/kernel/
H A Dentry.S488 /* Set the _PAGE_ACCESSED bit of the PTE. Be clever and
491 ldi _PAGE_ACCESSED,\tmp1
500 ldi _PAGE_ACCESSED|_PAGE_DIRTY,\tmp
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_vm.c725 pgprot & _PAGE_ACCESSED ? 'a' : '-', drm_vma_info()
/linux-4.1.27/arch/xtensa/kernel/
H A Dentry.S1692 movi a1, _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_HW_WRITE
/linux-4.1.27/arch/x86/kvm/
H A Dvmx.c4100 _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_PSE); init_rmode_identity_map()

Completed in 656 milliseconds