Home
last modified time | relevance | path

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

12

/arch/mips/include/asm/
A Dpgtable.h508 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 Dhugepage.h47 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 Dpgtable-bits-arcv2.h98 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 Dpgtable_32.h296 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 Dsun3_pgtable.h79 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 Dmcf_pgtable.h99 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 Dmotorola_pgtable.h84 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 Dpgtable.c270 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 Dpgtable_32.h383 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 Dpgtable.h425 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 Dpgtable.h252 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 Dpgtable-3level.h222 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 Dpgtable.h268 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 Dpgtable.h153 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 Dpgtable.h480 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 Dpgtable.h275 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 Dpgtable.h778 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 Dpgtable.h284 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 Dpgtable.h310 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 Dpgtable.h199 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 Dpgtable.h288 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 Dpgtable.h278 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 Dpgtable.h511 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 Dpgtable.h357 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 Dpgtable.h611 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);

Completed in 66 milliseconds

12