/linux-3.4.99/mm/ |
D | mprotect.c | 32 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument 34 return newprot; in pgprot_modify() 39 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pte_range() argument 53 ptent = pte_modify(ptent, newprot); in change_pte_range() 82 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pmd_range() argument 94 else if (change_huge_pmd(vma, pmd, addr, newprot)) in change_pmd_range() 100 change_pte_range(vma->vm_mm, pmd, addr, next, newprot, in change_pmd_range() 106 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pud_range() argument 117 change_pmd_range(vma, pud, addr, next, newprot, in change_pud_range() 123 unsigned long addr, unsigned long end, pgprot_t newprot, in change_protection() argument [all …]
|
/linux-3.4.99/arch/mips/include/asm/ |
D | pgtable.h | 349 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 353 pte.pte_low |= pgprot_val(newprot); in pte_modify() 354 pte.pte_high |= pgprot_val(newprot) & 0x3f; in pte_modify() 358 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 360 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/linux-3.4.99/arch/tile/include/asm/ |
D | pgtable.h | 161 #define pgprot_modify(oldprot, newprot) \ argument 162 (pgprot_t) { ((oldprot).val & ~_PAGE_ALL) | (newprot).val } 313 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 315 return pfn_pte(hv_pte_get_pfn(pte), newprot); in pte_modify()
|
/linux-3.4.99/arch/x86/include/asm/ |
D | pgtable.h | 323 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 332 val |= massage_pgprot(newprot) & ~_PAGE_CHG_MASK; in pte_modify() 337 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() argument 342 val |= massage_pgprot(newprot) & ~_HPAGE_CHG_MASK; in pmd_modify() 349 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument 352 pgprotval_t addbits = pgprot_val(newprot); in pgprot_modify()
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | pgtable.h | 73 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 75 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/linux-3.4.99/arch/cris/include/asm/ |
D | pgtable.h | 197 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 198 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|
/linux-3.4.99/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 106 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 108 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
D | motorola_pgtable.h | 103 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()
|
D | mcf_pgtable.h | 159 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()
|
/linux-3.4.99/arch/sh/include/asm/ |
D | pgtable_32.h | 396 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 399 pte.pte_low |= pgprot_val(newprot); in pte_modify() 402 pte.pte_high |= pgprot_val(newprot) >> 32; in pte_modify()
|
D | pgtable_64.h | 300 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 301 { set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot))); return pte; } in pte_modify()
|
/linux-3.4.99/arch/sparc/include/asm/ |
D | pgtable_32.h | 281 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 282 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 285 pgprot_val(newprot)); in pte_modify()
|
/linux-3.4.99/arch/unicore32/include/asm/ |
D | pgtable.h | 243 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 246 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/linux-3.4.99/arch/m32r/include/asm/ |
D | pgtable.h | 292 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 295 | pgprot_val(newprot))); in pte_modify()
|
/linux-3.4.99/include/linux/ |
D | hugetlb.h | 80 unsigned long address, unsigned long end, pgprot_t newprot); 126 #define hugetlb_change_protection(vma, address, end, newprot) argument
|
/linux-3.4.99/arch/avr32/include/asm/ |
D | pgtable.h | 294 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 297 | pgprot_val(newprot))); in pte_modify()
|
/linux-3.4.99/arch/score/include/asm/ |
D | pgtable.h | 261 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 263 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/linux-3.4.99/arch/xtensa/include/asm/ |
D | pgtable.h | 249 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 251 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
|
/linux-3.4.99/arch/um/include/asm/ |
D | pgtable.h | 300 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 302 pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); in pte_modify()
|
/linux-3.4.99/arch/arm/include/asm/ |
D | pgtable.h | 252 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 255 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/linux-3.4.99/arch/openrisc/include/asm/ |
D | pgtable.h | 336 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 338 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/linux-3.4.99/arch/alpha/include/asm/ |
D | pgtable.h | 223 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()
|
/linux-3.4.99/arch/mn10300/include/asm/ |
D | pgtable.h | 404 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 407 pte_val(pte) |= pgprot_val(newprot); in pte_modify()
|
/linux-3.4.99/arch/microblaze/include/asm/ |
D | pgtable.h | 396 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 398 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
|
/linux-3.4.99/arch/parisc/include/asm/ |
D | pgtable.h | 375 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument 376 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
|