Home
last modified time | relevance | path

Searched refs:newprot (Results 1 – 25 of 32) sorted by relevance

12

/arch/mips/include/asm/
Dpgtable.h448 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
452 pte.pte_low |= pgprot_val(newprot) & ~_PFNX_MASK;
453 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
457 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
461 pte.pte_low |= pgprot_val(newprot);
462 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
466 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
469 (pgprot_val(newprot) & ~_PAGE_CHG_MASK));
611 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument
614 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
/arch/arc/include/asm/
Dhugepage.h44 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
50 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot)); in pmd_modify()
Dpgtable.h320 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
322 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
/arch/s390/include/asm/
Dhugetlb.h119 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument
121 return pte_modify(pte, newprot); in huge_pte_modify()
/arch/sparc/include/asm/
Dpgtable_32.h306 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/powerpc/include/asm/nohash/
Dpgtable.h176 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
178 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
/arch/sh/include/asm/
Dpgtable_32.h392 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()
Dpgtable_64.h292 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
293 { set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot))); return pte; } in pte_modify()
/arch/nios2/include/asm/
Dpgtable.h179 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/m68k/include/asm/
Dsun3_pgtable.h105 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()
Dmotorola_pgtable.h103 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()
Dmcf_pgtable.h159 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/unicore32/include/asm/
Dpgtable.h239 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
242 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
/arch/arm/include/asm/
Dpgtable-3level.h248 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
252 pmd_val(pmd) = (pmd_val(pmd) & ~mask) | (pgprot_val(newprot) & mask); in pmd_modify()
Dpgtable.h321 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
325 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
/arch/csky/include/asm/
Dpgtable.h281 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
284 (pgprot_val(newprot))); in pte_modify()
/arch/x86/include/asm/
Dpgtable.h603 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
612 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify()
617 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
622 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify()
629 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
632 pgprotval_t addbits = pgprot_val(newprot); in pgprot_modify()
/arch/um/include/asm/
Dpgtable.h295 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
297 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
/arch/alpha/include/asm/
Dpgtable.h223 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/powerpc/mm/book3s64/
Dpgtable.c141 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
147 return pmd_set_protbits(__pmd(pmdv), newprot); in pmd_modify()
/arch/riscv/include/asm/
Dpgtable.h292 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
294 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
/arch/openrisc/include/asm/
Dpgtable.h331 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
333 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
/arch/xtensa/include/asm/
Dpgtable.h300 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
302 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
/arch/nds32/include/asm/
Dpgtable.h372 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
375 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
/arch/arm64/include/asm/
Dpgtable.h658 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
665 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
669 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
671 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()

12