| /linux-6.15/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 | 55 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
|
| /linux-6.15/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 | 170 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \ macro
|
| H A D | pgtable.h | 500 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | newprot_val); in pte_modify()
|
| /linux-6.15/arch/xtensa/include/asm/ |
| H A D | pgtable.h | 167 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 190 # define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 286 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /linux-6.15/arch/mips/include/asm/ |
| H A D | pgtable.h | 525 pte.pte_low &= _PAGE_CHG_MASK; 534 pte_val(pte) &= _PAGE_CHG_MASK; 535 pte_val(pte) |= pgprot_val(newprot) & ~_PAGE_CHG_MASK; 727 pmd_val(pmd) = (pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HUGE)) | 728 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
|
| H A D | pgtable-bits.h | 282 #define _PAGE_CHG_MASK (_PAGE_ACCESSED | _PAGE_MODIFIED | \ macro
|
| /linux-6.15/arch/m68k/include/asm/ |
| H A D | motorola_pgtable.h | 40 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE) macro 92 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /linux-6.15/arch/csky/include/asm/ |
| H A D | pgtable.h | 72 #define _PAGE_CHG_MASK (~(unsigned long) \ macro 259 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | in pte_modify()
|
| /linux-6.15/arch/um/include/asm/ |
| H A D | pgtable.h | 58 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 279 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
|
| /linux-6.15/arch/alpha/include/asm/ |
| H A D | pgtable.h | 96 #define _PAGE_CHG_MASK (_PFN_MASK | __DIRTY_BITS | __ACCESS_BITS) macro 207 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
| /linux-6.15/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 286 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /linux-6.15/arch/openrisc/include/asm/ |
| H A D | pgtable.h | 151 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 314 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /linux-6.15/arch/microblaze/include/asm/ |
| H A D | pgtable.h | 177 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY) macro 298 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | pgtable-bits.h | 79 #define _PAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PAGE_DEVMAP | _PFN_MASK | _CACHE_MASK | _… macro
|
| H A D | pgtable.h | 437 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | in pte_modify() 438 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); in pte_modify()
|
| /linux-6.15/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 75 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HASHPTE | _PAGE_DIRTY | \ macro 513 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /linux-6.15/arch/sh/include/asm/ |
| H A D | pgtable_32.h | 169 #define _PAGE_CHG_MASK \ macro 393 pte.pte_low &= _PAGE_CHG_MASK; in pte_modify()
|
| /linux-6.15/arch/parisc/include/asm/ |
| H A D | pgtable.h | 206 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_SPECIAL) macro 364 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | pgtable.h | 831 val &= _PAGE_CHG_MASK; in pte_modify() 832 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify() 908 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify() 909 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK; in pgprot_modify()
|
| H A D | pgtable_types.h | 158 #define _PAGE_CHG_MASK (_COMMON_PAGE_CHG_MASK | _PAGE_PAT) macro
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | pgtable.h | 207 #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_SPECIAL | _PAGE_DIRTY | \ macro 1000 unsigned long pte_flags = pte_val(pte) & _PAGE_CHG_MASK; in pte_pgprot() 1074 pte = clear_pte_bit(pte, __pgprot(~_PAGE_CHG_MASK)); in pte_modify()
|
| /linux-6.15/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 124 #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \ macro 633 return __pte_raw((pte_raw(pte) & cpu_to_be64(_PAGE_CHG_MASK)) | in pte_modify()
|