| /arch/mips/include/asm/ |
| A D | pgtable.h | 508 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 512 pte.pte_low |= pgprot_val(newprot) & ~_PFNX_MASK; 513 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 517 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 521 pte.pte_low |= pgprot_val(newprot); 522 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 526 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 529 pte_val(pte) |= pgprot_val(newprot) & ~_PAGE_CHG_MASK; 716 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 719 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
|
| /arch/arc/include/asm/ |
| A D | hugepage.h | 47 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 53 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
|
| A D | pgtable-bits-arcv2.h | 98 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 100 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /arch/sparc/include/asm/ |
| A D | pgtable_32.h | 296 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 297 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 300 pgprot_val(newprot)); in pte_modify()
|
| /arch/m68k/include/asm/ |
| A D | sun3_pgtable.h | 79 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 81 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| A D | mcf_pgtable.h | 99 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 101 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| A D | motorola_pgtable.h | 84 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 86 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /arch/powerpc/mm/book3s64/ |
| A D | pgtable.c | 270 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 276 return pmd_set_protbits(__pmd(pmdv), newprot); in pmd_modify() 279 pud_t pud_modify(pud_t pud, pgprot_t newprot) in pud_modify() argument 285 return pud_set_protbits(__pud(pudv), newprot); in pud_modify()
|
| /arch/sh/include/asm/ |
| A D | pgtable_32.h | 383 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 386 pte.pte_low |= pgprot_val(newprot); in pte_modify() 389 pte.pte_high |= pgprot_val(newprot) >> 32; in pte_modify()
|
| /arch/loongarch/include/asm/ |
| A D | pgtable.h | 425 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 428 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); in pte_modify() 548 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 551 (pgprot_val(newprot) & ~_HPAGE_CHG_MASK); in pmd_modify()
|
| /arch/csky/include/asm/ |
| A D | pgtable.h | 252 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 255 (pgprot_val(newprot))); in pte_modify()
|
| /arch/arm/include/asm/ |
| A D | pgtable-3level.h | 222 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 226 pmd_val(pmd) = (pmd_val(pmd) & ~mask) | (pgprot_val(newprot) & mask); in pmd_modify()
|
| A D | pgtable.h | 268 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 272 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
| /arch/nios2/include/asm/ |
| A D | pgtable.h | 153 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 157 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
| /arch/riscv/include/asm/ |
| A D | pgtable.h | 480 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 482 unsigned long newprot_val = pgprot_val(newprot); in pte_modify() 717 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 719 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify() 973 static inline pud_t pud_modify(pud_t pud, pgprot_t newprot) in pud_modify() argument 975 return pte_pud(pte_modify(pud_pte(pud), newprot)); in pud_modify()
|
| /arch/um/include/asm/ |
| A D | pgtable.h | 275 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 277 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
|
| /arch/x86/include/asm/ |
| A D | pgtable.h | 778 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 788 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify() 811 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 817 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify() 834 static inline pud_t pud_modify(pud_t pud, pgprot_t newprot) in pud_modify() argument 840 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pud_modify() 862 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument 865 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK; in pgprot_modify()
|
| /arch/powerpc/include/asm/nohash/ |
| A D | pgtable.h | 284 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 286 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /arch/openrisc/include/asm/ |
| A D | pgtable.h | 310 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 312 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /arch/alpha/include/asm/ |
| A D | pgtable.h | 199 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 200 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
| /arch/microblaze/include/asm/ |
| A D | pgtable.h | 288 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 290 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
| /arch/xtensa/include/asm/ |
| A D | pgtable.h | 278 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 280 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /arch/powerpc/include/asm/book3s/32/ |
| A D | pgtable.h | 511 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 513 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
| /arch/parisc/include/asm/ |
| A D | pgtable.h | 357 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 358 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
| /arch/powerpc/include/asm/book3s/64/ |
| A D | pgtable.h | 611 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 615 cpu_to_be64(pgprot_val(newprot))); in pte_modify() 1080 extern pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot); 1081 extern pud_t pud_modify(pud_t pud, pgprot_t newprot);
|