Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/mm/
A Dmprotect.c85 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_pte_range() argument
178 ptent = pte_modify(oldpte, newprot); in change_pte_range()
364 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_pmd_range() argument
425 addr, newprot, cp_flags); in change_pmd_range()
440 newprot, cp_flags); in change_pmd_range()
455 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_pud_range() argument
478 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_p4d_range() argument
501 unsigned long end, pgprot_t newprot, unsigned long cp_flags) in change_protection_range() argument
533 pgprot_t newprot = vma->vm_page_prot; in change_protection() local
545 newprot = PAGE_NONE; in change_protection()
[all …]
/linux-6.3-rc2/arch/mips/include/asm/
A Dpgtable.h503 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
507 pte.pte_low |= pgprot_val(newprot) & ~_PFNX_MASK;
508 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
512 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
516 pte.pte_low |= pgprot_val(newprot);
517 pte.pte_high |= pgprot_val(newprot) & ~(_PFN_MASK | _CACHE_MASK);
521 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
524 pte_val(pte) |= pgprot_val(newprot) & ~_PAGE_CHG_MASK;
704 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument
707 (pgprot_val(newprot) & ~_PAGE_CHG_MASK);
/linux-6.3-rc2/arch/arc/include/asm/
A Dhugepage.h42 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()
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()
/linux-6.3-rc2/arch/s390/include/asm/
A Dhugetlb.h120 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument
122 return pte_modify(pte, newprot); in huge_pte_modify()
/linux-6.3-rc2/include/asm-generic/
A Dhugetlb.h40 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()
/linux-6.3-rc2/include/linux/
A Dpgtable.h1010 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
1013 newprot = pgprot_noncached(newprot); in pgprot_modify()
1015 newprot = pgprot_writecombine(newprot); in pgprot_modify()
1017 newprot = pgprot_device(newprot); in pgprot_modify()
1018 return newprot; in pgprot_modify()
/linux-6.3-rc2/arch/sparc/include/asm/
A Dpgtable_32.h302 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
303 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
306 pgprot_val(newprot)); in pte_modify()
/linux-6.3-rc2/arch/m68k/include/asm/
A Dsun3_pgtable.h85 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()
A Dmotorola_pgtable.h90 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()
A Dmcf_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) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dpgtable.h439 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
442 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); in pte_modify()
552 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
555 (pgprot_val(newprot) & ~_HPAGE_CHG_MASK); in pmd_modify()
/linux-6.3-rc2/arch/nios2/include/asm/
A Dpgtable.h150 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()
/linux-6.3-rc2/arch/sh/include/asm/
A 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()
/linux-6.3-rc2/arch/powerpc/include/asm/nohash/
A Dpgtable.h149 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()
/linux-6.3-rc2/arch/arm/include/asm/
A Dpgtable-3level.h225 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()
A Dpgtable.h265 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
269 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
/linux-6.3-rc2/arch/csky/include/asm/
A Dpgtable.h257 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
260 (pgprot_val(newprot))); in pte_modify()
/linux-6.3-rc2/arch/riscv/include/asm/
A Dpgtable.h394 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
396 unsigned long newprot_val = pgprot_val(newprot); in pte_modify()
590 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
592 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
/linux-6.3-rc2/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()
/linux-6.3-rc2/arch/x86/include/asm/
A Dpgtable.h626 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
635 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify()
640 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
645 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify()
655 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
658 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK; in pgprot_modify()
/linux-6.3-rc2/arch/openrisc/include/asm/
A Dpgtable.h312 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()
/linux-6.3-rc2/arch/alpha/include/asm/
A Dpgtable.h206 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()
/linux-6.3-rc2/arch/xtensa/include/asm/
A Dpgtable.h283 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
285 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
/linux-6.3-rc2/arch/microblaze/include/asm/
A Dpgtable.h296 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()

Completed in 125 milliseconds

12