Home
last modified time | relevance | path

Searched refs:_PAGE_DIRTY (Results 1 – 25 of 57) sorted by relevance

123

/linux-3.4.99/arch/sh/include/asm/
Dpgtable_32.h45 #define _PAGE_DIRTY 0x004 /* D-bit : page changed */ macro
174 _PAGE_DIRTY | _PAGE_SPECIAL)
218 _PAGE_DIRTY | _PAGE_ACCESSED | \
225 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
233 _PAGE_DIRTY | _PAGE_ACCESSED | \
260 _PAGE_DIRTY | _PAGE_ACCESSED | \
264 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
269 _PAGE_DIRTY | _PAGE_ACCESSED | \
273 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
344 #define pte_dirty(pte) ((pte).pte_low & _PAGE_DIRTY)
[all …]
Dpgtable_64.h121 #define _PAGE_DIRTY 0x400 /* software: page accessed in write */ macro
136 _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_WIRED)
171 _PAGE_CACHABLE | _PAGE_ACCESSED | _PAGE_DIRTY | \
177 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | \
206 _PAGE_DIRTY | _PAGE_SHARED)
264 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
271 static inline pte_t pte_mkclean(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_DIRTY)); ret… in pte_mkclean()
274 static inline pte_t pte_mkdirty(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_DIRTY)); retu… in pte_mkdirty()
/linux-3.4.99/arch/um/include/asm/
Dpgtable.h19 #define _PAGE_DIRTY 0x100 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)
69 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
166 return pte_get_bits(pte, _PAGE_DIRTY); in pte_dirty()
203 pte_clear_bits(pte, _PAGE_DIRTY); in pte_mkclean()
227 pte_set_bits(pte, _PAGE_DIRTY); in pte_mkdirty()
/linux-3.4.99/arch/m32r/include/asm/
Dpgtable.h95 #define _PAGE_DIRTY (1UL << _PAGE_BIT_DIRTY) macro
109 | _PAGE_DIRTY )
112 | _PAGE_DIRTY )
114 ( PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY )
134 ( _PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ | _PAGE_DIRTY \
196 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
224 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean()
242 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
/linux-3.4.99/arch/openrisc/include/asm/
Dpgtable.h151 #define _PAGE_DIRTY _PAGE_D macro
157 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
161 (_PAGE_BASE | _PAGE_SRE | _PAGE_SWE | _PAGE_ACCESSED | _PAGE_DIRTY)
177 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC)
180 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC)
183 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC | _PAGE_CI)
241 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
267 pte_val(pte) &= ~(_PAGE_DIRTY); in pte_mkclean()
297 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
/linux-3.4.99/arch/powerpc/include/asm/
Dpte-book3e.h36 #define _PAGE_DIRTY 0x001000 /* C: page changed */ macro
52 #define _PAGE_KERNEL_RW (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY)
54 #define _PAGE_KERNEL_RWX (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY | _PAGE_BAP_SX)
Dpte-common.h51 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE)
54 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE | _PAGE_EXEC)
92 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \
99 _PAGE_RW | _PAGE_HWWRITE | _PAGE_DIRTY | _PAGE_EXEC)
Dpte-8xx.h36 #define _PAGE_DIRTY 0x0100 /* C: page changed */ macro
64 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE)
Dpte-hash64.h25 #define _PAGE_DIRTY 0x0080 /* C: page changed */ macro
31 #define _PAGE_KERNEL_RW (_PAGE_RW | _PAGE_DIRTY) /* user access blocked by key */
Dpgtable.h32 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
60 pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HWWRITE); return pte; } in pte_mkclean()
66 pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
Dpte-fsl-booke.h25 #define _PAGE_DIRTY 0x00008 /* S: Page dirty */ macro
Dpte-44x.h83 #define _PAGE_DIRTY 0x00000010 /* S: Page dirty */ macro
Dpte-40x.h48 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro
/linux-3.4.99/arch/mips/include/asm/
Dpgtable-bits.h48 #define _PAGE_DIRTY (1<<2) /* The MIPS dirty bit */ macro
65 #define _PAGE_DIRTY (1<<10) /* The MIPS dirty bit */ macro
124 #define _PAGE_DIRTY (1 << _PAGE_DIRTY_SHIFT) macro
125 #define _PAGE_SILENT_WRITE (_PAGE_DIRTY)
/linux-3.4.99/arch/avr32/include/asm/
Dpgtable.h93 #define _PAGE_DIRTY (1 << _PAGE_BIT_DIRTY) macro
133 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY \
137 #define _PAGE_FLAGS_WRITE (_PAGE_FLAGS_READ | _PAGE_RW | _PAGE_DIRTY)
149 #define _PAGE_P(x) _PAGE_NORMAL((x) & ~(_PAGE_RW | _PAGE_DIRTY))
202 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
229 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_DIRTY)); in pte_mkclean()
244 set_pte(&pte, __pte(pte_val(pte) | _PAGE_DIRTY)); in pte_mkdirty()
Dfb.h13 | (_PAGE_BUFFER | _PAGE_DIRTY)); in fb_pgprotect()
/linux-3.4.99/arch/microblaze/include/asm/
Dpgtable.h219 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro
247 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
256 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY | _PAGE_HWWRITE)
347 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
361 { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HWWRITE); return pte; } in pte_mkclean()
372 { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
456 (_PAGE_DIRTY | _PAGE_HWWRITE), 0) & _PAGE_DIRTY) != 0; in ptep_test_and_clear_dirty()
475 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
/linux-3.4.99/arch/blackfin/include/asm/
Dpgtable.h63 #define _PAGE_DIRTY (CPLB_DIRTY) macro
74 PTE_BIT_FUNC(mkclean, &= ~_PAGE_DIRTY);
75 PTE_BIT_FUNC(mkdirty, |= _PAGE_DIRTY);
/linux-3.4.99/arch/m68k/include/asm/
Dmotorola_pgtable.h13 #define _PAGE_DIRTY 0x010 macro
28 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE)
66 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
169 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
175 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
178 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/linux-3.4.99/arch/frv/include/asm/
Dpgtable.h296 #define _PAGE_DIRTY xAMPRx_M macro
304 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
314 #define __PAGE_KERNEL (__PGPROT_BASE | _PAGE_SUPER | _PAGE_DIRTY)
315 #define __PAGE_KERNEL_NOCACHE (__PGPROT_BASE | _PAGE_SUPER | _PAGE_DIRTY | _PAGE_NOCACHE)
316 #define __PAGE_KERNEL_RO (__PGPROT_BASE | _PAGE_SUPER | _PAGE_DIRTY | _PAGE_WP)
378 static inline int pte_dirty(pte_t pte) { return (pte).pte & _PAGE_DIRTY; } in pte_dirty()
383 static inline pte_t pte_mkclean(pte_t pte) { (pte).pte &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
386 static inline pte_t pte_mkdirty(pte_t pte) { (pte).pte |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/linux-3.4.99/arch/mn10300/include/asm/
Dpgtable.h118 #define _PAGE_DIRTY xPTEL2_D 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)
169 #define __PAGE_KERNEL_BASE (_PAGE_PRESENTV | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
239 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
263 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
265 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/linux-3.4.99/arch/hexagon/include/asm/
Dpgtable.h61 #define _PAGE_DIRTY (1<<1) macro
69 #define _PAGE_FILE _PAGE_DIRTY /* set: pagecache, unset = swap */
338 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean()
345 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
358 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
/linux-3.4.99/arch/parisc/include/asm/
Dpgtable.h178 #define _PAGE_DIRTY (1 << xlate_pabit(_PAGE_DIRTY_BIT)) macro
186 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
187 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
188 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
339 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
345 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
348 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/linux-3.4.99/arch/xtensa/include/asm/
Dpgtable.h108 #define _PAGE_DIRTY (1<<7) /* software: page dirty */ macro
118 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
218 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
226 { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HW_WRITE); return pte; } in pte_mkclean()
230 { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/linux-3.4.99/arch/x86/include/asm/
Dpgtable_types.h40 #define _PAGE_DIRTY (_AT(pteval_t, 1) << _PAGE_BIT_DIRTY) macro
68 _PAGE_ACCESSED | _PAGE_DIRTY)
70 _PAGE_DIRTY)
74 _PAGE_SPECIAL | _PAGE_ACCESSED | _PAGE_DIRTY)
100 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)

123