/arch/powerpc/include/asm/ |
D | pte-book3e.h | 36 #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)
|
D | pte-8xx.h | 36 #define _PAGE_DIRTY 0x0100 /* C: page changed */ macro 64 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE)
|
D | pte-hash64.h | 25 #define _PAGE_DIRTY 0x0080 /* C: page changed */ macro 37 #define _PAGE_KERNEL_RW (_PAGE_RW | _PAGE_DIRTY) /* user access blocked by key */
|
D | pte-common.h | 51 #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)
|
D | pte-fsl-booke.h | 25 #define _PAGE_DIRTY 0x00008 /* S: Page dirty */ macro
|
D | pte-44x.h | 83 #define _PAGE_DIRTY 0x00000010 /* S: Page dirty */ macro
|
D | pte-40x.h | 48 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro
|
D | pte-hash32.h | 27 #define _PAGE_DIRTY 0x080 /* C: page changed */ macro
|
/arch/sh/include/asm/ |
D | pgtable_32.h | 45 #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 …]
|
D | pgtable_64.h | 118 #define _PAGE_DIRTY 0x400 /* software: page accessed in write */ macro 133 _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_WIRED) 168 _PAGE_CACHABLE | _PAGE_ACCESSED | _PAGE_DIRTY | \ 174 #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | \ 203 _PAGE_DIRTY | _PAGE_SHARED) 261 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 268 static inline pte_t pte_mkclean(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_DIRTY)); ret… in pte_mkclean() 271 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/ |
D | pgtable.h | 19 #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) 164 return pte_get_bits(pte, _PAGE_DIRTY); in pte_dirty() 201 pte_clear_bits(pte, _PAGE_DIRTY); in pte_mkclean() 225 pte_set_bits(pte, _PAGE_DIRTY); in pte_mkdirty()
|
/arch/openrisc/include/asm/ |
D | pgtable.h | 151 #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()
|
/arch/m32r/include/asm/ |
D | pgtable.h | 95 #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()
|
/arch/avr32/include/asm/ |
D | pgtable.h | 93 #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()
|
D | fb.h | 13 | (_PAGE_BUFFER | _PAGE_DIRTY)); in fb_pgprotect()
|
/arch/blackfin/include/asm/ |
D | pgtable.h | 63 #define _PAGE_DIRTY (CPLB_DIRTY) macro 74 PTE_BIT_FUNC(mkclean, &= ~_PAGE_DIRTY); 75 PTE_BIT_FUNC(mkdirty, |= _PAGE_DIRTY);
|
/arch/mips/include/asm/ |
D | pgtable-bits.h | 49 #define _PAGE_DIRTY (1 << _PAGE_DIRTY_SHIFT) macro 104 #define _PAGE_DIRTY (1 << _PAGE_DIRTY_SHIFT) macro 178 #define _PAGE_DIRTY (1 << _PAGE_DIRTY_SHIFT) macro 194 #define _PAGE_SILENT_WRITE _PAGE_DIRTY
|
/arch/microblaze/include/asm/ |
D | pgtable.h | 216 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro 238 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 247 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY | _PAGE_HWWRITE) 338 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 352 { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HWWRITE); return pte; } in pte_mkclean() 363 { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty() 447 (_PAGE_DIRTY | _PAGE_HWWRITE), 0) & _PAGE_DIRTY) != 0; in ptep_test_and_clear_dirty() 466 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
|
/arch/m68k/include/asm/ |
D | motorola_pgtable.h | 13 #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()
|
/arch/frv/include/asm/ |
D | pgtable.h | 296 #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()
|
/arch/hexagon/include/asm/ |
D | pgtable.h | 61 #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()
|
/arch/mn10300/include/asm/ |
D | pgtable.h | 118 #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()
|
/arch/parisc/include/asm/ |
D | pgtable.h | 183 #define _PAGE_DIRTY (1 << xlate_pabit(_PAGE_DIRTY_BIT)) macro 191 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 192 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 193 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) 344 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 350 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean() 353 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
|
/arch/metag/include/asm/ |
D | pgtable.h | 49 #define _PAGE_DIRTY _PAGE_ALWAYS_ZERO_2 macro 159 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \ 220 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 226 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean() 229 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
|
/arch/x86/include/asm/ |
D | pgtable_types.h | 50 #define _PAGE_DIRTY (_AT(pteval_t, 1) << _PAGE_BIT_DIRTY) macro 121 _PAGE_ACCESSED | _PAGE_DIRTY) 123 _PAGE_DIRTY) 127 _PAGE_SPECIAL | _PAGE_ACCESSED | _PAGE_DIRTY | \ 154 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
|