/linux/arch/sh/include/asm/ |
A D | pgtable_32.h | 44 #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 | \ 341 #define pte_dirty(pte) ((pte).pte_low & _PAGE_DIRTY) 370 PTE_BIT_FUNC(low, mkclean, &= ~_PAGE_DIRTY); [all …]
|
/linux/arch/um/include/asm/ |
A D | pgtable.h | 19 #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) 152 return pte_get_bits(pte, _PAGE_DIRTY); in pte_dirty() 184 pte_clear_bits(pte, _PAGE_DIRTY); in pte_mkclean() 213 pte_set_bits(pte, _PAGE_DIRTY); in pte_mkdirty()
|
/linux/arch/openrisc/include/asm/ |
A D | pgtable.h | 145 #define _PAGE_DIRTY _PAGE_D macro 151 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 155 (_PAGE_BASE | _PAGE_SRE | _PAGE_SWE | _PAGE_ACCESSED | _PAGE_DIRTY) 171 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) 174 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) 177 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC | _PAGE_CI) 235 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 258 pte_val(pte) &= ~(_PAGE_DIRTY); in pte_mkclean() 288 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
|
/linux/arch/microblaze/include/asm/ |
A D | pgtable.h | 152 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro 174 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 183 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY | _PAGE_HWWRITE) 262 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 275 { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HWWRITE); return pte; } in pte_mkclean() 286 { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty() 370 (_PAGE_DIRTY | _PAGE_HWWRITE), 0) & _PAGE_DIRTY) != 0; in ptep_test_and_clear_dirty() 389 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
|
/linux/arch/arc/include/asm/ |
A D | pgtable-bits-arcv2.h | 24 #define _PAGE_DIRTY (1 << 5) /* Modified (s) */ macro 39 #define _PAGE_CHG_MASK (PAGE_MASK_PHYS | _PAGE_ACCESSED | _PAGE_DIRTY | \ 96 #define pte_dirty(pte) (pte_val(pte) & _PAGE_DIRTY) 106 PTE_BIT_FUNC(mkclean, &= ~(_PAGE_DIRTY)); 107 PTE_BIT_FUNC(mkdirty, |= (_PAGE_DIRTY));
|
/linux/arch/m68k/include/asm/ |
A D | motorola_pgtable.h | 14 #define _PAGE_DIRTY 0x010 macro 40 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE) 77 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits) 177 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 181 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean() 184 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
|
/linux/arch/powerpc/include/asm/nohash/32/ |
A D | pte-40x.h | 47 #define _PAGE_DIRTY 0x080 /* software: dirty page */ macro 60 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW) 61 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC)
|
A D | pte-44x.h | 79 #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)
|
A D | pte-fsl-booke.h | 23 #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)
|
A D | pte-8xx.h | 36 #define _PAGE_DIRTY 0x0100 /* C: page changed */ macro 57 #define _PAGE_KERNEL_RW (_PAGE_SH | _PAGE_DIRTY) 58 #define _PAGE_KERNEL_RWX (_PAGE_SH | _PAGE_DIRTY | _PAGE_EXEC) 151 unsigned long set = pte_val(entry) & (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_EXEC); in __ptep_set_access_flags()
|
A D | pgtable.h | 165 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) 181 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty() 326 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
|
/linux/arch/csky/include/asm/ |
A D | pgtable.h | 63 _PAGE_WRITE | _PAGE_DIRTY | _PAGE_MODIFIED | \ 68 _PAGE_WRITE | _PAGE_DIRTY | _PAGE_MODIFIED | \ 182 pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_DIRTY); in pte_wrprotect() 188 pte_val(pte) &= ~(_PAGE_MODIFIED|_PAGE_DIRTY); in pte_mkclean() 202 pte_val(pte) |= _PAGE_DIRTY; in pte_mkwrite() 210 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
|
/linux/arch/powerpc/include/asm/book3s/32/ |
A D | pgtable.h | 28 #define _PAGE_DIRTY 0x080 /* C: page changed */ macro 49 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW) 50 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) 85 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HASHPTE | _PAGE_DIRTY | \ 364 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags() 392 static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } in pte_dirty() 468 return __pte(pte_val(pte) & ~_PAGE_DIRTY); in pte_mkclean() 493 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty()
|
/linux/arch/xtensa/include/asm/ |
A D | pgtable.h | 159 #define _PAGE_DIRTY (1<<7) /* software: page dirty */ macro 164 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 187 # define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 266 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 272 { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HW_WRITE); return pte; } in pte_mkclean() 276 { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
|
/linux/arch/parisc/include/asm/ |
A D | pgtable.h | 215 #define _PAGE_DIRTY (1 << xlate_pabit(_PAGE_DIRTY_BIT)) macro 223 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 224 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) 225 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) 348 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 352 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean() 355 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
|
/linux/arch/powerpc/include/asm/nohash/ |
A D | pte-book3e.h | 37 #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)
|
/linux/arch/hexagon/include/asm/ |
A D | pgtable.h | 46 #define _PAGE_DIRTY (1<<1) macro 283 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean() 290 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty() 303 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
|
/linux/arch/powerpc/mm/ptdump/ |
A D | shared.c | 44 .mask = _PAGE_DIRTY, 45 .val = _PAGE_DIRTY,
|
A D | 8xx.c | 56 .mask = _PAGE_DIRTY, 57 .val = _PAGE_DIRTY,
|
A D | book3s64.c | 54 .mask = _PAGE_DIRTY, 55 .val = _PAGE_DIRTY,
|
/linux/arch/nios2/include/asm/ |
A D | pgtable.h | 106 { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 141 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean() 159 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
|
/linux/arch/x86/include/asm/ |
A D | pgtable.h | 126 return pte_flags(pte) & _PAGE_DIRTY; in pte_dirty() 136 return pmd_flags(pmd) & _PAGE_DIRTY; in pmd_dirty() 146 return pud_flags(pud) & _PAGE_DIRTY; in pud_dirty() 307 return pte_clear_flags(pte, _PAGE_DIRTY); in pte_mkclean() 327 return pte_set_flags(pte, _PAGE_DIRTY | _PAGE_SOFT_DIRTY); in pte_mkdirty() 408 return pmd_clear_flags(pmd, _PAGE_DIRTY); in pmd_mkclean() 418 return pmd_set_flags(pmd, _PAGE_DIRTY | _PAGE_SOFT_DIRTY); in pmd_mkdirty() 462 return pud_clear_flags(pud, _PAGE_DIRTY); in pud_mkclean() 472 return pud_set_flags(pud, _PAGE_DIRTY | _PAGE_SOFT_DIRTY); in pud_mkdirty()
|
/linux/arch/mips/include/asm/ |
A D | pgtable-bits.h | 181 #define _PAGE_DIRTY (1 << _PAGE_DIRTY_SHIFT) macro 196 #define _PAGE_SILENT_WRITE _PAGE_DIRTY
|
/linux/arch/powerpc/include/asm/nohash/64/ |
A D | pgtable.h | 94 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) 108 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty() 276 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
|
/linux/arch/s390/include/asm/ |
A D | pgtable.h | 172 #define _PAGE_DIRTY 0x008 /* SW pte dirty bit */ macro 185 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_SPECIAL | _PAGE_DIRTY | \ 411 _PAGE_YOUNG | _PAGE_DIRTY | _PAGE_NOEXEC) 413 _PAGE_YOUNG | _PAGE_DIRTY | _PAGE_NOEXEC) 417 _PAGE_YOUNG | _PAGE_DIRTY) 847 return (pte_val(pte) & _PAGE_DIRTY) != 0; in pte_dirty() 930 if ((pte_val(pte) & _PAGE_DIRTY) && (pte_val(pte) & _PAGE_WRITE)) in pte_modify() 945 if (pte_val(pte) & _PAGE_DIRTY) in pte_mkwrite() 952 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean() 959 pte_val(pte) |= _PAGE_DIRTY | _PAGE_SOFT_DIRTY; in pte_mkdirty()
|