/openbmc/linux/mm/ |
H A D | mprotect.c | 85 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_pte_range() argument 165 ptent = pte_modify(oldpte, newprot); in change_pte_range() 355 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_pmd_range() argument 406 addr, newprot, cp_flags); in change_pmd_range() 420 ret = change_pte_range(tlb, vma, pmd, addr, next, newprot, in change_pmd_range() 439 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_pud_range() argument 453 pages += change_pmd_range(tlb, vma, pud, addr, next, newprot, in change_pud_range() 462 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_p4d_range() argument 476 pages += change_pud_range(tlb, vma, p4d, addr, next, newprot, in change_p4d_range() 485 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_protection_range() argument [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | pgtable.h | 514 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 518 pte.pte_low |= pgprot_val(newprot) & ~_PFNX_MASK; 519 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 523 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 527 pte.pte_low |= pgprot_val(newprot); 528 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK); 532 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 535 pte_val(pte) |= pgprot_val(newprot) & ~_PAGE_CHG_MASK; 724 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 727 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | hugepage.h | 42 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 48 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
|
H 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()
|
/openbmc/linux/include/asm-generic/ |
H A D | hugetlb.h | 40 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument 42 return pte_modify(pte, newprot); in huge_pte_modify()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | hugetlb.h | 122 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument 124 return pte_modify(pte, newprot); in huge_pte_modify()
|
/openbmc/linux/include/linux/ |
H A D | pgtable.h | 1146 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument 1149 newprot = pgprot_noncached(newprot); in pgprot_modify() 1151 newprot = pgprot_writecombine(newprot); in pgprot_modify() 1153 newprot = pgprot_device(newprot); in pgprot_modify() 1154 return newprot; in pgprot_modify()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | pgtable_32.h | 301 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 302 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 305 pgprot_val(newprot)); in pte_modify()
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | sun3_pgtable.h | 85 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 87 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
H A D | mcf_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) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
H A D | motorola_pgtable.h | 90 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 92 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | pgtable.h | 449 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 452 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); in pte_modify() 571 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 574 (pgprot_val(newprot) & ~_HPAGE_CHG_MASK); in pmd_modify()
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | pgtable_32.h | 391 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 394 pte.pte_low |= pgprot_val(newprot); in pte_modify() 397 pte.pte_high |= pgprot_val(newprot) >> 32; in pte_modify()
|
/openbmc/linux/arch/nios2/include/asm/ |
H A D | pgtable.h | 150 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 154 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 149 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 151 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | pgtable-3level.h | 225 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 229 pmd_val(pmd) = (pmd_val(pmd) & ~mask) | (pgprot_val(newprot) & mask); in pmd_modify()
|
H 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()
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | pgtable.h | 257 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 260 (pgprot_val(newprot))); in pte_modify()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | pgtable.h | 463 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 465 unsigned long newprot_val = pgprot_val(newprot); in pte_modify() 653 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 655 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
|
/openbmc/linux/arch/um/include/asm/ |
H A D | pgtable.h | 271 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 273 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | pgtable.h | 206 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 207 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | pgtable.h | 779 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 789 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify() 812 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 818 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify() 846 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument 849 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK; in pgprot_modify()
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | pgtable.h | 312 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 314 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/openbmc/linux/arch/microblaze/include/asm/ |
H A D | pgtable.h | 296 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 298 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/openbmc/linux/arch/xtensa/include/asm/ |
H 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()
|