/arch/mips/include/asm/ |
D | pgtable.h | 474 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 478 pte.pte_low |= pgprot_val(newprot) & ~_PFNX_MASK; 479 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 483 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 487 pte.pte_low |= pgprot_val(newprot); 488 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 492 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 495 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); 634 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 637 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
|
/arch/tile/include/asm/ |
D | pgtable.h | 165 #define pgprot_modify(oldprot, newprot) \ argument 166 (pgprot_t) { ((oldprot).val & ~_PAGE_ALL) | (newprot).val } 309 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 311 return pfn_pte(pte_pfn(pte), newprot); in pte_modify() 484 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 486 return pfn_pmd(pmd_pfn(pmd), newprot); in pmd_modify()
|
/arch/arc/include/asm/ |
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()
|
D | pgtable.h | 325 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 327 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/arch/s390/include/asm/ |
D | hugetlb.h | 111 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument 113 return pte_modify(pte, newprot); in huge_pte_modify()
|
/arch/powerpc/mm/ |
D | pgtable-book3s64.c | 123 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 129 return pmd_set_protbits(__pmd(pmdv), newprot); in pmd_modify()
|
/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 109 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 111 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/arch/sparc/include/asm/ |
D | pgtable_32.h | 306 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 307 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 310 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()
|
D | pgtable_64.h | 295 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 296 { set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot))); return pte; } in 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 | 103 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 105 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
D | mcf_pgtable.h | 159 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 161 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/arch/nios2/include/asm/ |
D | pgtable.h | 179 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 183 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/arch/cris/include/asm/ |
D | pgtable.h | 198 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 199 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
/arch/m32r/include/asm/ |
D | pgtable.h | 282 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 285 | pgprot_val(newprot))); in pte_modify()
|
/arch/unicore32/include/asm/ |
D | pgtable.h | 244 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 247 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/arch/metag/include/asm/ |
D | pgtable.h | 158 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 160 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/arch/score/include/asm/ |
D | pgtable.h | 246 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 248 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/arch/arm/include/asm/ |
D | pgtable-3level.h | 259 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 263 pmd_val(pmd) = (pmd_val(pmd) & ~mask) | (pgprot_val(newprot) & mask); in pmd_modify()
|
/arch/x86/include/asm/ |
D | pgtable.h | 567 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 576 val |= massage_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify() 581 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 586 val |= massage_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify() 593 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument 596 pgprotval_t addbits = pgprot_val(newprot); in pgprot_modify()
|
/arch/openrisc/include/asm/ |
D | pgtable.h | 335 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 337 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/arch/alpha/include/asm/ |
D | pgtable.h | 223 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 224 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
/arch/um/include/asm/ |
D | pgtable.h | 292 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 294 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
|
/arch/arm64/include/asm/ |
D | pgtable.h | 550 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 557 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify() 561 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 563 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
|