/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | mcf_pgtable.h | 107 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify() 118 #define __pte_page(pte) ((void *) (pte_val(pte) & PAGE_MASK)) 123 return !pte_val(pte); in pte_none() 128 return pte_val(pte) & CF_PAGE_VALID; in pte_present() 134 pte_val(*ptep) = 0; in pte_clear() 148 __FILE__, __LINE__, pte_val(e)) 160 return pte_val(pte) & CF_PAGE_READABLE; in pte_read() 165 return pte_val(pte) & CF_PAGE_WRITABLE; in pte_write() 170 return pte_val(pt in pte_exec() [all...] |
H A D | motorola_pgtable.h | 92 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify() 106 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) 111 #define pte_none(pte) (!pte_val(pte)) 112 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) 113 #define pte_clear(mm,addr,ptep) ({ pte_val(*(ptep)) = 0; }) 116 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) 117 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) 141 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) 152 static inline int pte_write(pte_t pte) { return !(pte_val(pt [all...] |
H A D | sun3_pgtable.h | 87 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify() 94 (__va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT)) 101 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none() 102 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() 105 pte_val (*ptep) = 0; in pte_clear() 109 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) 111 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; }) 130 pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) 140 static inline int pte_write(pte_t pte) { return pte_val(pt [all...] |
/kernel/linux/linux-6.6/arch/hexagon/include/asm/ |
H A D | pgtable.h | 136 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE) 146 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \ 179 pte_val(*ptep) = _NULL_PTE; in pte_clear() 230 return pte_val(pte) == _NULL_PTE; in pte_none() 238 return pte_val(pte) & _PAGE_PRESENT; in pte_present() 250 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold() 257 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung() 264 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean() 271 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty() 278 return pte_val(pt in pte_young() [all...] |
/kernel/linux/linux-6.6/arch/microblaze/include/asm/ |
H A D | pgtable.h | 109 __FILE__, __LINE__, pte_val(e)) 221 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0) 222 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) 232 ((pte_val(x) - memory_start) >> PAGE_SHIFT)) 235 #define pte_pfn(x) (pte_val(x) >> PFN_PTE_SHIFT) 245 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read() 246 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write() 247 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 248 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 249 static inline int pte_young(pte_t pte) { return pte_val(pt in pte_dirty() [all...] |
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 116 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify() 130 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) 135 #define pte_none(pte) (!pte_val(pte)) 136 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) 137 #define pte_clear(mm,addr,ptep) ({ pte_val(*(ptep)) = 0; }) 139 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) 140 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) 163 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) 174 static inline int pte_write(pte_t pte) { return !(pte_val(pt [all...] |
H A D | mcf_pgtable.h | 161 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify() 172 #define __pte_page(pte) ((unsigned long) (pte_val(pte) & PAGE_MASK)) 177 return !pte_val(pte); in pte_none() 182 return pte_val(pte) & CF_PAGE_VALID; in pte_present() 188 pte_val(*ptep) = 0; in pte_clear() 203 __FILE__, __LINE__, pte_val(e)) 215 return pte_val(pte) & CF_PAGE_READABLE; in pte_read() 220 return pte_val(pte) & CF_PAGE_WRITABLE; in pte_write() 225 return pte_val(pt in pte_exec() [all...] |
H A D | sun3_pgtable.h | 107 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify() 114 ((unsigned long) __va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT)) 121 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none() 122 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() 125 pte_val (*ptep) = 0; in pte_clear() 128 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) 130 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; }) 148 pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) 158 static inline int pte_write(pte_t pte) { return pte_val(pt [all...] |
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | pgtable.h | 27 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) 28 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) 29 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC) 34 if (pte_val(pteval) & _PAGE_GLOBAL) { in set_pte() 61 pte_val(*buddy) = pte_val(*buddy) | _PAGE_GLOBAL; in set_pte() 75 if (pte_val(*ptep_buddy(ptep)) & _PAGE_GLOBAL) in pte_clear() 92 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() 93 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 94 static inline int pte_dirty(pte_t pte) { return pte_val(pt in pte_young() [all...] |
/kernel/linux/linux-6.6/arch/openrisc/include/asm/ |
H A D | pgtable.h | 203 #define pte_none(x) (!pte_val(x)) 204 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) 205 #define pte_clear(mm, addr, xp) do { pte_val(*(xp)) = 0; } while (0) 217 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read() 218 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() 219 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 220 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 221 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 225 pte_val(pte) &= ~(_PAGE_WRITE); in pte_wrprotect() 231 pte_val(pt in pte_rdprotect() [all...] |
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
H A D | pgtable.h | 163 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE) 173 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \ 206 pte_val(*ptep) = _NULL_PTE; in pte_clear() 253 return pte_val(pte) == _NULL_PTE; in pte_none() 261 return pte_val(pte) & _PAGE_PRESENT; in pte_present() 273 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold() 280 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung() 287 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean() 294 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty() 301 return pte_val(pt in pte_young() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 25 return pte_val(pte) & _PAGE_RW; in pte_write() 31 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 32 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special() 33 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none() 35 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci() 36 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 57 return pte_val(pte) & _PAGE_PRESENT; in pte_present() 62 return pte_val(pte) & _PAGE_PRESENT; in pte_hw_valid() 73 return (pte_val(pte) & _PAGE_USER) == _PAGE_USER; in pte_user() 110 return __pte(pte_val(pt in pte_exprotect() [all...] |
/kernel/linux/linux-6.6/arch/nios2/include/asm/ |
H A D | pgtable.h | 85 { return pte_val(pte) & _PAGE_WRITE; } in pte_write() 87 { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 89 { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 104 return !(pte_val(pte) & ~(_PAGE_GLOBAL|0xf)); in pte_none() 108 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present() 116 pte_val(pte) &= ~_PAGE_WRITE; in pte_wrprotect() 122 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean() 128 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold() 134 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite_novma() 140 pte_val(pt in pte_mkdirty() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 22 return pte_val(pte) & _PAGE_USER; in pte_user() 212 (unsigned long long)pte_val(e)) 325 unsigned long set = pte_val(entry) & in __ptep_set_access_flags() 334 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) 348 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) 352 static inline int pte_write(pte_t pte) { return !!(pte_val(pte) & _PAGE_RW);} in pte_write() 354 static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } in pte_dirty() 355 static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); } in pte_young() 356 static inline int pte_special(pte_t pte) { return !!(pte_val(pt in pte_young() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 61 return pte_val(pte) & _PAGE_USER; in pte_user() 229 (unsigned long long)pte_val(e)) 309 old = pte_val(*p); in pte_update() 354 unsigned long set = pte_val(entry) & in __ptep_set_access_flags() 363 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) 386 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) 391 return pte_val(pte) & _PAGE_SWP_EXCLUSIVE; in pte_swp_exclusive() 396 return __pte(pte_val(pte) | _PAGE_SWP_EXCLUSIVE); in pte_swp_mkexclusive() 401 return __pte(pte_val(pt in pte_swp_clear_exclusive() [all...] |
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
H A D | pgtable.h | 219 #define pte_none(x) (!pte_val(x)) 220 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) 221 #define pte_clear(mm, addr, xp) do { pte_val(*(xp)) = 0; } while (0) 233 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read() 234 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() 235 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 236 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 237 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 241 pte_val(pte) &= ~(_PAGE_WRITE); in pte_wrprotect() 247 pte_val(pt in pte_rdprotect() [all...] |
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | pgtable.h | 110 pr_err("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e)) 282 { pte_t pte; pte_val(pte) = ((type & 0x7f) << 16) | (offset << 24); return pte; } in mk_swap_pte() 286 #define __swp_entry(type, offset) ((swp_entry_t) { pte_val(mk_swap_pte((type), (offset))) }) 287 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) 294 return pte_val(pte) & _PAGE_SWP_EXCLUSIVE; in pte_swp_exclusive() 299 pte_val(pte) |= _PAGE_SWP_EXCLUSIVE; in pte_swp_mkexclusive() 305 pte_val(pte) &= ~_PAGE_SWP_EXCLUSIVE; in pte_swp_clear_exclusive() 311 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) 312 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) 313 #define pte_no_exec(pte) (pte_val(pt [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 45 return pte_val(pte) & _PAGE_RW; in pte_write() 51 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 52 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special() 53 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none() 55 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci() 56 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 77 return pte_val(pte) & _PAGE_PRESENT; in pte_present() 82 return pte_val(pte) & _PAGE_PRESENT; in pte_hw_valid() 93 return (pte_val(pte) & _PAGE_USER) == _PAGE_USER; in pte_user() 127 return pte_val(pt in pte_pfn() [all...] |
/kernel/linux/linux-6.6/arch/csky/include/asm/ |
H A D | pgtable.h | 36 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) 37 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) 42 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) 163 pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_DIRTY); in pte_wrprotect() 169 pte_val(pte) &= ~(_PAGE_MODIFIED|_PAGE_DIRTY); in pte_mkclean() 175 pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_VALID); in pte_mkold() 181 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite_novma() 182 if (pte_val(pte) & _PAGE_MODIFIED) in pte_mkwrite_novma() 183 pte_val(pte) |= _PAGE_DIRTY; in pte_mkwrite_novma() 189 pte_val(pt in pte_mkdirty() [all...] |
/kernel/linux/linux-5.10/arch/s390/mm/ |
H A D | hugetlbpage.c | 49 rste = pte_val(pte) & PAGE_MASK; in __pte_to_rste() 50 rste |= move_set_bit(pte_val(pte), _PAGE_READ, in __pte_to_rste() 52 rste |= move_set_bit(pte_val(pte), _PAGE_WRITE, in __pte_to_rste() 54 rste |= move_set_bit(pte_val(pte), _PAGE_INVALID, in __pte_to_rste() 56 rste |= move_set_bit(pte_val(pte), _PAGE_PROTECT, in __pte_to_rste() 58 rste |= move_set_bit(pte_val(pte), _PAGE_DIRTY, in __pte_to_rste() 60 rste |= move_set_bit(pte_val(pte), _PAGE_YOUNG, in __pte_to_rste() 63 rste |= move_set_bit(pte_val(pte), _PAGE_SOFT_DIRTY, in __pte_to_rste() 66 rste |= move_set_bit(pte_val(pte), _PAGE_NOEXEC, in __pte_to_rste() 104 pte_val(pt in __rste_to_pte() [all...] |
/kernel/linux/linux-6.6/arch/alpha/include/asm/ |
H A D | pgtable.h | 192 #define pte_pfn(pte) (pte_val(pte) >> PFN_PTE_SHIFT) 199 pte_val(pte) = (page_to_pfn(page) << 32) | pgprot_val(pgprot); \ 204 { pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; } in pfn_pte() 207 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify() 231 extern inline int pte_none(pte_t pte) { return !pte_val(pte); } in pte_none() 232 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present() 235 pte_val(*ptep) = 0; in pte_clear() 252 extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } in pte_write() 253 extern inline int pte_dirty(pte_t pte) { return pte_val(pt in pte_write() [all...] |
/kernel/linux/linux-6.6/arch/xtensa/include/asm/ |
H A D | pgtable.h | 209 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) 235 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) 237 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) 240 (((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) \ 241 || ((pte_val(pte) & _PAGE_ATTRIB_MASK) == _PAGE_NONE)) 251 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } in pte_write() 252 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 253 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 256 { pte_val(pte) &= ~(_PAGE_WRITABLE | _PAGE_HW_WRITE); return pte; } in pte_wrprotect() 258 { pte_val(pt in pte_mkclean() [all...] |
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | pgtable.h | 162 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) 163 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) 164 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC) 175 if (pte_val(pteval) & _PAGE_GLOBAL) { 195 if (pte_val(*ptep_buddy(ptep)) & _PAGE_GLOBAL) 227 pte = __pte(pte_val(pte) + (1UL << PFN_PTE_SHIFT)); 275 return pte_val(pte) & _PAGE_SPECIAL; 280 pte_val(pte) |= _PAGE_SPECIAL; 355 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } 356 static inline int pte_dirty(pte_t pte) { return pte_val(pt [all...] |
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
H A D | pgtable.h | 106 { return pte_val(pte) & _PAGE_WRITE; } in pte_write() 108 { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() 110 { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() 125 return !(pte_val(pte) & ~(_PAGE_GLOBAL|0xf)); in pte_none() 129 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present() 137 pte_val(pte) &= ~_PAGE_WRITE; in pte_wrprotect() 143 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean() 149 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold() 155 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite() 161 pte_val(pt in pte_mkdirty() [all...] |
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | pgtable.h | 214 return (pte_val(pte) >> _PAGE_PFN_SHIFT); in pte_pfn() 229 return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)); in pte_present() 234 return (pte_val(pte) == 0); in pte_none() 239 return pte_val(pte) & _PAGE_WRITE; in pte_write() 244 return pte_val(pte) & _PAGE_EXEC; in pte_exec() 250 && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pte_huge() 255 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty() 260 return pte_val(pte) & _PAGE_ACCESSED; in pte_young() 265 return pte_val(pte) & _PAGE_SPECIAL; in pte_special() 272 return __pte(pte_val(pt in pte_wrprotect() [all...] |