Lines Matching refs:__pgprot

407 #define PAGE_NONE	__pgprot(_PAGE_PRESENT | _PAGE_INVALID | _PAGE_PROTECT)
408 #define PAGE_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | \
410 #define PAGE_RX __pgprot(_PAGE_PRESENT | _PAGE_READ | \
412 #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
414 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
417 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
419 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
421 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \
423 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
436 #define SEGMENT_NONE __pgprot(_SEGMENT_ENTRY_INVALID | \
438 #define SEGMENT_RO __pgprot(_SEGMENT_ENTRY_PROTECT | \
441 #define SEGMENT_RX __pgprot(_SEGMENT_ENTRY_PROTECT | \
443 #define SEGMENT_RW __pgprot(_SEGMENT_ENTRY_READ | \
446 #define SEGMENT_RWX __pgprot(_SEGMENT_ENTRY_READ | \
448 #define SEGMENT_KERNEL __pgprot(_SEGMENT_ENTRY | \
455 #define SEGMENT_KERNEL_RO __pgprot(_SEGMENT_ENTRY | \
461 #define SEGMENT_KERNEL_EXEC __pgprot(_SEGMENT_ENTRY | \
472 #define REGION3_KERNEL __pgprot(_REGION_ENTRY_TYPE_R3 | \
479 #define REGION3_KERNEL_RO __pgprot(_REGION_ENTRY_TYPE_R3 | \
485 #define REGION3_KERNEL_EXEC __pgprot(_REGION_ENTRY_TYPE_R3 | \
843 return set_pte_bit(pte, __pgprot(_PAGE_SWP_EXCLUSIVE)); in pte_swp_mkexclusive()
848 return clear_pte_bit(pte, __pgprot(_PAGE_SWP_EXCLUSIVE)); in pte_swp_clear_exclusive()
859 return set_pte_bit(pte, __pgprot(_PAGE_SOFT_DIRTY)); in pte_mksoft_dirty()
865 return clear_pte_bit(pte, __pgprot(_PAGE_SOFT_DIRTY)); in pte_clear_soft_dirty()
876 return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_SOFT_DIRTY)); in pmd_mksoft_dirty()
881 return clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_SOFT_DIRTY)); in pmd_clear_soft_dirty()
925 return __pgprot(pte_flags); in pte_pgprot()
991 pte = clear_pte_bit(pte, __pgprot(~_PAGE_CHG_MASK)); in pte_modify()
998 pte = clear_pte_bit(pte, __pgprot(_PAGE_INVALID)); in pte_modify()
1004 pte = clear_pte_bit(pte, __pgprot(_PAGE_PROTECT)); in pte_modify()
1010 pte = clear_pte_bit(pte, __pgprot(_PAGE_WRITE)); in pte_wrprotect()
1011 return set_pte_bit(pte, __pgprot(_PAGE_PROTECT)); in pte_wrprotect()
1016 pte = set_pte_bit(pte, __pgprot(_PAGE_WRITE)); in pte_mkwrite_novma()
1018 pte = clear_pte_bit(pte, __pgprot(_PAGE_PROTECT)); in pte_mkwrite_novma()
1024 pte = clear_pte_bit(pte, __pgprot(_PAGE_DIRTY)); in pte_mkclean()
1025 return set_pte_bit(pte, __pgprot(_PAGE_PROTECT)); in pte_mkclean()
1030 pte = set_pte_bit(pte, __pgprot(_PAGE_DIRTY | _PAGE_SOFT_DIRTY)); in pte_mkdirty()
1032 pte = clear_pte_bit(pte, __pgprot(_PAGE_PROTECT)); in pte_mkdirty()
1038 pte = clear_pte_bit(pte, __pgprot(_PAGE_YOUNG)); in pte_mkold()
1039 return set_pte_bit(pte, __pgprot(_PAGE_INVALID)); in pte_mkold()
1044 pte = set_pte_bit(pte, __pgprot(_PAGE_YOUNG)); in pte_mkyoung()
1046 pte = clear_pte_bit(pte, __pgprot(_PAGE_INVALID)); in pte_mkyoung()
1052 return set_pte_bit(pte, __pgprot(_PAGE_SPECIAL)); in pte_mkspecial()
1058 return set_pte_bit(pte, __pgprot(_PAGE_LARGE)); in pte_mkhuge()
1335 entry = clear_pte_bit(entry, __pgprot(_PAGE_UNUSED)); in set_ptes()
1367 __pte = clear_pte_bit(__pte, __pgprot(_PAGE_NOEXEC)); in mk_pte_phys()
1507 pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_WRITE)); in pmd_wrprotect()
1508 return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT)); in pmd_wrprotect()
1513 pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_WRITE)); in pmd_mkwrite_novma()
1515 pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT)); in pmd_mkwrite_novma()
1521 pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_DIRTY)); in pmd_mkclean()
1522 return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT)); in pmd_mkclean()
1527 pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_DIRTY | _SEGMENT_ENTRY_SOFT_DIRTY)); in pmd_mkdirty()
1529 pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT)); in pmd_mkdirty()
1535 pud = clear_pud_bit(pud, __pgprot(_REGION3_ENTRY_WRITE)); in pud_wrprotect()
1536 return set_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT)); in pud_wrprotect()
1541 pud = set_pud_bit(pud, __pgprot(_REGION3_ENTRY_WRITE)); in pud_mkwrite()
1543 pud = clear_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT)); in pud_mkwrite()
1549 pud = clear_pud_bit(pud, __pgprot(_REGION3_ENTRY_DIRTY)); in pud_mkclean()
1550 return set_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT)); in pud_mkclean()
1555 pud = set_pud_bit(pud, __pgprot(_REGION3_ENTRY_DIRTY | _REGION3_ENTRY_SOFT_DIRTY)); in pud_mkdirty()
1557 pud = clear_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT)); in pud_mkdirty()
1581 pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_YOUNG)); in pmd_mkyoung()
1583 pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_INVALID)); in pmd_mkyoung()
1589 pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_YOUNG)); in pmd_mkold()
1590 return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_INVALID)); in pmd_mkold()
1603 pmd = set_pmd_bit(pmd, __pgprot(massage_pgprot_pmd(newprot))); in pmd_modify()
1605 pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT)); in pmd_modify()
1607 pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_INVALID)); in pmd_modify()
1735 entry = clear_pmd_bit(entry, __pgprot(_SEGMENT_ENTRY_NOEXEC)); in set_pmd_at()
1741 pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_LARGE)); in pmd_mkhuge()
1742 pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_YOUNG)); in pmd_mkhuge()
1743 return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT)); in pmd_mkhuge()