Lines Matching refs:pgprot_val
528 return __pte(pte_val(pte) & ~pgprot_val(prot)); in clear_pte_bit()
533 return __pte(pte_val(pte) | pgprot_val(prot)); in set_pte_bit()
538 return __pmd(pmd_val(pmd) & ~pgprot_val(prot)); in clear_pmd_bit()
543 return __pmd(pmd_val(pmd) | pgprot_val(prot)); in set_pmd_bit()
548 return __pud(pud_val(pud) & ~pgprot_val(prot)); in clear_pud_bit()
553 return __pud(pud_val(pud) | pgprot_val(prot)); in set_pud_bit()
900 pte_flags |= pgprot_val(PAGE_KERNEL); in pte_pgprot()
902 pte_flags |= pgprot_val(PAGE_KERNEL_RO); in pte_pgprot()
1277 __pte = __pte(physpage | pgprot_val(pgprot)); in mk_pte_phys()
1480 if (pgprot_val(pgprot) == pgprot_val(PAGE_NONE)) in massage_pgprot_pmd()
1481 return pgprot_val(SEGMENT_NONE); in massage_pgprot_pmd()
1482 if (pgprot_val(pgprot) == pgprot_val(PAGE_RO)) in massage_pgprot_pmd()
1483 return pgprot_val(SEGMENT_RO); in massage_pgprot_pmd()
1484 if (pgprot_val(pgprot) == pgprot_val(PAGE_RX)) in massage_pgprot_pmd()
1485 return pgprot_val(SEGMENT_RX); in massage_pgprot_pmd()
1486 if (pgprot_val(pgprot) == pgprot_val(PAGE_RW)) in massage_pgprot_pmd()
1487 return pgprot_val(SEGMENT_RW); in massage_pgprot_pmd()
1488 return pgprot_val(SEGMENT_RWX); in massage_pgprot_pmd()