Home
last modified time | relevance | path

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

/linux/arch/arc/include/asm/
H 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()
H 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/include/asm-generic/
H A Dhugetlb.h35 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument
37 return pte_modify(pte, newprot); in huge_pte_modify()
/linux/arch/m68k/include/asm/
H 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()
H 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()
H 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()
/linux/arch/sh/include/asm/
H 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()
/linux/arch/loongarch/include/asm/
H A Dpgtable.h462 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
468 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); in pte_modify()
588 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
594 (pgprot_val(newprot) & ~_HPAGE_CHG_MASK)); in pmd_modify()
/linux/arch/x86/include/asm/
H A Dpgtable.h771 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
778 * the newprot (if present): in pte_modify()
781 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify()
792 * out any Dirty bit passed in newprot. Handle the second case by in pte_modify()
804 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
810 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify()
827 static inline pud_t pud_modify(pud_t pud, pgprot_t newprot) in pud_modify() argument
833 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pud_modify()
855 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
858 pgprotval_t addbits = pgprot_val(newprot) in pgprot_modify()
[all...]
/linux/arch/arm/include/asm/
H 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()
/linux/arch/riscv/include/asm/
H A Dpgtable.h553 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
555 unsigned long newprot_val = pgprot_val(newprot);
805 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
807 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pud_write()
1158 static inline pud_t pud_modify(pud_t pud, pgprot_t newprot)
1160 return pte_pud(pte_modify(pud_pte(pud), newprot));
543 pte_modify(pte_t pte,pgprot_t newprot) pte_modify() argument
795 pmd_modify(pmd_t pmd,pgprot_t newprot) pmd_modify() argument
1148 pud_modify(pud_t pud,pgprot_t newprot) pud_modify() argument
/linux/arch/powerpc/include/asm/nohash/
H A Dpgtable.h295 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
297 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h517 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
519 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
/linux/arch/parisc/include/asm/
H A Dpgtable.h346 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
347 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h626 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
630 cpu_to_be64(pgprot_val(newprot))); in pte_modify()
1107 extern pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot);
1108 extern pud_t pud_modify(pud_t pud, pgprot_t newprot);
/linux/arch/s390/include/asm/
H A Dpgtable.h1050 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
1053 pte = set_pte_bit(pte, newprot); in pte_mkclean()
1055 * newprot for PAGE_NONE, PAGE_RO, PAGE_RX, PAGE_RW and PAGE_RWX in pte_mkclean()
1061 * newprot for PAGE_RO, PAGE_RX, PAGE_RW and PAGE_RWX has the page in pte_mkdirty()
1600 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in __pmdp_cspg()
1610 pmd = set_pmd_bit(pmd, __pgprot(massage_pgprot_pmd(newprot)));
1018 pte_modify(pte_t pte,pgprot_t newprot) pte_modify() argument
1573 pmd_modify(pmd_t pmd,pgprot_t newprot) pmd_modify() argument
/linux/arch/arm64/include/asm/
H A Dpgtable.h1225 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
1239 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
1249 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument
1251 return pte_pmd(pte_modify(pmd_pte(pmd), newprot)); in pmd_modify()
/linux/include/linux/
H A Dhugetlb.h272 unsigned long address, unsigned long end, pgprot_t newprot,
433 unsigned long end, pgprot_t newprot, in hugetlb_change_protection() argument
/linux/tools/testing/vma/include/
H A Ddup.h774 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
776 return __pgprot(pgprot_val(oldprot) | pgprot_val(newprot));
787 pgprot_modify(pgprot_t oldprot,pgprot_t newprot) pgprot_modify() argument
/linux/mm/
H A Dhuge_memory.c2601 pmd_t *pmd, unsigned long addr, pgprot_t newprot, in move_huge_pmd()
2667 entry = pmd_modify(oldpmd, newprot); in change_huge_pmd()
2702 pud_t *pudp, unsigned long addr, pgprot_t newprot, in change_huge_pmd()
2731 entry = pud_modify(oldpud, newprot); in change_huge_pmd()
2661 change_huge_pmd(struct mmu_gather * tlb,struct vm_area_struct * vma,pmd_t * pmd,unsigned long addr,pgprot_t newprot,unsigned long cp_flags) change_huge_pmd() argument
2762 change_huge_pud(struct mmu_gather * tlb,struct vm_area_struct * vma,pud_t * pudp,unsigned long addr,pgprot_t newprot,unsigned long cp_flags) change_huge_pud() argument
H A Dhugetlb.c6386 pgprot_t newprot, unsigned long cp_flags) in hugetlb_change_protection()
6499 pte = huge_pte_modify(old_pte, newprot); in hugetlb_change_protection()
6385 hugetlb_change_protection(struct vm_area_struct * vma,unsigned long address,unsigned long end,pgprot_t newprot,unsigned long cp_flags) hugetlb_change_protection() argument