/linux-master/arch/arc/include/asm/ |
H A D | hugepage.h | 49 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 55 return __pmd((pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HW_SZ)) | pgprot_val(newprot));
|
H A D | pgtable-bits-arcv2.h | 98 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 100 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot));
|
/linux-master/mm/ |
H A D | mprotect.c | 85 unsigned long end, pgprot_t newprot, unsigned long cp_flags) 167 ptent = pte_modify(oldpte, newprot); 357 unsigned long end, pgprot_t newprot, unsigned long cp_flags) 408 addr, newprot, cp_flags); 422 ret = change_pte_range(tlb, vma, pmd, addr, next, newprot, 441 unsigned long end, pgprot_t newprot, unsigned long cp_flags) 455 pages += change_pmd_range(tlb, vma, pud, addr, next, newprot, 464 unsigned long end, pgprot_t newprot, unsigned long cp_flags) 478 pages += change_pud_range(tlb, vma, p4d, addr, next, newprot, 487 unsigned long end, pgprot_t newprot, unsigne 83 change_pte_range(struct mmu_gather *tlb, struct vm_area_struct *vma, pmd_t *pmd, unsigned long addr, unsigned long end, pgprot_t newprot, unsigned long cp_flags) argument 355 change_pmd_range(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud, unsigned long addr, unsigned long end, pgprot_t newprot, unsigned long cp_flags) argument 439 change_pud_range(struct mmu_gather *tlb, struct vm_area_struct *vma, p4d_t *p4d, unsigned long addr, unsigned long end, pgprot_t newprot, unsigned long cp_flags) argument 462 change_p4d_range(struct mmu_gather *tlb, struct vm_area_struct *vma, pgd_t *pgd, unsigned long addr, unsigned long end, pgprot_t newprot, unsigned long cp_flags) argument 485 change_protection_range(struct mmu_gather *tlb, struct vm_area_struct *vma, unsigned long addr, unsigned long end, pgprot_t newprot, unsigned long cp_flags) argument 519 pgprot_t newprot = vma->vm_page_prot; local [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | hugetlb.h | 122 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) argument 124 return pte_modify(pte, newprot);
|
/linux-master/include/asm-generic/ |
H A D | hugetlb.h | 40 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) argument 42 return pte_modify(pte, newprot);
|
/linux-master/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; 725 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 728 (pgprot_val(newprot) [all...] |
/linux-master/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) argument 305 pgprot_val(newprot));
|
/linux-master/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 90 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 92 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot);
|
H A D | mcf_pgtable.h | 105 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 107 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot);
|
H A D | sun3_pgtable.h | 85 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 87 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot);
|
/linux-master/arch/csky/include/asm/ |
H A D | pgtable.h | 257 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 260 (pgprot_val(newprot)));
|
/linux-master/arch/um/include/asm/ |
H A D | pgtable.h | 271 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 273 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot);
|
/linux-master/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 254 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 256 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot));
|
/linux-master/arch/arm/include/asm/ |
H A D | pgtable-3level.h | 224 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 228 pmd_val(pmd) = (pmd_val(pmd) & ~mask) | (pgprot_val(newprot) & mask);
|
H A D | pgtable.h | 270 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 274 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask);
|
/linux-master/arch/nios2/include/asm/ |
H A D | pgtable.h | 150 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 154 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask);
|
/linux-master/include/linux/ |
H A D | pgtable.h | 1280 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) argument 1283 newprot = pgprot_noncached(newprot); 1285 newprot = pgprot_writecombine(newprot); 1287 newprot = pgprot_device(newprot); 1288 return newprot;
|
/linux-master/arch/sh/include/asm/ |
H A D | pgtable_32.h | 391 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 394 pte.pte_low |= pgprot_val(newprot); 397 pte.pte_high |= pgprot_val(newprot) >> 32;
|
/linux-master/arch/loongarch/include/asm/ |
H A D | pgtable.h | 446 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 449 (pgprot_val(newprot) & ~_PAGE_CHG_MASK)); 569 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 572 (pgprot_val(newprot) & ~_HPAGE_CHG_MASK);
|
/linux-master/arch/openrisc/include/asm/ |
H A D | pgtable.h | 312 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 314 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot);
|
/linux-master/arch/xtensa/include/asm/ |
H A D | pgtable.h | 284 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 286 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot));
|
/linux-master/arch/alpha/include/asm/ |
H A D | pgtable.h | 206 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 207 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; }
|
/linux-master/arch/microblaze/include/asm/ |
H A D | pgtable.h | 296 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 298 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot);
|
/linux-master/arch/x86/include/asm/ |
H A D | pgtable.h | 795 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 802 * the newprot (if present): 805 val |= check_pgprot(newprot) & ~_PAGE_CHG_MASK; 816 * out any Dirty bit passed in newprot. Handle the second case by 828 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) argument 834 val |= check_pgprot(newprot) & ~_HPAGE_CHG_MASK; 845 * out any Dirty bit passed in newprot. Handle the second case by 862 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) argument 865 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK;
|
/linux-master/arch/parisc/include/asm/ |
H A D | pgtable.h | 363 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument 364 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; }
|