/arch/mips/include/asm/ |
D | pgtable.h | 507 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 511 pte.pte_low |= pgprot_val(newprot) & ~_PFNX_MASK; 512 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 516 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 520 pte.pte_low |= pgprot_val(newprot); 521 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 525 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 528 pte_val(pte) |= pgprot_val(newprot) & ~_PAGE_CHG_MASK; 694 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 697 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
|
/arch/arc/include/asm/ |
D | hugepage.h | 43 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 49 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
|
D | pgtable-bits-arcv2.h | 113 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 115 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/arch/s390/include/asm/ |
D | hugetlb.h | 115 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument 117 return pte_modify(pte, newprot); in huge_pte_modify()
|
/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 105 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 107 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
D | motorola_pgtable.h | 116 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 118 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
D | mcf_pgtable.h | 161 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 163 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/arch/sparc/include/asm/ |
D | pgtable_32.h | 316 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 317 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 320 pgprot_val(newprot)); in pte_modify()
|
/arch/sh/include/asm/ |
D | pgtable_32.h | 392 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 395 pte.pte_low |= pgprot_val(newprot); in pte_modify() 398 pte.pte_high |= pgprot_val(newprot) >> 32; in pte_modify()
|
/arch/nios2/include/asm/ |
D | pgtable.h | 169 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 173 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 171 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 173 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/arch/riscv/include/asm/ |
D | pgtable.h | 373 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 375 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify() 522 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 524 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
|
/arch/arm/include/asm/ |
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()
|
D | pgtable.h | 282 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 286 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/arch/csky/include/asm/ |
D | pgtable.h | 259 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 262 (pgprot_val(newprot))); in pte_modify()
|
/arch/um/include/asm/ |
D | pgtable.h | 288 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 290 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
|
/arch/openrisc/include/asm/ |
D | pgtable.h | 327 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 329 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/arch/x86/include/asm/ |
D | pgtable.h | 607 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 616 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify() 621 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 626 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify() 636 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument 639 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK; in pgprot_modify()
|
/arch/alpha/include/asm/ |
D | pgtable.h | 220 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 221 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
/arch/xtensa/include/asm/ |
D | pgtable.h | 297 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 299 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/arch/microblaze/include/asm/ |
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/nds32/include/asm/ |
D | pgtable.h | 343 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 346 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 165 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 171 return pmd_set_protbits(__pmd(pmdv), newprot); in pmd_modify()
|
/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 522 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 524 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/arch/parisc/include/asm/ |
D | pgtable.h | 394 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 395 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|