Home
last modified time | relevance | path

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

123

/arch/powerpc/include/asm/nohash/32/
Dpte-40x.h48 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro
61 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE)
62 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE | _PAGE_EXEC)
98 return __pte(pte_val(pte) & ~(_PAGE_DIRTY | _PAGE_HWWRITE)); in pte_mkclean()
Dpte-44x.h79 #define _PAGE_DIRTY 0x00000010 /* S: Page dirty */ macro
93 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW)
94 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC)
Dpte-fsl-booke.h23 #define _PAGE_DIRTY 0x00008 /* S: Page dirty */ macro
36 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW)
37 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC)
Dpte-8xx.h36 #define _PAGE_DIRTY 0x0100 /* C: page changed */ macro
55 #define _PAGE_KERNEL_RW (_PAGE_SH | _PAGE_DIRTY)
56 #define _PAGE_KERNEL_RWX (_PAGE_SH | _PAGE_DIRTY | _PAGE_EXEC)
/arch/sh/include/asm/
Dpgtable_32.h44 #define _PAGE_DIRTY 0x004 /* D-bit : page changed */ macro
171 _PAGE_DIRTY | _PAGE_SPECIAL)
215 _PAGE_DIRTY | _PAGE_ACCESSED | \
222 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
230 _PAGE_DIRTY | _PAGE_ACCESSED | \
257 _PAGE_DIRTY | _PAGE_ACCESSED | \
261 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
266 _PAGE_DIRTY | _PAGE_ACCESSED | \
270 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
341 #define pte_dirty(pte) ((pte).pte_low & _PAGE_DIRTY)
[all …]
Dpgtable_64.h114 #define _PAGE_DIRTY 0x400 /* software: page accessed in write */ macro
129 _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_WIRED)
164 _PAGE_CACHABLE | _PAGE_ACCESSED | _PAGE_DIRTY | \
170 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | \
199 _PAGE_DIRTY | _PAGE_SHARED)
257 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) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_DIRTY)); ret… in pte_mkclean()
266 static inline pte_t pte_mkdirty(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_DIRTY)); retu… in pte_mkdirty()
/arch/um/include/asm/
Dpgtable.h19 #define _PAGE_DIRTY 0x100 macro
53 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
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)
62 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
149 return pte_get_bits(pte, _PAGE_DIRTY); in pte_dirty()
186 pte_clear_bits(pte, _PAGE_DIRTY); in pte_mkclean()
215 pte_set_bits(pte, _PAGE_DIRTY); in pte_mkdirty()
/arch/openrisc/include/asm/
Dpgtable.h147 #define _PAGE_DIRTY _PAGE_D macro
153 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
157 (_PAGE_BASE | _PAGE_SRE | _PAGE_SWE | _PAGE_ACCESSED | _PAGE_DIRTY)
173 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC)
176 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC)
179 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC | _PAGE_CI)
237 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
262 pte_val(pte) &= ~(_PAGE_DIRTY); in pte_mkclean()
292 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
/arch/powerpc/include/asm/nohash/
Dpte-book3e.h37 #define _PAGE_DIRTY 0x001000 /* C: page changed */ macro
53 #define _PAGE_KERNEL_RW (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY)
55 #define _PAGE_KERNEL_RWX (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY | _PAGE_BAP_SX)
/arch/arc/include/asm/
Dpgtable.h62 #define _PAGE_DIRTY (1<<6) /* Page modified (dirty) (S) */ macro
74 #define _PAGE_DIRTY (1<<5) /* Page modified (dirty) (S) */ macro
111 #define _PAGE_CHG_MASK (PAGE_MASK_PHYS | _PAGE_ACCESSED | _PAGE_DIRTY | \
297 #define pte_dirty(pte) (pte_val(pte) & _PAGE_DIRTY)
307 PTE_BIT_FUNC(mkclean, &= ~(_PAGE_DIRTY));
308 PTE_BIT_FUNC(mkdirty, |= (_PAGE_DIRTY));
/arch/microblaze/include/asm/
Dpgtable.h213 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro
235 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
244 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY | _PAGE_HWWRITE)
335 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
348 { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HWWRITE); return pte; } in pte_mkclean()
359 { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
443 (_PAGE_DIRTY | _PAGE_HWWRITE), 0) & _PAGE_DIRTY) != 0; in ptep_test_and_clear_dirty()
462 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
/arch/powerpc/mm/ptdump/
D8xx.c46 .mask = _PAGE_DIRTY,
47 .val = _PAGE_DIRTY,
Dshared.c44 .mask = _PAGE_DIRTY,
45 .val = _PAGE_DIRTY,
Dbook3s64.c54 .mask = _PAGE_DIRTY,
55 .val = _PAGE_DIRTY,
/arch/m68k/include/asm/
Dmotorola_pgtable.h14 #define _PAGE_DIRTY 0x010 macro
29 #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()
174 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
177 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/arch/xtensa/include/asm/
Dpgtable.h161 #define _PAGE_DIRTY (1<<7) /* software: page dirty */ macro
166 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
189 # define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
268 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
275 { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HW_WRITE); return pte; } in pte_mkclean()
279 { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/arch/powerpc/include/asm/book3s/32/
Dpgtable.h14 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW)
15 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC)
50 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HASHPTE | _PAGE_DIRTY | \
339 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
386 static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } in pte_dirty()
462 return __pte(pte_val(pte) & ~_PAGE_DIRTY); in pte_mkclean()
487 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty()
Dhash.h27 #define _PAGE_DIRTY 0x080 /* C: page changed */ macro
/arch/csky/include/asm/
Dpgtable.h56 #define __WRITEABLE (_PAGE_WRITE | _PAGE_DIRTY | _PAGE_MODIFIED)
195 pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_DIRTY); in pte_wrprotect()
201 pte_val(pte) &= ~(_PAGE_MODIFIED|_PAGE_DIRTY); in pte_mkclean()
215 pte_val(pte) |= _PAGE_DIRTY; in pte_mkwrite()
223 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
/arch/nios2/include/asm/
Dpgtable-bits.h32 #define _PAGE_DIRTY (1<<27) /* dirty page */ macro
/arch/x86/include/asm/
Dpgtable_types.h48 #define _PAGE_DIRTY (_AT(pteval_t, 1) << _PAGE_BIT_DIRTY) macro
76 #define _PAGE_KNL_ERRATUM_MASK (_PAGE_DIRTY | _PAGE_ACCESSED)
114 _PAGE_ACCESSED | _PAGE_DIRTY)
116 _PAGE_ACCESSED | _PAGE_DIRTY)
125 _PAGE_SPECIAL | _PAGE_ACCESSED | _PAGE_DIRTY | \
171 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
190 _PAGE_DIRTY | _PAGE_ENC)
/arch/parisc/include/asm/
Dpgtable.h218 #define _PAGE_DIRTY (1 << xlate_pabit(_PAGE_DIRTY_BIT)) macro
226 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
227 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
228 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
379 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
384 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
387 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
/arch/mips/include/asm/
Dpgtable-bits.h165 #define _PAGE_DIRTY (1 << _PAGE_DIRTY_SHIFT) macro
180 #define _PAGE_SILENT_WRITE _PAGE_DIRTY
/arch/csky/abiv2/inc/abi/
Dpgtable-bits.h24 #define _PAGE_DIRTY (1<<2) macro
/arch/csky/abiv1/inc/abi/
Dpgtable-bits.h24 #define _PAGE_DIRTY (1<<8) macro

123