Home
last modified time | relevance | path

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

12

/linux-3.4.99/mm/
Dmprotect.c32 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/
Dpgtable.h349 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/
Dpgtable.h161 #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/
Dpgtable.h323 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/
Dpgtable.h73 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/
Dpgtable.h197 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/
Dsun3_pgtable.h106 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()
Dmotorola_pgtable.h103 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()
Dmcf_pgtable.h159 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/
Dpgtable_32.h396 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()
Dpgtable_64.h300 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/
Dpgtable_32.h281 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/
Dpgtable.h243 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/
Dpgtable.h292 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/
Dhugetlb.h80 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/
Dpgtable.h294 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/
Dpgtable.h261 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/
Dpgtable.h249 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/
Dpgtable.h300 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/
Dpgtable.h252 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/
Dpgtable.h336 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/
Dpgtable.h223 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/
Dpgtable.h404 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/
Dpgtable.h396 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/
Dpgtable.h375 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()

12