| /linux/arch/arc/include/asm/ |
| H A D | pgtable-bits-arcv2.h | 42 #define _PAGE_CHG_MASK (PAGE_MASK_PHYS | _PAGE_ACCESSED | _PAGE_DIRTY | \ macro 100 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| H A D | hugepage.h | 53 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
|
| /linux/arch/mips/include/asm/ |
| H A D | pgtable.h | 519 pte.pte_low &= _PAGE_CHG_MASK; 528 pte_val(pte) &= _PAGE_CHG_MASK; 529 pte_val(pte) |= pgprot_val(newprot) & ~_PAGE_CHG_MASK; 717 pmd_val(pmd) = (pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HUGE)) | 718 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
|
| H A D | pgtable-bits.h | 282 #define _PAGE_CHG_MASK (_PAGE_ACCESSED | _PAGE_MODIFIED | \ macro
|
| /linux/arch/xtensa/include/asm/ |
| H A D | pgtable.h | 166 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 189 # define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 279 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-32.h | 32 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \ macro
|
| H A D | pgtable-64.h | 172 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \ macro
|
| H A D | pgtable.h | 564 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | newprot_val); in pte_modify()
|
| /linux/arch/m68k/include/asm/ |
| H A D | motorola_pgtable.h | 40 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE) macro 86 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /linux/arch/csky/include/asm/ |
| H A D | pgtable.h | 72 #define _PAGE_CHG_MASK (~(unsigned long) \ macro 254 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | in pte_modify()
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable.h | 60 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 281 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 20 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) macro 297 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /linux/arch/openrisc/include/asm/ |
| H A D | pgtable.h | 151 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 295 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /linux/arch/alpha/include/asm/ |
| H A D | pgtable.h | 97 #define _PAGE_CHG_MASK (_PFN_MASK | __DIRTY_BITS | __ACCESS_BITS) macro 178 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
| /linux/arch/microblaze/include/asm/ |
| H A D | pgtable.h | 176 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 289 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /linux/arch/sh/include/asm/ |
| H A D | pgtable_32.h | 169 #define _PAGE_CHG_MASK \ macro 385 pte.pte_low &= _PAGE_CHG_MASK; in pte_modify()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 75 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HASHPTE | _PAGE_DIRTY | \ macro 519 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable-bits.h | 109 #define _PAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PFN_MASK | _CACHE_MASK | _PAGE_PLV) macro
|
| H A D | pgtable.h | 463 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | in pte_modify() 464 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); in pte_modify()
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 206 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_SPECIAL) macro 358 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable.h | 788 val &= _PAGE_CHG_MASK; in pte_modify() 789 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify() 865 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify() 866 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK; in pgprot_modify()
|
| H A D | pgtable_types.h | 155 #define _PAGE_CHG_MASK (_COMMON_PAGE_CHG_MASK | _PAGE_PAT) macro
|
| /linux/arch/s390/include/asm/ |
| H A D | pgtable.h | 207 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_SPECIAL | _PAGE_DIRTY | \ macro 944 unsigned long pte_flags = pte_val(pte) & _PAGE_CHG_MASK; in pte_pgprot() 1018 pte = clear_pte_bit(pte, __pgprot(~_PAGE_CHG_MASK)); in pte_modify()
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 123 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \ macro 629 return __pte_raw((pte_raw(pte) & cpu_to_be64(_PAGE_CHG_MASK)) | in pte_modify()
|