pte_val 77 arch/alpha/include/asm/mmzone.h #define pte_pfn(pte) (pte_val(pte) >> 32) pte_val 85 arch/alpha/include/asm/mmzone.h pte_val(pte) = pfn | pgprot_val(pgprot); \ pte_val 95 arch/alpha/include/asm/mmzone.h kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \ pte_val 209 arch/alpha/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> 32) pte_val 215 arch/alpha/include/asm/pgtable.h pte_val(pte) = (page_to_pfn(page) << 32) | pgprot_val(pgprot); \ pte_val 221 arch/alpha/include/asm/pgtable.h { pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; } pte_val 224 arch/alpha/include/asm/pgtable.h { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } pte_val 247 arch/alpha/include/asm/pgtable.h extern inline int pte_none(pte_t pte) { return !pte_val(pte); } pte_val 248 arch/alpha/include/asm/pgtable.h extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } pte_val 251 arch/alpha/include/asm/pgtable.h pte_val(*ptep) = 0; pte_val 268 arch/alpha/include/asm/pgtable.h extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } pte_val 269 arch/alpha/include/asm/pgtable.h extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 270 arch/alpha/include/asm/pgtable.h extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 273 arch/alpha/include/asm/pgtable.h extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } pte_val 274 arch/alpha/include/asm/pgtable.h extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~(__DIRTY_BITS); return pte; } pte_val 275 arch/alpha/include/asm/pgtable.h extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~(__ACCESS_BITS); return pte; } pte_val 276 arch/alpha/include/asm/pgtable.h extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_FOW; return pte; } pte_val 277 arch/alpha/include/asm/pgtable.h extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= __DIRTY_BITS; return pte; } pte_val 278 arch/alpha/include/asm/pgtable.h extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= __ACCESS_BITS; return pte; } pte_val 339 arch/alpha/include/asm/pgtable.h { pte_t pte; pte_val(pte) = (type << 32) | (offset << 40); return pte; } pte_val 343 arch/alpha/include/asm/pgtable.h #define __swp_entry(type, off) ((swp_entry_t) { pte_val(mk_swap_pte((type), (off))) }) pte_val 344 arch/alpha/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 352 arch/alpha/include/asm/pgtable.h printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 58 arch/alpha/mm/init.c = pte_val(mk_pte(virt_to_page(ret), PAGE_KERNEL)); pte_val 21 arch/arc/include/asm/hugepage.h return __pmd(pte_val(pte)); pte_val 52 arch/arc/include/asm/page.h #define pte_pgprot(x) __pgprot(pte_val(x)) pte_val 244 arch/arc/include/asm/pgtable.h pr_crit("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 270 arch/arc/include/asm/pgtable.h #define pte_none(x) (!pte_val(x)) pte_val 271 arch/arc/include/asm/pgtable.h #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) pte_val 284 arch/arc/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) pte_val 299 arch/arc/include/asm/pgtable.h #define pte_read(pte) (pte_val(pte) & _PAGE_READ) pte_val 300 arch/arc/include/asm/pgtable.h #define pte_write(pte) (pte_val(pte) & _PAGE_WRITE) pte_val 301 arch/arc/include/asm/pgtable.h #define pte_dirty(pte) (pte_val(pte) & _PAGE_DIRTY) pte_val 302 arch/arc/include/asm/pgtable.h #define pte_young(pte) (pte_val(pte) & _PAGE_ACCESSED) pte_val 303 arch/arc/include/asm/pgtable.h #define pte_special(pte) (pte_val(pte) & _PAGE_SPECIAL) pte_val 306 arch/arc/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } pte_val 322 arch/arc/include/asm/pgtable.h return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); pte_val 380 arch/arc/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 557 arch/arc/mm/tlb.c pte_val(*ptep) |= (_PAGE_PRESENT | _PAGE_ACCESSED); pte_val 564 arch/arc/mm/tlb.c pd0 = vaddr | asid_or_sasid | (pte_val(*ptep) & PTE_BITS_IN_PD0); pte_val 573 arch/arc/mm/tlb.c rwx = pte_val(*ptep) & PTE_BITS_RWX; pte_val 575 arch/arc/mm/tlb.c if (pte_val(*ptep) & _PAGE_GLOBAL) pte_val 580 arch/arc/mm/tlb.c pd1 = rwx | (pte_val(*ptep) & PTE_BITS_NON_RWX_IN_PD1); pte_val 600 arch/arc/mm/tlb.c phys_addr_t paddr = pte_val(*ptep) & PAGE_MASK; pte_val 694 arch/arc/mm/tlb.c pte_val(pgtable[0]) = 0; pte_val 695 arch/arc/mm/tlb.c pte_val(pgtable[1]) = 0; pte_val 24 arch/arm/include/asm/hugetlb-3level.h if (pte_val(retval)) pte_val 25 arch/arm/include/asm/hugetlb-3level.h pte_val(retval) |= L_PTE_VALID; pte_val 136 arch/arm/include/asm/kvm_mmu.h pte_val(pte) |= L_PTE_S2_RDWR; pte_val 148 arch/arm/include/asm/kvm_mmu.h pte_val(pte) &= ~L_PTE_XN; pte_val 160 arch/arm/include/asm/kvm_mmu.h pte_val(*pte) = (pte_val(*pte) & ~L_PTE_S2_RDWR) | L_PTE_S2_RDONLY; pte_val 165 arch/arm/include/asm/kvm_mmu.h return (pte_val(*pte) & L_PTE_S2_RDWR) == L_PTE_S2_RDONLY; pte_val 170 arch/arm/include/asm/kvm_mmu.h return !(pte_val(*pte) & L_PTE_XN); pte_val 188 arch/arm/include/asm/pgtable-3level.h #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \ pte_val 189 arch/arm/include/asm/pgtable-3level.h : pte_val(pte_a)) \ pte_val 190 arch/arm/include/asm/pgtable-3level.h == (pte_present(pte_b) ? pte_val(pte_b) & ~PTE_EXT_NG \ pte_val 191 arch/arm/include/asm/pgtable-3level.h : pte_val(pte_b))) pte_val 193 arch/arm/include/asm/pgtable-3level.h #define set_pte_ext(ptep,pte,ext) cpu_set_pte_ext(ptep,__pte(pte_val(pte)|(ext))) pte_val 195 arch/arm/include/asm/pgtable-3level.h #define pte_huge(pte) (pte_val(pte) && !(pte_val(pte) & PTE_TABLE_BIT)) pte_val 196 arch/arm/include/asm/pgtable-3level.h #define pte_mkhuge(pte) (__pte(pte_val(pte) & ~PTE_TABLE_BIT)) pte_val 207 arch/arm/include/asm/pgtable-3level.h pte_val(pte) |= L_PTE_SPECIAL; pte_val 48 arch/arm/include/asm/pgtable-nommu.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 211 arch/arm/include/asm/pgtable.h #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) pte_val 219 arch/arm/include/asm/pgtable.h #define pte_isset(pte, val) ((u32)(val) == (val) ? pte_val(pte) & (val) \ pte_val 220 arch/arm/include/asm/pgtable.h : !!(pte_val(pte) & (val))) pte_val 221 arch/arm/include/asm/pgtable.h #define pte_isclear(pte, val) (!(pte_val(pte) & (val))) pte_val 223 arch/arm/include/asm/pgtable.h #define pte_none(pte) (!pte_val(pte)) pte_val 243 arch/arm/include/asm/pgtable.h return (pte_val(pte) & mask) == needed; pte_val 271 arch/arm/include/asm/pgtable.h pte_val(pte) &= ~pgprot_val(prot); pte_val 277 arch/arm/include/asm/pgtable.h pte_val(pte) |= pgprot_val(prot); pte_val 325 arch/arm/include/asm/pgtable.h pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); pte_val 349 arch/arm/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 746 arch/arm/kernel/traps.c pr_err("%s:%d: bad pte %08llx.\n", file, line, (long long)pte_val(pte)); pte_val 311 arch/arm/mm/dump.c note_page(st, addr, 4, pte_val(*pte), domain); pte_val 52 arch/arm/mm/fault-armv.c if (ret && (pte_val(entry) & L_PTE_MT_MASK) != shared_pte_mask) { pte_val 56 arch/arm/mm/fault-armv.c pte_val(entry) &= ~L_PTE_MT_MASK; pte_val 57 arch/arm/mm/fault-armv.c pte_val(entry) |= shared_pte_mask; pte_val 87 arch/arm/mm/fault.c pr_cont(", *pte=%08llx", (long long)pte_val(*pte)); pte_val 90 arch/arm/mm/fault.c (long long)pte_val(pte[PTE_HWTABLE_PTRS])); pte_val 1628 arch/arm/mm/mmu.c (pte_val(*pte) & L_PTE_MT_MASK) != L_PTE_MT_DEV_SHARED) pte_val 190 arch/arm64/include/asm/kvm_mmu.h pte_val(pte) |= PTE_S2_RDWR; pte_val 208 arch/arm64/include/asm/kvm_mmu.h pte_val(pte) &= ~PTE_S2_XN; pte_val 228 arch/arm64/include/asm/kvm_mmu.h pteval = READ_ONCE(pte_val(*ptep)); pte_val 233 arch/arm64/include/asm/kvm_mmu.h pteval = cmpxchg_relaxed(&pte_val(*ptep), old_pteval, pteval); pte_val 239 arch/arm64/include/asm/kvm_mmu.h return (READ_ONCE(pte_val(*ptep)) & PTE_S2_RDWR) == PTE_S2_RDONLY; pte_val 244 arch/arm64/include/asm/kvm_mmu.h return !(READ_ONCE(pte_val(*ptep)) & PTE_S2_XN); pte_val 50 arch/arm64/include/asm/pgtable.h #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte)) pte_val 58 arch/arm64/include/asm/pgtable.h ((pte_val(pte) & PTE_ADDR_LOW) | ((pte_val(pte) & PTE_ADDR_HIGH) << 36)) pte_val 61 arch/arm64/include/asm/pgtable.h #define __pte_to_phys(pte) (pte_val(pte) & PTE_ADDR_MASK) pte_val 69 arch/arm64/include/asm/pgtable.h #define pte_none(pte) (!pte_val(pte)) pte_val 76 arch/arm64/include/asm/pgtable.h #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) pte_val 77 arch/arm64/include/asm/pgtable.h #define pte_young(pte) (!!(pte_val(pte) & PTE_AF)) pte_val 78 arch/arm64/include/asm/pgtable.h #define pte_special(pte) (!!(pte_val(pte) & PTE_SPECIAL)) pte_val 79 arch/arm64/include/asm/pgtable.h #define pte_write(pte) (!!(pte_val(pte) & PTE_WRITE)) pte_val 80 arch/arm64/include/asm/pgtable.h #define pte_user_exec(pte) (!(pte_val(pte) & PTE_UXN)) pte_val 81 arch/arm64/include/asm/pgtable.h #define pte_cont(pte) (!!(pte_val(pte) & PTE_CONT)) pte_val 82 arch/arm64/include/asm/pgtable.h #define pte_devmap(pte) (!!(pte_val(pte) & PTE_DEVMAP)) pte_val 94 arch/arm64/include/asm/pgtable.h #define pte_hw_dirty(pte) (pte_write(pte) && !(pte_val(pte) & PTE_RDONLY)) pte_val 95 arch/arm64/include/asm/pgtable.h #define pte_sw_dirty(pte) (!!(pte_val(pte) & PTE_DIRTY)) pte_val 98 arch/arm64/include/asm/pgtable.h #define pte_valid(pte) (!!(pte_val(pte) & PTE_VALID)) pte_val 100 arch/arm64/include/asm/pgtable.h ((pte_val(pte) & (PTE_VALID | PTE_USER)) == PTE_VALID) pte_val 102 arch/arm64/include/asm/pgtable.h ((pte_val(pte) & (PTE_VALID | PTE_AF)) == (PTE_VALID | PTE_AF)) pte_val 104 arch/arm64/include/asm/pgtable.h ((pte_val(pte) & (PTE_VALID | PTE_USER)) == (PTE_VALID | PTE_USER)) pte_val 128 arch/arm64/include/asm/pgtable.h pte_val(pte) &= ~pgprot_val(prot); pte_val 134 arch/arm64/include/asm/pgtable.h pte_val(pte) |= pgprot_val(prot); pte_val 265 arch/arm64/include/asm/pgtable.h __func__, pte_val(old_pte), pte_val(pte)); pte_val 268 arch/arm64/include/asm/pgtable.h __func__, pte_val(old_pte), pte_val(pte)); pte_val 285 arch/arm64/include/asm/pgtable.h #define pte_mkhuge(pte) (__pte(pte_val(pte) & ~PTE_TABLE_BIT)) pte_val 308 arch/arm64/include/asm/pgtable.h return __pud(pte_val(pte)); pte_val 323 arch/arm64/include/asm/pgtable.h return __pmd(pte_val(pte)); pte_val 342 arch/arm64/include/asm/pgtable.h return (pte_val(pte) & (PTE_VALID | PTE_PROT_NONE)) == PTE_PROT_NONE; pte_val 665 arch/arm64/include/asm/pgtable.h pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); pte_val 711 arch/arm64/include/asm/pgtable.h pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), pte_val 712 arch/arm64/include/asm/pgtable.h pte_val(old_pte), pte_val(pte)); pte_val 713 arch/arm64/include/asm/pgtable.h } while (pte_val(pte) != pte_val(old_pte)); pte_val 760 arch/arm64/include/asm/pgtable.h return __pte(xchg_relaxed(&pte_val(*ptep), 0)); pte_val 791 arch/arm64/include/asm/pgtable.h pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), pte_val 792 arch/arm64/include/asm/pgtable.h pte_val(old_pte), pte_val(pte)); pte_val 793 arch/arm64/include/asm/pgtable.h } while (pte_val(pte) != pte_val(old_pte)); pte_val 830 arch/arm64/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 302 arch/arm64/mm/dump.c note_page(st, addr, 4, READ_ONCE(pte_val(*ptep))); pte_val 180 arch/arm64/mm/fault.c pr_cont(", pte=%016llx", pte_val(pte)); pte_val 208 arch/arm64/mm/fault.c pte_val(entry) &= PTE_RDONLY | PTE_AF | PTE_WRITE | PTE_DIRTY; pte_val 216 arch/arm64/mm/fault.c pte_val(entry) ^= PTE_RDONLY; pte_val 217 arch/arm64/mm/fault.c pteval = pte_val(pte); pte_val 221 arch/arm64/mm/fault.c pteval |= pte_val(entry); pte_val 223 arch/arm64/mm/fault.c pteval = cmpxchg_relaxed(&pte_val(*ptep), old_pteval, pteval); pte_val 63 arch/arm64/mm/hugetlbpage.c return __pgprot(pte_val(pfn_pte(pfn, __pgprot(0))) ^ pte_val(pte)); pte_val 155 arch/arm64/mm/mmu.c BUG_ON(!pgattr_change_is_safe(pte_val(old_pte), pte_val 156 arch/arm64/mm/mmu.c READ_ONCE(pte_val(*ptep)))); pte_val 47 arch/c6x/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 49 arch/csky/include/asm/pgtable.h #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) pte_val 50 arch/csky/include/asm/pgtable.h #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) pte_val 67 arch/csky/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 195 arch/csky/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_DIRTY); pte_val 201 arch/csky/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_MODIFIED|_PAGE_DIRTY); pte_val 207 arch/csky/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_VALID); pte_val 213 arch/csky/include/asm/pgtable.h pte_val(pte) |= _PAGE_WRITE; pte_val 214 arch/csky/include/asm/pgtable.h if (pte_val(pte) & _PAGE_MODIFIED) pte_val 215 arch/csky/include/asm/pgtable.h pte_val(pte) |= _PAGE_DIRTY; pte_val 221 arch/csky/include/asm/pgtable.h pte_val(pte) |= _PAGE_MODIFIED; pte_val 222 arch/csky/include/asm/pgtable.h if (pte_val(pte) & _PAGE_WRITE) pte_val 223 arch/csky/include/asm/pgtable.h pte_val(pte) |= _PAGE_DIRTY; pte_val 229 arch/csky/include/asm/pgtable.h pte_val(pte) |= _PAGE_ACCESSED; pte_val 230 arch/csky/include/asm/pgtable.h if (pte_val(pte) & _PAGE_READ) pte_val 231 arch/csky/include/asm/pgtable.h pte_val(pte) |= _PAGE_VALID; pte_val 283 arch/csky/include/asm/pgtable.h return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pte_val 16 arch/h8300/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 166 arch/hexagon/include/asm/pgtable.h #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE) pte_val 176 arch/hexagon/include/asm/pgtable.h ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \ pte_val 209 arch/hexagon/include/asm/pgtable.h pte_val(*ptep) = _NULL_PTE; pte_val 283 arch/hexagon/include/asm/pgtable.h return pte_val(pte) == _NULL_PTE; pte_val 291 arch/hexagon/include/asm/pgtable.h return pte_val(pte) & _PAGE_PRESENT; pte_val 303 arch/hexagon/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_ACCESSED; pte_val 310 arch/hexagon/include/asm/pgtable.h pte_val(pte) |= _PAGE_ACCESSED; pte_val 317 arch/hexagon/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_DIRTY; pte_val 324 arch/hexagon/include/asm/pgtable.h pte_val(pte) |= _PAGE_DIRTY; pte_val 331 arch/hexagon/include/asm/pgtable.h return pte_val(pte) & _PAGE_ACCESSED; pte_val 337 arch/hexagon/include/asm/pgtable.h return pte_val(pte) & _PAGE_DIRTY; pte_val 343 arch/hexagon/include/asm/pgtable.h pte_val(pte) &= PAGE_MASK; pte_val 344 arch/hexagon/include/asm/pgtable.h pte_val(pte) |= pgprot_val(prot); pte_val 351 arch/hexagon/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_WRITE; pte_val 358 arch/hexagon/include/asm/pgtable.h pte_val(pte) |= _PAGE_WRITE; pte_val 365 arch/hexagon/include/asm/pgtable.h pte_val(pte) |= _PAGE_EXECUTE; pte_val 372 arch/hexagon/include/asm/pgtable.h return pte_val(pte) & _PAGE_READ; pte_val 378 arch/hexagon/include/asm/pgtable.h return pte_val(pte) & _PAGE_WRITE; pte_val 385 arch/hexagon/include/asm/pgtable.h return pte_val(pte) & _PAGE_EXECUTE; pte_val 389 arch/hexagon/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 398 arch/hexagon/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) pte_val 188 arch/ia64/include/asm/pgtable.h #define pte_ERROR(e) printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 251 arch/ia64/include/asm/pgtable.h ({ pte_t __pte; pte_val(__pte) = ((pfn) << PAGE_SHIFT) | pgprot_val(pgprot); __pte; }) pte_val 254 arch/ia64/include/asm/pgtable.h #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT) pte_val 260 arch/ia64/include/asm/pgtable.h ({ pte_t __pte; pte_val(__pte) = physpage + pgprot_val(pgprot); __pte; }) pte_val 263 arch/ia64/include/asm/pgtable.h (__pte((pte_val(_pte) & ~_PAGE_CHG_MASK) | (pgprot_val(newprot) & _PAGE_CHG_MASK))) pte_val 265 arch/ia64/include/asm/pgtable.h #define pte_none(pte) (!pte_val(pte)) pte_val 266 arch/ia64/include/asm/pgtable.h #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE)) pte_val 267 arch/ia64/include/asm/pgtable.h #define pte_clear(mm,addr,pte) (pte_val(*(pte)) = 0UL) pte_val 269 arch/ia64/include/asm/pgtable.h #define pte_page(pte) virt_to_page(((pte_val(pte) & _PFN_MASK) + PAGE_OFFSET)) pte_val 297 arch/ia64/include/asm/pgtable.h #define pte_write(pte) ((unsigned) (((pte_val(pte) & _PAGE_AR_MASK) >> _PAGE_AR_SHIFT) - 2) <= 4) pte_val 298 arch/ia64/include/asm/pgtable.h #define pte_exec(pte) ((pte_val(pte) & _PAGE_AR_RX) != 0) pte_val 299 arch/ia64/include/asm/pgtable.h #define pte_dirty(pte) ((pte_val(pte) & _PAGE_D) != 0) pte_val 300 arch/ia64/include/asm/pgtable.h #define pte_young(pte) ((pte_val(pte) & _PAGE_A) != 0) pte_val 307 arch/ia64/include/asm/pgtable.h #define pte_wrprotect(pte) (__pte(pte_val(pte) & ~_PAGE_AR_RW)) pte_val 308 arch/ia64/include/asm/pgtable.h #define pte_mkwrite(pte) (__pte(pte_val(pte) | _PAGE_AR_RW)) pte_val 309 arch/ia64/include/asm/pgtable.h #define pte_mkold(pte) (__pte(pte_val(pte) & ~_PAGE_A)) pte_val 310 arch/ia64/include/asm/pgtable.h #define pte_mkyoung(pte) (__pte(pte_val(pte) | _PAGE_A)) pte_val 311 arch/ia64/include/asm/pgtable.h #define pte_mkclean(pte) (__pte(pte_val(pte) & ~_PAGE_D)) pte_val 312 arch/ia64/include/asm/pgtable.h #define pte_mkdirty(pte) (__pte(pte_val(pte) | _PAGE_D)) pte_val 313 arch/ia64/include/asm/pgtable.h #define pte_mkhuge(pte) (__pte(pte_val(pte))) pte_val 326 arch/ia64/include/asm/pgtable.h ((pte_val(pte) & (_PAGE_P | _PAGE_PL_MASK | _PAGE_AR_RX)) == \ pte_val 444 arch/ia64/include/asm/pgtable.h old = pte_val(*ptep); pte_val 445 arch/ia64/include/asm/pgtable.h new = pte_val(pte_wrprotect(__pte (old))); pte_val 456 arch/ia64/include/asm/pgtable.h return pte_val(a) == pte_val(b); pte_val 479 arch/ia64/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 469 arch/ia64/kernel/efi.c pte_val(pfn_pte(__pa(pal_vaddr) >> PAGE_SHIFT, PAGE_KERNEL)), pte_val 1871 arch/ia64/kernel/mca.c pte_val(mk_pte_phys(__pa(cpu_data), PAGE_KERNEL))); pte_val 1882 arch/ia64/kernel/mca.c __this_cpu_write(ia64_mca_pal_pte, pte_val(mk_pte_phys(__pa(pal_vaddr), pte_val 69 arch/ia64/mm/hugetlbpage.c #define mk_pte_huge(entry) { pte_val(entry) |= _PAGE_P; } pte_val 161 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); pte_val 172 arch/m68k/include/asm/mcf_pgtable.h #define __pte_page(pte) ((unsigned long) (pte_val(pte) & PAGE_MASK)) pte_val 177 arch/m68k/include/asm/mcf_pgtable.h return !pte_val(pte); pte_val 182 arch/m68k/include/asm/mcf_pgtable.h return pte_val(pte) & CF_PAGE_VALID; pte_val 188 arch/m68k/include/asm/mcf_pgtable.h pte_val(*ptep) = 0; pte_val 208 arch/m68k/include/asm/mcf_pgtable.h __FILE__, __LINE__, pte_val(e)) pte_val 223 arch/m68k/include/asm/mcf_pgtable.h return pte_val(pte) & CF_PAGE_READABLE; pte_val 228 arch/m68k/include/asm/mcf_pgtable.h return pte_val(pte) & CF_PAGE_WRITABLE; pte_val 233 arch/m68k/include/asm/mcf_pgtable.h return pte_val(pte) & CF_PAGE_EXEC; pte_val 238 arch/m68k/include/asm/mcf_pgtable.h return pte_val(pte) & CF_PAGE_DIRTY; pte_val 243 arch/m68k/include/asm/mcf_pgtable.h return pte_val(pte) & CF_PAGE_ACCESSED; pte_val 253 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) &= ~CF_PAGE_WRITABLE; pte_val 259 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) &= ~CF_PAGE_READABLE; pte_val 265 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) &= ~CF_PAGE_EXEC; pte_val 271 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) &= ~CF_PAGE_DIRTY; pte_val 277 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) &= ~CF_PAGE_ACCESSED; pte_val 283 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) |= CF_PAGE_WRITABLE; pte_val 289 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) |= CF_PAGE_READABLE; pte_val 295 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) |= CF_PAGE_EXEC; pte_val 301 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) |= CF_PAGE_DIRTY; pte_val 307 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) |= CF_PAGE_ACCESSED; pte_val 313 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) |= 0x80 | (pte_val(pte) & ~0x40); pte_val 319 arch/m68k/include/asm/mcf_pgtable.h pte_val(pte) &= ~CF_PAGE_NOCACHE; pte_val 396 arch/m68k/include/asm/mcf_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 405 arch/m68k/include/asm/mcf_pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) pte_val 148 arch/m68k/include/asm/mmu_context.h mmu_write(MMUDR, (pte_val(*pte) & PAGE_MASK) | pte_val 105 arch/m68k/include/asm/motorola_pgtable.h pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); pte_val 125 arch/m68k/include/asm/motorola_pgtable.h #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) pte_val 130 arch/m68k/include/asm/motorola_pgtable.h #define pte_none(pte) (!pte_val(pte)) pte_val 131 arch/m68k/include/asm/motorola_pgtable.h #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) pte_val 132 arch/m68k/include/asm/motorola_pgtable.h #define pte_clear(mm,addr,ptep) ({ pte_val(*(ptep)) = 0; }) pte_val 134 arch/m68k/include/asm/motorola_pgtable.h #define pte_page(pte) virt_to_page(__va(pte_val(pte))) pte_val 135 arch/m68k/include/asm/motorola_pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) pte_val 157 arch/m68k/include/asm/motorola_pgtable.h printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 168 arch/m68k/include/asm/motorola_pgtable.h static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } pte_val 169 arch/m68k/include/asm/motorola_pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 170 arch/m68k/include/asm/motorola_pgtable.h static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 173 arch/m68k/include/asm/motorola_pgtable.h static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } pte_val 174 arch/m68k/include/asm/motorola_pgtable.h static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } pte_val 175 arch/m68k/include/asm/motorola_pgtable.h static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_val 176 arch/m68k/include/asm/motorola_pgtable.h static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_RONLY; return pte; } pte_val 177 arch/m68k/include/asm/motorola_pgtable.h static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } pte_val 178 arch/m68k/include/asm/motorola_pgtable.h static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_val 181 arch/m68k/include/asm/motorola_pgtable.h pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | m68k_pgtable_cachemode; pte_val 186 arch/m68k/include/asm/motorola_pgtable.h pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | m68k_supervisor_cachemode; pte_val 272 arch/m68k/include/asm/motorola_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 38 arch/m68k/include/asm/pgtable_no.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 107 arch/m68k/include/asm/sun3_pgtable.h pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); pte_val 119 arch/m68k/include/asm/sun3_pgtable.h ((unsigned long) __va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT)) pte_val 123 arch/m68k/include/asm/sun3_pgtable.h static inline int pte_none (pte_t pte) { return !pte_val (pte); } pte_val 124 arch/m68k/include/asm/sun3_pgtable.h static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } pte_val 127 arch/m68k/include/asm/sun3_pgtable.h pte_val (*ptep) = 0; pte_val 130 arch/m68k/include/asm/sun3_pgtable.h #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) pte_val 132 arch/m68k/include/asm/sun3_pgtable.h ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; }) pte_val 155 arch/m68k/include/asm/sun3_pgtable.h pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 167 arch/m68k/include/asm/sun3_pgtable.h static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } pte_val 168 arch/m68k/include/asm/sun3_pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } pte_val 169 arch/m68k/include/asm/sun3_pgtable.h static inline int pte_young(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } pte_val 172 arch/m68k/include/asm/sun3_pgtable.h static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } pte_val 173 arch/m68k/include/asm/sun3_pgtable.h static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_MODIFIED; return pte; } pte_val 174 arch/m68k/include/asm/sun3_pgtable.h static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_ACCESSED; return pte; } pte_val 175 arch/m68k/include/asm/sun3_pgtable.h static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= SUN3_PAGE_WRITEABLE; return pte; } pte_val 176 arch/m68k/include/asm/sun3_pgtable.h static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= SUN3_PAGE_MODIFIED; return pte; } pte_val 177 arch/m68k/include/asm/sun3_pgtable.h static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= SUN3_PAGE_ACCESSED; return pte; } pte_val 178 arch/m68k/include/asm/sun3_pgtable.h static inline pte_t pte_mknocache(pte_t pte) { pte_val(pte) |= SUN3_PAGE_NOCACHE; return pte; } pte_val 213 arch/m68k/include/asm/sun3_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 217 arch/m68k/mm/kmap.c pte_val(*pte_dir) = physaddr; pte_val 293 arch/m68k/mm/kmap.c pte_val(*pte_dir) = 0; pte_val 370 arch/m68k/mm/kmap.c pte_val(*pte_dir) = (pte_val(*pte_dir) & _CACHEMASK040) | cmode; pte_val 75 arch/m68k/mm/mcfmmu.c pte_val(pte) = 0; pte_val 147 arch/m68k/mm/mcfmmu.c mmu_write(MMUDR, (pte_val(*pte) & PAGE_MASK) | pte_val 177 arch/m68k/mm/motorola.c pte_val(*pte_dir++) = 0; pte_val 180 arch/m68k/mm/motorola.c pte_val(*pte_dir++) = physaddr; pte_val 196 arch/m68k/mm/motorola.c pte_val(*pte_dir) = physaddr; pte_val 198 arch/m68k/mm/motorola.c pte_val(*pte_dir) = 0; pte_val 37 arch/m68k/mm/sun3kmap.c pte = pte_val(ptep); pte_val 81 arch/m68k/mm/sun3mmu.c pte_val (pte) = 0; pte_val 34 arch/m68k/sun3/dvma.c pte = pte_val(ptep); pte_val 76 arch/m68k/sun3/mmu_emu.c unsigned long val = pte_val (pte); pte_val 94 arch/m68k/sun3/mmu_emu.c unsigned long val = pte_val (pte); pte_val 398 arch/m68k/sun3/mmu_emu.c if (!(pte_val (*pte) & SUN3_PAGE_VALID)) pte_val 406 arch/m68k/sun3/mmu_emu.c sun3_put_pte (vaddr&PAGE_MASK, pte_val (*pte)); pte_val 414 arch/m68k/sun3/mmu_emu.c if (pte_val (*pte) & SUN3_PAGE_WRITEABLE) pte_val 415 arch/m68k/sun3/mmu_emu.c pte_val (*pte) |= (SUN3_PAGE_ACCESSED pte_val 420 arch/m68k/sun3/mmu_emu.c pte_val (*pte) |= SUN3_PAGE_ACCESSED; pte_val 42 arch/microblaze/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 167 arch/microblaze/include/asm/pgtable.h __FILE__, __LINE__, pte_val(e)) pte_val 296 arch/microblaze/include/asm/pgtable.h #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0) pte_val 297 arch/microblaze/include/asm/pgtable.h #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) pte_val 307 arch/microblaze/include/asm/pgtable.h ((pte_val(x) - memory_start) >> PAGE_SHIFT)) pte_val 310 arch/microblaze/include/asm/pgtable.h #define pte_pfn(x) (pte_val(x) >> PFN_SHIFT_OFFSET) pte_val 332 arch/microblaze/include/asm/pgtable.h static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } pte_val 333 arch/microblaze/include/asm/pgtable.h static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } pte_val 334 arch/microblaze/include/asm/pgtable.h static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } pte_val 335 arch/microblaze/include/asm/pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 336 arch/microblaze/include/asm/pgtable.h static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 338 arch/microblaze/include/asm/pgtable.h static inline void pte_uncache(pte_t pte) { pte_val(pte) |= _PAGE_NO_CACHE; } pte_val 339 arch/microblaze/include/asm/pgtable.h static inline void pte_cache(pte_t pte) { pte_val(pte) &= ~_PAGE_NO_CACHE; } pte_val 342 arch/microblaze/include/asm/pgtable.h { pte_val(pte) &= ~_PAGE_USER; return pte; } pte_val 344 arch/microblaze/include/asm/pgtable.h { pte_val(pte) &= ~(_PAGE_RW | _PAGE_HWWRITE); return pte; } pte_val 346 arch/microblaze/include/asm/pgtable.h { pte_val(pte) &= ~_PAGE_EXEC; return pte; } pte_val 348 arch/microblaze/include/asm/pgtable.h { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HWWRITE); return pte; } pte_val 350 arch/microblaze/include/asm/pgtable.h { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_val 353 arch/microblaze/include/asm/pgtable.h { pte_val(pte) |= _PAGE_USER; return pte; } pte_val 355 arch/microblaze/include/asm/pgtable.h { pte_val(pte) |= _PAGE_USER | _PAGE_EXEC; return pte; } pte_val 357 arch/microblaze/include/asm/pgtable.h { pte_val(pte) |= _PAGE_RW; return pte; } pte_val 359 arch/microblaze/include/asm/pgtable.h { pte_val(pte) |= _PAGE_DIRTY; return pte; } pte_val 361 arch/microblaze/include/asm/pgtable.h { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_val 371 arch/microblaze/include/asm/pgtable.h pte_val(pte) = physpage | pgprot_val(pgprot); pte_val 378 arch/microblaze/include/asm/pgtable.h pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \ pte_val 385 arch/microblaze/include/asm/pgtable.h pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); pte_val 510 arch/microblaze/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 2 }) pte_val 229 arch/microblaze/mm/pgtable.c pa = (pte_val(*pte) & PAGE_MASK) | (addr & ~PAGE_MASK); pte_val 122 arch/mips/bcm47xx/prom.c #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1) pte_val 47 arch/mips/include/asm/hugetlb.h pte_val(clear) = (unsigned long)invalid_pte_table; pte_val 62 arch/mips/include/asm/hugetlb.h unsigned long val = pte_val(pte) & ~_PAGE_GLOBAL; pte_val 157 arch/mips/include/asm/page.h #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK) pte_val 112 arch/mips/include/asm/pgtable-32.h printk("%s:%d: bad pte %016Lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 115 arch/mips/include/asm/pgtable-32.h printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 230 arch/mips/include/asm/pgtable-32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 264 arch/mips/include/asm/pgtable-32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 162 arch/mips/include/asm/pgtable-64.h printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 373 arch/mips/include/asm/pgtable-64.h { pte_t pte; pte_val(pte) = (type << 16) | (offset << 24); return pte; } pte_val 377 arch/mips/include/asm/pgtable-64.h #define __swp_entry(type, offset) ((swp_entry_t) { pte_val(mk_swap_pte((type), (offset))) }) pte_val 378 arch/mips/include/asm/pgtable-64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 198 arch/mips/include/asm/pgtable-bits.h static inline uint64_t pte_to_entrylo(unsigned long pte_val) pte_val 213 arch/mips/include/asm/pgtable-bits.h return (pte_val >> _PAGE_GLOBAL_SHIFT) | pte_val 214 arch/mips/include/asm/pgtable-bits.h ((pte_val & (_PAGE_NO_EXEC | _PAGE_NO_READ)) << sa); pte_val 218 arch/mips/include/asm/pgtable-bits.h return pte_val >> _PAGE_GLOBAL_SHIFT; pte_val 190 arch/mips/include/asm/pgtable.h #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) pte_val 191 arch/mips/include/asm/pgtable.h #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) pte_val 192 arch/mips/include/asm/pgtable.h #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC) pte_val 203 arch/mips/include/asm/pgtable.h if (pte_val(pteval) & _PAGE_GLOBAL) { pte_val 223 arch/mips/include/asm/pgtable.h if (pte_val(*ptep_buddy(ptep)) & _PAGE_GLOBAL) pte_val 348 arch/mips/include/asm/pgtable.h static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } pte_val 349 arch/mips/include/asm/pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; } pte_val 350 arch/mips/include/asm/pgtable.h static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 351 arch/mips/include/asm/pgtable.h static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } pte_val 355 arch/mips/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); pte_val 361 arch/mips/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_MODIFIED | _PAGE_SILENT_WRITE); pte_val 367 arch/mips/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_ACCESSED | _PAGE_SILENT_READ); pte_val 373 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_WRITE; pte_val 374 arch/mips/include/asm/pgtable.h if (pte_val(pte) & _PAGE_MODIFIED) pte_val 375 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_SILENT_WRITE; pte_val 381 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_MODIFIED; pte_val 382 arch/mips/include/asm/pgtable.h if (pte_val(pte) & _PAGE_WRITE) pte_val 383 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_SILENT_WRITE; pte_val 389 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_ACCESSED; pte_val 390 arch/mips/include/asm/pgtable.h if (!(pte_val(pte) & _PAGE_NO_READ)) pte_val 391 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_SILENT_READ; pte_val 397 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_SPECIAL; pte_val 402 arch/mips/include/asm/pgtable.h static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; } pte_val 406 arch/mips/include/asm/pgtable.h pte_val(pte) |= _PAGE_HUGE; pte_val 468 arch/mips/include/asm/pgtable.h return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pte_val 322 arch/mips/kvm/mmu.c if (pte_val(new) == pte_val(old)) \ pte_val 261 arch/mips/mm/c-r3k.c if (!(pte_val(*ptep) & _PAGE_PRESENT)) pte_val 678 arch/mips/mm/c-r4k.c if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) pte_val 194 arch/mips/mm/c-tx39.c if (!(pte_val(*ptep) & _PAGE_PRESENT)) pte_val 203 arch/mips/mm/c-tx39.c if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) { pte_val 106 arch/mips/mm/init.c entrylo = pte_to_entrylo(pte_val(pte)); pte_val 209 arch/mips/mm/tlb-r3k.c write_c0_entrylo0(pte_val(pte)); pte_val 332 arch/mips/mm/tlb-r4k.c lo = pte_to_entrylo(pte_val(*ptep)); pte_val 363 arch/mips/mm/tlb-r4k.c write_c0_entrylo0(pte_to_entrylo(pte_val(*ptep++))); pte_val 364 arch/mips/mm/tlb-r4k.c write_c0_entrylo1(pte_to_entrylo(pte_val(*ptep))); pte_val 40 arch/nds32/include/asm/pgtable.h #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte)) pte_val 187 arch/nds32/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) pte_val 190 arch/nds32/include/asm/pgtable.h #define pte_none(pte) !(pte_val(pte)) pte_val 249 arch/nds32/include/asm/pgtable.h #define pte_present(pte) (pte_val(pte) & _PAGE_V) pte_val 250 arch/nds32/include/asm/pgtable.h #define pte_write(pte) ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_URW_KRW) pte_val 251 arch/nds32/include/asm/pgtable.h #define pte_read(pte) (((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KR) || \ pte_val 252 arch/nds32/include/asm/pgtable.h ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KRW) || \ pte_val 253 arch/nds32/include/asm/pgtable.h ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_URW_KRW)) pte_val 254 arch/nds32/include/asm/pgtable.h #define pte_kernel_write(pte) (((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_URW_KRW) || \ pte_val 255 arch/nds32/include/asm/pgtable.h ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KRW) || \ pte_val 256 arch/nds32/include/asm/pgtable.h ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_KRW) || \ pte_val 257 arch/nds32/include/asm/pgtable.h (((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_XKRW) && pte_exec(pte))) pte_val 258 arch/nds32/include/asm/pgtable.h #define pte_exec(pte) (pte_val(pte) & _PAGE_E) pte_val 259 arch/nds32/include/asm/pgtable.h #define pte_dirty(pte) (pte_val(pte) & _PAGE_D) pte_val 260 arch/nds32/include/asm/pgtable.h #define pte_young(pte) (pte_val(pte) & _PAGE_YOUNG) pte_val 265 arch/nds32/include/asm/pgtable.h #define pte_file(pte) (pte_val(pte) & _PAGE_FILE) pte_val 266 arch/nds32/include/asm/pgtable.h #define pte_to_pgoff(x) (pte_val(x) >> 2) pte_val 272 arch/nds32/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } pte_val 276 arch/nds32/include/asm/pgtable.h pte_val(pte) = pte_val(pte) & ~_PAGE_M_MASK; pte_val 277 arch/nds32/include/asm/pgtable.h pte_val(pte) = pte_val(pte) | _PAGE_M_UR_KR; pte_val 283 arch/nds32/include/asm/pgtable.h pte_val(pte) = pte_val(pte) & ~_PAGE_M_MASK; pte_val 284 arch/nds32/include/asm/pgtable.h pte_val(pte) = pte_val(pte) | _PAGE_M_URW_KRW; pte_val 375 arch/nds32/include/asm/pgtable.h pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); pte_val 388 arch/nds32/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 62 arch/nds32/mm/fault.c pr_alert(", *pte=%08lx", pte_val(*pte)); pte_val 111 arch/nios2/include/asm/pgtable.h { return pte_val(pte) & _PAGE_WRITE; } pte_val 113 arch/nios2/include/asm/pgtable.h { return pte_val(pte) & _PAGE_DIRTY; } pte_val 115 arch/nios2/include/asm/pgtable.h { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 131 arch/nios2/include/asm/pgtable.h return !(pte_val(pte) & ~(_PAGE_GLOBAL|0xf)); pte_val 135 arch/nios2/include/asm/pgtable.h { return pte_val(pte) & _PAGE_PRESENT; } pte_val 143 arch/nios2/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_WRITE; pte_val 149 arch/nios2/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_DIRTY; pte_val 155 arch/nios2/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_ACCESSED; pte_val 161 arch/nios2/include/asm/pgtable.h pte_val(pte) |= _PAGE_WRITE; pte_val 167 arch/nios2/include/asm/pgtable.h pte_val(pte) |= _PAGE_DIRTY; pte_val 175 arch/nios2/include/asm/pgtable.h pte_val(pte) |= _PAGE_ACCESSED; pte_val 183 arch/nios2/include/asm/pgtable.h pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); pte_val 198 arch/nios2/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) & 0xfffff) pte_val 232 arch/nios2/include/asm/pgtable.h pte_val(null) = (addr >> PAGE_SHIFT) & 0xf; pte_val 267 arch/nios2/include/asm/pgtable.h __FILE__, __LINE__, pte_val(e)) pte_val 288 arch/nios2/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 100 arch/nios2/mm/tlb.c replace_tlb_one_pid(addr, mmu_pid, pte_val(pte)); pte_val 220 arch/openrisc/include/asm/pgtable.h #define pte_none(x) (!pte_val(x)) pte_val 221 arch/openrisc/include/asm/pgtable.h #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) pte_val 222 arch/openrisc/include/asm/pgtable.h #define pte_clear(mm, addr, xp) do { pte_val(*(xp)) = 0; } while (0) pte_val 234 arch/openrisc/include/asm/pgtable.h static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } pte_val 235 arch/openrisc/include/asm/pgtable.h static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } pte_val 236 arch/openrisc/include/asm/pgtable.h static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } pte_val 237 arch/openrisc/include/asm/pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 238 arch/openrisc/include/asm/pgtable.h static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 244 arch/openrisc/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_WRITE); pte_val 250 arch/openrisc/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_READ); pte_val 256 arch/openrisc/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_EXEC); pte_val 262 arch/openrisc/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_DIRTY); pte_val 268 arch/openrisc/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_ACCESSED); pte_val 274 arch/openrisc/include/asm/pgtable.h pte_val(pte) |= _PAGE_WRITE; pte_val 280 arch/openrisc/include/asm/pgtable.h pte_val(pte) |= _PAGE_READ; pte_val 286 arch/openrisc/include/asm/pgtable.h pte_val(pte) |= _PAGE_EXEC; pte_val 292 arch/openrisc/include/asm/pgtable.h pte_val(pte) |= _PAGE_DIRTY; pte_val 298 arch/openrisc/include/asm/pgtable.h pte_val(pte) |= _PAGE_ACCESSED; pte_val 317 arch/openrisc/include/asm/pgtable.h pte_val(pte) = __pa(page) | pgprot_val(pgprot); pte_val 327 arch/openrisc/include/asm/pgtable.h pte_val(__pte) = (physpage) + pgprot_val(pgprot); \ pte_val 333 arch/openrisc/include/asm/pgtable.h pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); pte_val 348 arch/openrisc/include/asm/pgtable.h return (unsigned long)__va(pte_val(pte) & PAGE_MASK); pte_val 406 arch/openrisc/include/asm/pgtable.h __FILE__, __LINE__, &(e), pte_val(e)) pte_val 439 arch/openrisc/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 32 arch/openrisc/kernel/dma.c pte_val(*pte) |= _PAGE_CI; pte_val 55 arch/openrisc/kernel/dma.c pte_val(*pte) &= ~_PAGE_CI; pte_val 45 arch/openrisc/mm/cache.c unsigned long pfn = pte_val(*pte) >> PAGE_SHIFT; pte_val 103 arch/parisc/include/asm/pgtable.h printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 314 arch/parisc/include/asm/pgtable.h #define pte_none(x) (pte_val(x) == 0) pte_val 315 arch/parisc/include/asm/pgtable.h #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) pte_val 379 arch/parisc/include/asm/pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 380 arch/parisc/include/asm/pgtable.h static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 381 arch/parisc/include/asm/pgtable.h static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } pte_val 384 arch/parisc/include/asm/pgtable.h static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } pte_val 385 arch/parisc/include/asm/pgtable.h static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_val 386 arch/parisc/include/asm/pgtable.h static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } pte_val 387 arch/parisc/include/asm/pgtable.h static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } pte_val 388 arch/parisc/include/asm/pgtable.h static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_val 389 arch/parisc/include/asm/pgtable.h static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_WRITE; return pte; } pte_val 396 arch/parisc/include/asm/pgtable.h #define pte_huge(pte) (pte_val(pte) & _PAGE_HUGE) pte_val 397 arch/parisc/include/asm/pgtable.h #define pte_mkhuge(pte) (__pte(pte_val(pte) | \ pte_val 413 arch/parisc/include/asm/pgtable.h pte_val(__pte) = ((((addr)>>PAGE_SHIFT)<<PFN_PTE_SHIFT) + pgprot_val(pgprot)); \ pte_val 423 arch/parisc/include/asm/pgtable.h pte_val(pte) = (pfn << PFN_PTE_SHIFT) | pgprot_val(pgprot); pte_val 428 arch/parisc/include/asm/pgtable.h { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } pte_val 432 arch/parisc/include/asm/pgtable.h #define pte_pfn(x) (pte_val(x) >> PFN_PTE_SHIFT) pte_val 486 arch/parisc/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 542 arch/parisc/include/asm/pgtable.h #define pte_same(A,B) (pte_val(A) == pte_val(B)) pte_val 131 arch/parisc/mm/hugetlbpage.c pte_val(entry) += PAGE_SIZE; pte_val 23 arch/powerpc/include/asm/book3s/32/pgtable.h return pte_val(pte) & _PAGE_USER; pte_val 207 arch/powerpc/include/asm/book3s/32/pgtable.h (unsigned long long)pte_val(e)) pte_val 336 arch/powerpc/include/asm/book3s/32/pgtable.h unsigned long set = pte_val(entry) & pte_val 345 arch/powerpc/include/asm/book3s/32/pgtable.h #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0) pte_val 378 arch/powerpc/include/asm/book3s/32/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) pte_val 382 arch/powerpc/include/asm/book3s/32/pgtable.h static inline int pte_write(pte_t pte) { return !!(pte_val(pte) & _PAGE_RW);} pte_val 384 arch/powerpc/include/asm/book3s/32/pgtable.h static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } pte_val 385 arch/powerpc/include/asm/book3s/32/pgtable.h static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); } pte_val 386 arch/powerpc/include/asm/book3s/32/pgtable.h static inline int pte_special(pte_t pte) { return !!(pte_val(pte) & _PAGE_SPECIAL); } pte_val 387 arch/powerpc/include/asm/book3s/32/pgtable.h static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } pte_val 388 arch/powerpc/include/asm/book3s/32/pgtable.h static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } pte_val 392 arch/powerpc/include/asm/book3s/32/pgtable.h return pte_val(pte) & _PAGE_PRESENT; pte_val 397 arch/powerpc/include/asm/book3s/32/pgtable.h return pte_val(pte) & _PAGE_PRESENT; pte_val 402 arch/powerpc/include/asm/book3s/32/pgtable.h return !!(pte_val(pte) & _PAGE_HASHPTE); pte_val 407 arch/powerpc/include/asm/book3s/32/pgtable.h return !!(pte_val(pte) & _PAGE_NO_CACHE); pte_val 444 arch/powerpc/include/asm/book3s/32/pgtable.h return pte_val(pte) >> PTE_RPN_SHIFT; pte_val 450 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) & ~_PAGE_RW); pte_val 455 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) & ~_PAGE_EXEC); pte_val 460 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) & ~_PAGE_DIRTY); pte_val 465 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) & ~_PAGE_ACCESSED); pte_val 470 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) | _PAGE_EXEC); pte_val 480 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) | _PAGE_RW); pte_val 485 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) | _PAGE_DIRTY); pte_val 490 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) | _PAGE_ACCESSED); pte_val 495 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) | _PAGE_SPECIAL); pte_val 505 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) & ~_PAGE_USER); pte_val 510 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) | _PAGE_USER); pte_val 515 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); pte_val 536 arch/powerpc/include/asm/book3s/32/pgtable.h *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) pte_val 537 arch/powerpc/include/asm/book3s/32/pgtable.h | (pte_val(pte) & ~_PAGE_HASHPTE)); pte_val 539 arch/powerpc/include/asm/book3s/32/pgtable.h pte_update(ptep, ~_PAGE_HASHPTE, pte_val(pte)); pte_val 551 arch/powerpc/include/asm/book3s/32/pgtable.h *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) pte_val 552 arch/powerpc/include/asm/book3s/32/pgtable.h | (pte_val(pte) & ~_PAGE_HASHPTE)); pte_val 555 arch/powerpc/include/asm/book3s/32/pgtable.h if (pte_val(*ptep) & _PAGE_HASHPTE) pte_val 570 arch/powerpc/include/asm/book3s/32/pgtable.h *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) pte_val 571 arch/powerpc/include/asm/book3s/32/pgtable.h | (pte_val(pte) & ~_PAGE_HASHPTE)); pte_val 213 arch/powerpc/include/asm/book3s/64/hash.h return (pte_val(pte) & ~H_PTE_NONE_MASK) == 0; pte_val 336 arch/powerpc/include/asm/book3s/64/pgtable.h #define __rpte_to_hidx(r,index) (pte_val(__rpte_to_pte(r)) >> H_PAGE_F_GIX_SHIFT) pte_val 599 arch/powerpc/include/asm/book3s/64/pgtable.h return arch_pte_access_permitted(pte_val(pte), write, 0); pte_val 619 arch/powerpc/include/asm/book3s/64/pgtable.h return (pte_val(pte) & PTE_RPN_MASK) >> PAGE_SHIFT; pte_val 742 arch/powerpc/include/asm/book3s/64/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) & ~_PAGE_PTE }) pte_val 1029 arch/powerpc/include/asm/book3s/64/pgtable.h pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 172 arch/powerpc/include/asm/book3s/64/radix.h old_pte = pte_val(*ptep); pte_val 187 arch/powerpc/include/asm/book3s/64/radix.h return (pte_val(pte) & ~RADIX_PTE_NONE_MASK) == 0; pte_val 432 arch/powerpc/include/asm/kvm_book3s_64.h if (unlikely(pte_val(old_pte) & H_PAGE_BUSY)) { pte_val 437 arch/powerpc/include/asm/kvm_book3s_64.h if (unlikely(!(pte_val(old_pte) & _PAGE_PRESENT))) pte_val 61 arch/powerpc/include/asm/nohash/32/pgtable.h (unsigned long long)pte_val(e)) pte_val 169 arch/powerpc/include/asm/nohash/32/pgtable.h return __pte(pte_val(pte) | _PAGE_RW); pte_val 175 arch/powerpc/include/asm/nohash/32/pgtable.h return __pte(pte_val(pte) | _PAGE_DIRTY); pte_val 180 arch/powerpc/include/asm/nohash/32/pgtable.h return __pte(pte_val(pte) | _PAGE_ACCESSED); pte_val 186 arch/powerpc/include/asm/nohash/32/pgtable.h return __pte(pte_val(pte) & ~_PAGE_RW); pte_val 192 arch/powerpc/include/asm/nohash/32/pgtable.h return __pte(pte_val(pte) | _PAGE_EXEC); pte_val 239 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long old = pte_val(*p); pte_val 276 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long long old = pte_val(*p); pte_val 309 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long clr = ~pte_val(pte_wrprotect(__pte(~0))); pte_val 310 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long set = pte_val(pte_wrprotect(__pte(0))); pte_val 322 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long set = pte_val(entry) & pte_val(pte_set); pte_val 323 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long clr = ~pte_val(entry) & ~pte_val(pte_clr); pte_val 332 arch/powerpc/include/asm/nohash/32/pgtable.h return pte_val(pte) & _PAGE_ACCESSED; pte_val 336 arch/powerpc/include/asm/nohash/32/pgtable.h #define pte_same(A,B) ((pte_val(A) ^ pte_val(B)) == 0) pte_val 384 arch/powerpc/include/asm/nohash/32/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) pte_val 91 arch/powerpc/include/asm/nohash/32/pte-40x.h return __pte(pte_val(pte) & ~(_PAGE_RW | _PAGE_HWWRITE)); pte_val 98 arch/powerpc/include/asm/nohash/32/pte-40x.h return __pte(pte_val(pte) & ~(_PAGE_DIRTY | _PAGE_HWWRITE)); pte_val 89 arch/powerpc/include/asm/nohash/32/pte-8xx.h return __pte(pte_val(pte) | _PAGE_RO); pte_val 96 arch/powerpc/include/asm/nohash/32/pte-8xx.h return !(pte_val(pte) & _PAGE_RO); pte_val 103 arch/powerpc/include/asm/nohash/32/pte-8xx.h return __pte(pte_val(pte) & ~_PAGE_RO); pte_val 110 arch/powerpc/include/asm/nohash/32/pte-8xx.h return !(pte_val(pte) & _PAGE_SH); pte_val 117 arch/powerpc/include/asm/nohash/32/pte-8xx.h return __pte(pte_val(pte) | _PAGE_SH); pte_val 124 arch/powerpc/include/asm/nohash/32/pte-8xx.h return __pte(pte_val(pte) & ~_PAGE_SH); pte_val 131 arch/powerpc/include/asm/nohash/32/pte-8xx.h return __pte(pte_val(pte) | _PAGE_SPS); pte_val 75 arch/powerpc/include/asm/nohash/64/pgtable-4k.h return __pgd(pte_val(pte)); pte_val 102 arch/powerpc/include/asm/nohash/64/pgtable.h return __pte(pte_val(pte) | _PAGE_RW); pte_val 107 arch/powerpc/include/asm/nohash/64/pgtable.h return __pte(pte_val(pte) | _PAGE_DIRTY); pte_val 112 arch/powerpc/include/asm/nohash/64/pgtable.h return __pte(pte_val(pte) | _PAGE_ACCESSED); pte_val 117 arch/powerpc/include/asm/nohash/64/pgtable.h return __pte(pte_val(pte) & ~_PAGE_RW); pte_val 122 arch/powerpc/include/asm/nohash/64/pgtable.h return __pte(pte_val(pte) | _PAGE_EXEC); pte_val 175 arch/powerpc/include/asm/nohash/64/pgtable.h return __pud(pte_val(pte)); pte_val 227 arch/powerpc/include/asm/nohash/64/pgtable.h unsigned long old = pte_val(*ptep); pte_val 239 arch/powerpc/include/asm/nohash/64/pgtable.h return pte_val(pte) & _PAGE_ACCESSED; pte_val 265 arch/powerpc/include/asm/nohash/64/pgtable.h if ((pte_val(*ptep) & _PAGE_RW) == 0) pte_val 275 arch/powerpc/include/asm/nohash/64/pgtable.h if ((pte_val(*ptep) & _PAGE_RW) == 0) pte_val 310 arch/powerpc/include/asm/nohash/64/pgtable.h unsigned long bits = pte_val(entry) & pte_val 325 arch/powerpc/include/asm/nohash/64/pgtable.h unsigned long old = pte_val(*ptep); pte_val 333 arch/powerpc/include/asm/nohash/64/pgtable.h #define pte_same(A,B) ((pte_val(A) ^ pte_val(B)) == 0) pte_val 336 arch/powerpc/include/asm/nohash/64/pgtable.h pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 355 arch/powerpc/include/asm/nohash/64/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) pte_val 45 arch/powerpc/include/asm/nohash/pgtable.h return pte_val(pte) & _PAGE_RW; pte_val 49 arch/powerpc/include/asm/nohash/pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 50 arch/powerpc/include/asm/nohash/pgtable.h static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } pte_val 51 arch/powerpc/include/asm/nohash/pgtable.h static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } pte_val 53 arch/powerpc/include/asm/nohash/pgtable.h static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } pte_val 54 arch/powerpc/include/asm/nohash/pgtable.h static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } pte_val 75 arch/powerpc/include/asm/nohash/pgtable.h return pte_val(pte) & _PAGE_PRESENT; pte_val 80 arch/powerpc/include/asm/nohash/pgtable.h return pte_val(pte) & _PAGE_PRESENT; pte_val 91 arch/powerpc/include/asm/nohash/pgtable.h return (pte_val(pte) & _PAGE_USER) == _PAGE_USER; pte_val 125 arch/powerpc/include/asm/nohash/pgtable.h return pte_val(pte) >> PTE_RPN_SHIFT; } pte_val 130 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte) & ~_PAGE_EXEC); pte_val 136 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte) & ~_PAGE_DIRTY); pte_val 142 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte) & ~_PAGE_ACCESSED); pte_val 152 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte) | _PAGE_SPECIAL); pte_val 158 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte)); pte_val 165 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte) & ~_PAGE_USER); pte_val 172 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte) | _PAGE_USER); pte_val 178 arch/powerpc/include/asm/nohash/pgtable.h return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); pte_val 213 arch/powerpc/include/asm/nohash/pgtable.h ptep->pte = ptep->pte1 = ptep->pte2 = ptep->pte3 = pte_val(pte); pte_val 105 arch/powerpc/include/asm/nohash/pte-book3e.h return __pte((pte_val(pte) & ~_PAGE_USER) | _PAGE_PRIVILEGED); pte_val 112 arch/powerpc/include/asm/nohash/pte-book3e.h return __pte((pte_val(pte) & ~_PAGE_PRIVILEGED) | _PAGE_USER); pte_val 66 arch/powerpc/include/asm/pgtable-types.h return pte_val(old) == __cmpxchg_u64(p, pte_val(old), pte_val(new)); pte_val 56 arch/powerpc/include/asm/pgtable.h pte_flags = pte_val(pte) & ~PTE_RPN_MASK; pte_val 51 arch/powerpc/include/asm/tlb.h if (pte_val(*ptep) & _PAGE_HASHPTE) pte_val 52 arch/powerpc/kernel/mce_power.c pfn = pte_pfn(__pte(pte_val(*ptep) | (addr & rpnmask))); pte_val 434 arch/powerpc/kvm/book3s_64_mmu_radix.c if (pte_val(*p) == 0) pte_val 616 arch/powerpc/kvm/book3s_64_mmu_radix.c WARN_ON_ONCE((pud_val(*pud) ^ pte_val(pte)) & pte_val 619 arch/powerpc/kvm/book3s_64_mmu_radix.c 0, pte_val(pte), hgpa, PUD_SHIFT); pte_val 667 arch/powerpc/kvm/book3s_64_mmu_radix.c WARN_ON_ONCE((pmd_val(*pmd) ^ pte_val(pte)) & pte_val 670 arch/powerpc/kvm/book3s_64_mmu_radix.c 0, pte_val(pte), lgpa, PMD_SHIFT); pte_val 716 arch/powerpc/kvm/book3s_64_mmu_radix.c WARN_ON_ONCE((pte_val(*ptep) ^ pte_val(pte)) & pte_val 718 arch/powerpc/kvm/book3s_64_mmu_radix.c kvmppc_radix_update_pte(kvm, ptep, 0, pte_val(pte), gpa, 0); pte_val 852 arch/powerpc/kvm/book3s_64_mmu_radix.c pte = __pte(pte_val(pte) | (hva & rpnmask)); pte_val 856 arch/powerpc/kvm/book3s_64_mmu_radix.c pte = __pte(pte_val(pte) | _PAGE_EXEC | _PAGE_ACCESSED); pte_val 858 arch/powerpc/kvm/book3s_64_mmu_radix.c if (pte_val(pte) & _PAGE_WRITE) pte_val 859 arch/powerpc/kvm/book3s_64_mmu_radix.c pte = __pte(pte_val(pte) | _PAGE_DIRTY); pte_val 861 arch/powerpc/kvm/book3s_64_mmu_radix.c pte = __pte(pte_val(pte) & ~(_PAGE_WRITE | _PAGE_DIRTY)); pte_val 873 arch/powerpc/kvm/book3s_64_mmu_radix.c if (!ret && (pte_val(pte) & _PAGE_WRITE)) pte_val 1303 arch/powerpc/kvm/book3s_64_mmu_radix.c pte = pte_val(READ_ONCE(*ptep)); pte_val 814 arch/powerpc/kvm/book3s_hv_nested.c if (ptep && pte_present(*ptep) && ((pte_val(*ptep) & mask) == hpa)) { pte_val 859 arch/powerpc/kvm/book3s_hv_nested.c if (ptep && pte_present(*ptep) && ((pte_val(*ptep) & mask) == hpa)) pte_val 1372 arch/powerpc/kvm/book3s_hv_nested.c if (!pte_present(pte) || (writing && !(pte_val(pte) & _PAGE_WRITE))) { pte_val 1394 arch/powerpc/kvm/book3s_hv_nested.c pte = __pte(pte_val(pte) & ~perm); pte_val 1403 arch/powerpc/kvm/book3s_hv_nested.c pte = __pte(pte_val(pte) | (gpa & mask)); pte_val 482 arch/powerpc/kvm/e500_mmu_host.c wimg = (pte_val(pte) >> PTE_WIMGE_SHIFT) & pte_val 36 arch/powerpc/mm/book3s64/hash_4k.c old_pte = pte_val(pte); pte_val 54 arch/powerpc/mm/book3s64/hash_64k.c old_pte = pte_val(pte); pte_val 240 arch/powerpc/mm/book3s64/hash_64k.c old_pte = pte_val(pte); pte_val 54 arch/powerpc/mm/book3s64/hash_hugetlbpage.c old_pte = pte_val(*ptep); pte_val 135 arch/powerpc/mm/book3s64/hash_hugetlbpage.c unsigned long pte_val; pte_val 141 arch/powerpc/mm/book3s64/hash_hugetlbpage.c pte_val = pte_update(vma->vm_mm, addr, ptep, pte_val 144 arch/powerpc/mm/book3s64/hash_hugetlbpage.c return __pte(pte_val); pte_val 221 arch/powerpc/mm/book3s64/hash_tlb.c pte = pte_val(*ptep); pte_val 254 arch/powerpc/mm/book3s64/hash_tlb.c unsigned long pteval = pte_val(*pte); pte_val 1339 arch/powerpc/mm/book3s64/hash_utils.c if (!check_pte_access(access, pte_val(*ptep))) { pte_val 1370 arch/powerpc/mm/book3s64/hash_utils.c DBG_LOW(" i-pte: %016lx\n", pte_val(*ptep)); pte_val 1372 arch/powerpc/mm/book3s64/hash_utils.c DBG_LOW(" i-pte: %016lx %016lx\n", pte_val(*ptep), pte_val 1373 arch/powerpc/mm/book3s64/hash_utils.c pte_val(*(ptep + PTRS_PER_PTE))); pte_val 1378 arch/powerpc/mm/book3s64/hash_utils.c if ((pte_val(*ptep) & H_PAGE_4K_PFN) && psize == MMU_PAGE_64K) { pte_val 1431 arch/powerpc/mm/book3s64/hash_utils.c psize, pte_val(*ptep)); pte_val 1433 arch/powerpc/mm/book3s64/hash_utils.c DBG_LOW(" o-pte: %016lx\n", pte_val(*ptep)); pte_val 1435 arch/powerpc/mm/book3s64/hash_utils.c DBG_LOW(" o-pte: %016lx %016lx\n", pte_val(*ptep), pte_val 1436 arch/powerpc/mm/book3s64/hash_utils.c pte_val(*(ptep + PTRS_PER_PTE))); pte_val 1572 arch/powerpc/mm/book3s64/hash_utils.c if ((pte_val(*ptep) & H_PAGE_4K_PFN) || pte_ci(*ptep)) pte_val 1597 arch/powerpc/mm/book3s64/hash_utils.c pte_val(*ptep)); pte_val 1670 arch/powerpc/mm/book3s64/hash_utils.c pkey = pte_to_pkey_bits(pte_val(READ_ONCE(*ptep))); pte_val 423 arch/powerpc/mm/book3s64/pgtable.c unsigned long pte_val; pte_val 430 arch/powerpc/mm/book3s64/pgtable.c pte_val = pte_update(vma->vm_mm, addr, ptep, _PAGE_PRESENT, _PAGE_INVALID, 0); pte_val 432 arch/powerpc/mm/book3s64/pgtable.c return __pte(pte_val); pte_val 105 arch/powerpc/mm/book3s64/radix_hugetlbpage.c if (is_pte_rw_upgrade(pte_val(old_pte), pte_val(pte)) && pte_val 1036 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long set = pte_val(entry) & (_PAGE_DIRTY | _PAGE_ACCESSED | pte_val 1039 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long change = pte_val(entry) ^ pte_val(*ptep); pte_val 1077 arch/powerpc/mm/book3s64/radix_pgtable.c if (is_pte_rw_upgrade(pte_val(old_pte), pte_val(pte)) && pte_val 124 arch/powerpc/mm/kasan/kasan_init_32.c if ((pte_val(*ptep) & PTE_RPN_MASK) != pa) pte_val 163 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mas2 |= (pte_val(pte) >> PTE_WIMGE_SHIFT) & MAS2_WIMGE_MASK; pte_val 165 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mas7_3 |= (pte_val(pte) >> PTE_BAP_SHIFT) & MAS3_BAP_MASK; pte_val 79 arch/powerpc/mm/pgtable.c pte = __pte(pte_val(pte) & ~_PAGE_HPTEFLAGS); pte_val 380 arch/powerpc/mm/ptdump/hashpagetable.c pteval = pte_val(*pte); pte_val 260 arch/powerpc/mm/ptdump/ptdump.c note_page(st, addr, 4, pte_val(*pte), PAGE_SIZE); pte_val 3201 arch/powerpc/xmon/xmon.c format_pte(ptep, pte_val(*ptep)); pte_val 181 arch/riscv/include/asm/pgtable.h return (pte_val(pte) >> _PAGE_PFN_SHIFT); pte_val 206 arch/riscv/include/asm/pgtable.h return (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROT_NONE)); pte_val 211 arch/riscv/include/asm/pgtable.h return (pte_val(pte) == 0); pte_val 216 arch/riscv/include/asm/pgtable.h return pte_val(pte) & _PAGE_WRITE; pte_val 221 arch/riscv/include/asm/pgtable.h return pte_val(pte) & _PAGE_EXEC; pte_val 227 arch/riscv/include/asm/pgtable.h && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); pte_val 232 arch/riscv/include/asm/pgtable.h return pte_val(pte) & _PAGE_DIRTY; pte_val 237 arch/riscv/include/asm/pgtable.h return pte_val(pte) & _PAGE_ACCESSED; pte_val 242 arch/riscv/include/asm/pgtable.h return pte_val(pte) & _PAGE_SPECIAL; pte_val 249 arch/riscv/include/asm/pgtable.h return __pte(pte_val(pte) & ~(_PAGE_WRITE)); pte_val 256 arch/riscv/include/asm/pgtable.h return __pte(pte_val(pte) | _PAGE_WRITE); pte_val 263 arch/riscv/include/asm/pgtable.h return __pte(pte_val(pte) | _PAGE_DIRTY); pte_val 268 arch/riscv/include/asm/pgtable.h return __pte(pte_val(pte) & ~(_PAGE_DIRTY)); pte_val 273 arch/riscv/include/asm/pgtable.h return __pte(pte_val(pte) | _PAGE_ACCESSED); pte_val 278 arch/riscv/include/asm/pgtable.h return __pte(pte_val(pte) & ~(_PAGE_ACCESSED)); pte_val 283 arch/riscv/include/asm/pgtable.h return __pte(pte_val(pte) | _PAGE_SPECIAL); pte_val 294 arch/riscv/include/asm/pgtable.h return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); pte_val 318 arch/riscv/include/asm/pgtable.h return pte_val(pte_a) == pte_val(pte_b); pte_val 376 arch/riscv/include/asm/pgtable.h return test_and_clear_bit(_PAGE_ACCESSED_OFFSET, &pte_val(*ptep)); pte_val 430 arch/riscv/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 53 arch/s390/include/asm/hugetlb.h if ((pte_val(*ptep) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R3) pte_val 54 arch/s390/include/asm/hugetlb.h pte_val(*ptep) = _REGION3_ENTRY_EMPTY; pte_val 56 arch/s390/include/asm/hugetlb.h pte_val(*ptep) = _SEGMENT_ENTRY_EMPTY; pte_val 69 arch/s390/include/asm/pgtable.h printk("%s:%d: bad pte %p.\n", __FILE__, __LINE__, (void *) pte_val(e)) pte_val 784 arch/s390/include/asm/pgtable.h return (pte_val(pte) & _PAGE_PRESENT) != 0; pte_val 790 arch/s390/include/asm/pgtable.h return pte_val(pte) == _PAGE_INVALID; pte_val 796 arch/s390/include/asm/pgtable.h return (pte_val(pte) & (_PAGE_PROTECT | _PAGE_PRESENT)) pte_val 802 arch/s390/include/asm/pgtable.h return (pte_val(pte) & _PAGE_SPECIAL); pte_val 808 arch/s390/include/asm/pgtable.h return pte_val(a) == pte_val(b); pte_val 814 arch/s390/include/asm/pgtable.h return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); pte_val 826 arch/s390/include/asm/pgtable.h return pte_val(pte) & _PAGE_SOFT_DIRTY; pte_val 832 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_SOFT_DIRTY; pte_val 839 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_SOFT_DIRTY; pte_val 867 arch/s390/include/asm/pgtable.h return (pte_val(pte) & _PAGE_WRITE) != 0; pte_val 872 arch/s390/include/asm/pgtable.h return (pte_val(pte) & _PAGE_DIRTY) != 0; pte_val 877 arch/s390/include/asm/pgtable.h return (pte_val(pte) & _PAGE_YOUNG) != 0; pte_val 883 arch/s390/include/asm/pgtable.h return pte_val(pte) & _PAGE_UNUSED; pte_val 915 arch/s390/include/asm/pgtable.h pte_val(*ptep) = _PAGE_INVALID; pte_val 924 arch/s390/include/asm/pgtable.h pte_val(pte) &= _PAGE_CHG_MASK; pte_val 925 arch/s390/include/asm/pgtable.h pte_val(pte) |= pgprot_val(newprot); pte_val 930 arch/s390/include/asm/pgtable.h if ((pte_val(pte) & _PAGE_YOUNG) && (pte_val(pte) & _PAGE_READ)) pte_val 931 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_INVALID; pte_val 936 arch/s390/include/asm/pgtable.h if ((pte_val(pte) & _PAGE_DIRTY) && (pte_val(pte) & _PAGE_WRITE)) pte_val 937 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_PROTECT; pte_val 943 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_WRITE; pte_val 944 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_PROTECT; pte_val 950 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_WRITE; pte_val 951 arch/s390/include/asm/pgtable.h if (pte_val(pte) & _PAGE_DIRTY) pte_val 952 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_PROTECT; pte_val 958 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_DIRTY; pte_val 959 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_PROTECT; pte_val 965 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_DIRTY | _PAGE_SOFT_DIRTY; pte_val 966 arch/s390/include/asm/pgtable.h if (pte_val(pte) & _PAGE_WRITE) pte_val 967 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_PROTECT; pte_val 973 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_YOUNG; pte_val 974 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_INVALID; pte_val 980 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_YOUNG; pte_val 981 arch/s390/include/asm/pgtable.h if (pte_val(pte) & _PAGE_READ) pte_val 982 arch/s390/include/asm/pgtable.h pte_val(pte) &= ~_PAGE_INVALID; pte_val 988 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_SPECIAL; pte_val 995 arch/s390/include/asm/pgtable.h pte_val(pte) |= _PAGE_LARGE; pte_val 1183 arch/s390/include/asm/pgtable.h pte_val(entry) &= ~_PAGE_UNUSED; pte_val 1197 arch/s390/include/asm/pgtable.h pte_val(__pte) = physpage + pgprot_val(pgprot); pte_val 1199 arch/s390/include/asm/pgtable.h pte_val(__pte) &= ~_PAGE_NOEXEC; pte_val 1288 arch/s390/include/asm/pgtable.h #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) pte_val 1656 arch/s390/include/asm/pgtable.h pte_val(pte) = _PAGE_INVALID | _PAGE_PROTECT; pte_val 1657 arch/s390/include/asm/pgtable.h pte_val(pte) |= (offset & __SWP_OFFSET_MASK) << __SWP_OFFSET_SHIFT; pte_val 1658 arch/s390/include/asm/pgtable.h pte_val(pte) |= (type & __SWP_TYPE_MASK) << __SWP_TYPE_SHIFT; pte_val 1674 arch/s390/include/asm/pgtable.h return (swp_entry_t) { pte_val(mk_swap_pte(type, offset)) }; pte_val 1677 arch/s390/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 119 arch/s390/mm/dump_pagetables.c prot = pte_val(*kasan_early_shadow_pte) & pte_val 143 arch/s390/mm/dump_pagetables.c prot = pte_val(*pte) & pte_val 1144 arch/s390/mm/gmap.c if (pte_present(pte) && (pte_val(pte) & _PAGE_READ)) { pte_val 1145 arch/s390/mm/gmap.c address = pte_val(pte) & PAGE_MASK; pte_val 1148 arch/s390/mm/gmap.c pte_val(*ptep) |= _PAGE_YOUNG; pte_val 2117 arch/s390/mm/gmap.c prot = (pte_val(pte) & _PAGE_PROTECT) ? PROT_READ : PROT_WRITE; pte_val 2125 arch/s390/mm/gmap.c paddr = pte_val(pte) & PAGE_MASK; pte_val 49 arch/s390/mm/hugetlbpage.c rste = pte_val(pte) & PAGE_MASK; pte_val 50 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_READ, pte_val 52 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_WRITE, pte_val 54 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_INVALID, pte_val 56 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_PROTECT, pte_val 58 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_DIRTY, pte_val 60 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_YOUNG, pte_val 63 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_SOFT_DIRTY, pte_val 66 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_NOEXEC, pte_val 104 arch/s390/mm/hugetlbpage.c pte_val(pte) = rste & _SEGMENT_ENTRY_ORIGIN_LARGE; pte_val 105 arch/s390/mm/hugetlbpage.c pte_val(pte) |= _PAGE_LARGE | _PAGE_PRESENT; pte_val 106 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_READ, pte_val 108 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_WRITE, pte_val 110 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_INVALID, pte_val 112 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_PROTECT, pte_val 114 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_DIRTY, pte_val 116 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_YOUNG, pte_val 119 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_SOFT_DIRTY, pte_val 122 arch/s390/mm/hugetlbpage.c pte_val(pte) |= move_set_bit(rste, _SEGMENT_ENTRY_NOEXEC, pte_val 125 arch/s390/mm/hugetlbpage.c pte_val(pte) = _PAGE_INVALID; pte_val 162 arch/s390/mm/hugetlbpage.c if ((pte_val(*ptep) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R3) { pte_val 170 arch/s390/mm/hugetlbpage.c pte_val(*ptep) = rste; pte_val 175 arch/s390/mm/hugetlbpage.c return __rste_to_pte(pte_val(*ptep)); pte_val 185 arch/s390/mm/hugetlbpage.c if ((pte_val(*ptep) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R3) pte_val 187 arch/s390/mm/kasan_init.c pte_val(*pt_dir) = __pa(page) | pgt_prot; pte_val 192 arch/s390/mm/kasan_init.c pte_val(*pt_dir) = __pa(page) | pgt_prot; pte_val 196 arch/s390/mm/kasan_init.c pte_val(*pt_dir) = __pa(page) | pgt_prot_zero; pte_val 293 arch/s390/mm/kasan_init.c memset64((u64 *)kasan_early_shadow_pte, pte_val(pte_z), PTRS_PER_PTE); pte_val 99 arch/s390/mm/pageattr.c pte_val(new) |= _PAGE_NOEXEC; pte_val 101 arch/s390/mm/pageattr.c pte_val(new) &= ~_PAGE_NOEXEC; pte_val 102 arch/s390/mm/pageattr.c pgt_set((unsigned long *)ptep, pte_val(new), addr, CRDTE_DTT_PAGE); pte_val 128 arch/s390/mm/pageattr.c pte_val(*ptep) = pte_addr | prot; pte_val 359 arch/s390/mm/pageattr.c pte_val(*pte) &= ~_PAGE_INVALID; pte_val 76 arch/s390/mm/pgtable.c if (unlikely(pte_val(old) & _PAGE_INVALID)) pte_val 95 arch/s390/mm/pgtable.c if (unlikely(pte_val(old) & _PAGE_INVALID)) pte_val 100 arch/s390/mm/pgtable.c pte_val(*ptep) |= _PAGE_INVALID; pte_val 161 arch/s390/mm/pgtable.c if (!mm_uses_skeys(mm) || pte_val(pte) & _PAGE_INVALID) pte_val 163 arch/s390/mm/pgtable.c address = pte_val(pte) & PAGE_MASK; pte_val 183 arch/s390/mm/pgtable.c if (!mm_uses_skeys(mm) || pte_val(entry) & _PAGE_INVALID) pte_val 185 arch/s390/mm/pgtable.c VM_BUG_ON(!(pte_val(*ptep) & _PAGE_INVALID)); pte_val 186 arch/s390/mm/pgtable.c address = pte_val(entry) & PAGE_MASK; pte_val 201 arch/s390/mm/pgtable.c if ((pte_val(entry) & _PAGE_PRESENT) && pte_val 202 arch/s390/mm/pgtable.c (pte_val(entry) & _PAGE_WRITE) && pte_val 203 arch/s390/mm/pgtable.c !(pte_val(entry) & _PAGE_INVALID)) { pte_val 209 arch/s390/mm/pgtable.c pte_val(entry) |= _PAGE_DIRTY; pte_val 210 arch/s390/mm/pgtable.c pte_val(entry) &= ~_PAGE_PROTECT; pte_val 212 arch/s390/mm/pgtable.c if (!(pte_val(entry) & _PAGE_PROTECT)) pte_val 254 arch/s390/mm/pgtable.c if (pte_val(old) & _PAGE_INVALID) pte_val 256 arch/s390/mm/pgtable.c if (pte_val(new) & _PAGE_INVALID) { pte_val 260 arch/s390/mm/pgtable.c pte_val(old) |= _PAGE_UNUSED; pte_val 330 arch/s390/mm/pgtable.c pte_val(pte) &= ~_PAGE_NOEXEC; pte_val 550 arch/s390/mm/pgtable.c pte_val(*ptep) = _PAGE_INVALID; pte_val 552 arch/s390/mm/pgtable.c pte_val(*ptep) = _PAGE_INVALID; pte_val 605 arch/s390/mm/pgtable.c pte_i = pte_val(entry) & _PAGE_INVALID; pte_val 606 arch/s390/mm/pgtable.c pte_p = pte_val(entry) & _PAGE_PROTECT; pte_val 617 arch/s390/mm/pgtable.c pte_val(entry) |= _PAGE_INVALID; pte_val 621 arch/s390/mm/pgtable.c pte_val(entry) &= ~_PAGE_INVALID; pte_val 622 arch/s390/mm/pgtable.c pte_val(entry) |= _PAGE_PROTECT; pte_val 637 arch/s390/mm/pgtable.c if (!(pte_val(*tptep) & _PAGE_INVALID)) pte_val 641 arch/s390/mm/pgtable.c if (!(pte_val(spte) & _PAGE_INVALID) && pte_val 642 arch/s390/mm/pgtable.c !((pte_val(spte) & _PAGE_PROTECT) && pte_val 643 arch/s390/mm/pgtable.c !(pte_val(pte) & _PAGE_PROTECT))) { pte_val 646 arch/s390/mm/pgtable.c pte_val(tpte) = (pte_val(spte) & PAGE_MASK) | pte_val 647 arch/s390/mm/pgtable.c (pte_val(pte) & _PAGE_PROTECT); pte_val 717 arch/s390/mm/pgtable.c ptev = pte_val(*ptep); pte_val 739 arch/s390/mm/pgtable.c if (dirty && (pte_val(pte) & _PAGE_PRESENT)) { pte_val 743 arch/s390/mm/pgtable.c if (MACHINE_HAS_ESOP || !(pte_val(pte) & _PAGE_WRITE)) pte_val 744 arch/s390/mm/pgtable.c pte_val(pte) |= _PAGE_PROTECT; pte_val 746 arch/s390/mm/pgtable.c pte_val(pte) |= _PAGE_INVALID; pte_val 796 arch/s390/mm/pgtable.c if (!(pte_val(*ptep) & _PAGE_INVALID)) { pte_val 799 arch/s390/mm/pgtable.c paddr = pte_val(*ptep) & PAGE_MASK; pte_val 893 arch/s390/mm/pgtable.c if (!(pte_val(*ptep) & _PAGE_INVALID)) { pte_val 894 arch/s390/mm/pgtable.c paddr = pte_val(*ptep) & PAGE_MASK; pte_val 947 arch/s390/mm/pgtable.c paddr = pte_val(*ptep) & PAGE_MASK; pte_val 948 arch/s390/mm/pgtable.c if (!(pte_val(*ptep) & _PAGE_INVALID)) pte_val 988 arch/s390/mm/pgtable.c *oldpte = pte_val(*ptep); pte_val 1002 arch/s390/mm/pgtable.c if (pte_val(*ptep) & _PAGE_INVALID) pte_val 1008 arch/s390/mm/pgtable.c if (pte_val(*ptep) & _PAGE_INVALID) pte_val 1013 arch/s390/mm/pgtable.c if (!(pte_val(*ptep) & _PAGE_INVALID)) { pte_val 1037 arch/s390/mm/pgtable.c if (!(pte_val(*ptep) & _PAGE_INVALID)) { pte_val 138 arch/s390/mm/vmem.c pte_val(*pt_dir) = address | pgt_prot; pte_val 290 arch/s390/mm/vmem.c pte_val(*pt_dir) = __pa(new_page) | pgt_prot; pte_val 107 arch/sh/include/asm/page.h #define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK) pte_val 149 arch/sh/include/asm/pgtable.h return (pte_val(pte) & (prot | _PAGE_SPECIAL)) == prot; pte_val 323 arch/sh/include/asm/pgtable_32.h #define pte_none(x) (!pte_val(x)) pte_val 435 arch/sh/include/asm/pgtable_32.h printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 472 arch/sh/include/asm/pgtable_32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 1 }) pte_val 23 arch/sh/include/asm/pgtable_64.h printk("%s:%d: bad pte %016Lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 226 arch/sh/include/asm/pgtable_64.h #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) pte_val 228 arch/sh/include/asm/pgtable_64.h #define pte_none(x) (pte_val(x) == _PTE_EMPTY) pte_val 240 arch/sh/include/asm/pgtable_64.h #define pte_pagenr(x) (((unsigned long) (pte_val(x)) - \ pte_val 257 arch/sh/include/asm/pgtable_64.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 258 arch/sh/include/asm/pgtable_64.h static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 259 arch/sh/include/asm/pgtable_64.h static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } pte_val 260 arch/sh/include/asm/pgtable_64.h static inline int pte_special(pte_t pte){ return pte_val(pte) & _PAGE_SPECIAL; } pte_val 262 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_wrprotect(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_WRITE)); return pte; } pte_val 263 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_mkclean(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_DIRTY)); return pte; } pte_val 264 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_mkold(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_ACCESSED)); return pte; } pte_val 265 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_mkwrite(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_WRITE)); return pte; } pte_val 266 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_mkdirty(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_DIRTY)); return pte; } pte_val 267 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_mkyoung(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); return pte; } pte_val 268 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_mkhuge(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_SZHUGE)); return pte; } pte_val 269 arch/sh/include/asm/pgtable_64.h static inline pte_t pte_mkspecial(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_SPECIAL)); return pte; } pte_val 293 arch/sh/include/asm/pgtable_64.h { set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot))); return pte; } pte_val 299 arch/sh/include/asm/pgtable_64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 232 arch/sh/mm/cache-sh4.c if (!(pte_val(*pte) & _PAGE_PRESENT)) pte_val 413 arch/sh/mm/cache-sh5.c paddr = pte_val(entry) & PAGE_MASK; pte_val 100 arch/sh/mm/fault.c (u64)pte_val(*pte)); pte_val 44 arch/sh/mm/tlb-sh3.c pteval = pte_val(pte); pte_val 162 arch/sh/mm/tlb-sh5.c paddr = pte_val(pte) & _PAGE_FLAGS_HARDWARE_MASK; pte_val 80 arch/sh/mm/tlbex_64.c if ((pte_val(entry) & protection_flags) != protection_flags) pte_val 118 arch/sparc/include/asm/pgtable_32.h srmmu_swap((unsigned long *)ptep, pte_val(pteval)); pte_val 147 arch/sparc/include/asm/pgtable_32.h return ((pte_val(pte) & SRMMU_ET_MASK) == SRMMU_ET_PTE); pte_val 152 arch/sparc/include/asm/pgtable_32.h return !pte_val(pte); pte_val 213 arch/sparc/include/asm/pgtable_32.h return pte_val(pte) & SRMMU_WRITE; pte_val 218 arch/sparc/include/asm/pgtable_32.h return pte_val(pte) & SRMMU_DIRTY; pte_val 223 arch/sparc/include/asm/pgtable_32.h return pte_val(pte) & SRMMU_REF; pte_val 233 arch/sparc/include/asm/pgtable_32.h return __pte(pte_val(pte) & ~SRMMU_WRITE); pte_val 238 arch/sparc/include/asm/pgtable_32.h return __pte(pte_val(pte) & ~SRMMU_DIRTY); pte_val 243 arch/sparc/include/asm/pgtable_32.h return __pte(pte_val(pte) & ~SRMMU_REF); pte_val 248 arch/sparc/include/asm/pgtable_32.h return __pte(pte_val(pte) | SRMMU_WRITE); pte_val 253 arch/sparc/include/asm/pgtable_32.h return __pte(pte_val(pte) | SRMMU_DIRTY); pte_val 258 arch/sparc/include/asm/pgtable_32.h return __pte(pte_val(pte) | SRMMU_REF); pte_val 267 arch/sparc/include/asm/pgtable_32.h if (srmmu_device_memory(pte_val(pte))) { pte_val 275 arch/sparc/include/asm/pgtable_32.h return (pte_val(pte) & SRMMU_PTE_PMASK) >> (PAGE_SHIFT-4); pte_val 309 arch/sparc/include/asm/pgtable_32.h return __pte((pte_val(pte) & SRMMU_CHG_MASK) | pte_val 369 arch/sparc/include/asm/pgtable_32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 253 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 272 arch/sparc/include/asm/pgtable_64.h : "r" (pte_val(pte)), pte_val 335 arch/sparc/include/asm/pgtable_64.h return __pte((pte_val(pte) & mask) | (pgprot_val(prot) & ~mask)); pte_val 345 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 403 arch/sparc/include/asm/pgtable_64.h return __pte(pte_val(pte) | __pte_default_huge_mask()); pte_val 410 arch/sparc/include/asm/pgtable_64.h return (pte_val(pte) & mask) == mask; pte_val 429 arch/sparc/include/asm/pgtable_64.h pte_val(pte) |= _PAGE_PMD_HUGE; pte_val 431 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 443 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte), tmp; pte_val 467 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte), tmp; pte_val 491 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte), mask; pte_val 509 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte), tmp; pte_val 548 arch/sparc/include/asm/pgtable_64.h return __pte(pte_val(pte) & ~mask); pte_val 568 arch/sparc/include/asm/pgtable_64.h return __pte(pte_val(pte) | mask); pte_val 573 arch/sparc/include/asm/pgtable_64.h pte_val(pte) |= _PAGE_SPECIAL; pte_val 579 arch/sparc/include/asm/pgtable_64.h pte_val(pte) |= _PAGE_MCD_4V; pte_val 585 arch/sparc/include/asm/pgtable_64.h pte_val(pte) &= ~_PAGE_MCD_4V; pte_val 604 arch/sparc/include/asm/pgtable_64.h return (pte_val(pte) & mask); pte_val 622 arch/sparc/include/asm/pgtable_64.h return (pte_val(pte) & mask); pte_val 640 arch/sparc/include/asm/pgtable_64.h return (pte_val(pte) & mask); pte_val 656 arch/sparc/include/asm/pgtable_64.h return (pte_val(pte) & mask); pte_val 661 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte); pte_val 678 arch/sparc/include/asm/pgtable_64.h return pte_val(a) & _PAGE_VALID; pte_val 683 arch/sparc/include/asm/pgtable_64.h return pte_val(pte) & _PAGE_SPECIAL; pte_val 690 arch/sparc/include/asm/pgtable_64.h return pte_val(pte) & _PAGE_PMD_HUGE; pte_val 729 arch/sparc/include/asm/pgtable_64.h return pte_val(pte) & _PAGE_PMD_HUGE; pte_val 738 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 747 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 756 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 765 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 774 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 783 arch/sparc/include/asm/pgtable_64.h return __pmd(pte_val(pte)); pte_val 874 arch/sparc/include/asm/pgtable_64.h return pte_val(pte) & _PAGE_PMD_HUGE; pte_val 885 arch/sparc/include/asm/pgtable_64.h #define pte_none(pte) (!pte_val(pte)) pte_val 1018 arch/sparc/include/asm/pgtable_64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 1053 arch/sparc/include/asm/pgtable_64.h if (adi_state.enabled && (pte_val(pte) & _PAGE_MCD_4V)) pte_val 1062 arch/sparc/include/asm/pgtable_64.h if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) pte_val 1118 arch/sparc/include/asm/pgtable_64.h return (pte_val(pte) & (prot | _PAGE_SPECIAL)) == prot; pte_val 343 arch/sparc/kernel/adi_64.c paddr = pte_val(pte) & _PAGE_PADDR_4V; pte_val 382 arch/sparc/kernel/adi_64.c paddr = pte_val(oldpte) & _PAGE_PADDR_4V; pte_val 144 arch/sparc/mm/hugetlbpage.c pte_val(entry) = pte_val(entry) & ~_PAGE_SZALL_4V; pte_val 149 arch/sparc/mm/hugetlbpage.c pte_val(entry) |= _PAGE_PUD_HUGE; pte_val 153 arch/sparc/mm/hugetlbpage.c pte_val(entry) |= _PAGE_PMD_HUGE; pte_val 157 arch/sparc/mm/hugetlbpage.c pte_val(entry) |= _PAGE_PMD_HUGE; pte_val 160 arch/sparc/mm/hugetlbpage.c pte_val(entry) |= _PAGE_PMD_HUGE; pte_val 169 arch/sparc/mm/hugetlbpage.c pte_val(entry) = pte_val(entry) | hugepage_size; pte_val 203 arch/sparc/mm/hugetlbpage.c unsigned long tte_szbits = pte_val(entry) & _PAGE_SZALL_4V; pte_val 231 arch/sparc/mm/hugetlbpage.c unsigned long tte_szbits = pte_val(entry) & _PAGE_SZALL_4U; pte_val 262 arch/sparc/mm/hugetlbpage.c pte_val(entry)); pte_val 347 arch/sparc/mm/hugetlbpage.c ptep[i] = __pte(pte_val(entry) + (i << shift)); pte_val 452 arch/sparc/mm/init_64.c pte_val(pte) &= ~mask; pte_val 453 arch/sparc/mm/init_64.c pte_val(pte) |= (address & mask); pte_val 458 arch/sparc/mm/init_64.c pte_val(pte) |= (address & (1UL << REAL_HPAGE_SHIFT)); pte_val 463 arch/sparc/mm/init_64.c REAL_HPAGE_SHIFT, address, pte_val(pte)); pte_val 470 arch/sparc/mm/init_64.c address, pte_val(pte)); pte_val 537 arch/sparc/mm/init_64.c paddr = pte_val(*ptep) & mask; pte_val 1704 arch/sparc/mm/init_64.c u64 pte_val = vstart; pte_val 1709 arch/sparc/mm/init_64.c pte_val ^= kern_linear_pte_xor[2]; pte_val 1710 arch/sparc/mm/init_64.c pud_val(*pud) = pte_val | _PAGE_PUD_HUGE; pte_val 1715 arch/sparc/mm/init_64.c pte_val ^= kern_linear_pte_xor[3]; pte_val 1716 arch/sparc/mm/init_64.c pte_val |= _PAGE_PUD_HUGE; pte_val 1720 arch/sparc/mm/init_64.c pud_val(*pud) = pte_val; pte_val 1722 arch/sparc/mm/init_64.c pte_val += PUD_SIZE; pte_val 1744 arch/sparc/mm/init_64.c u64 pte_val = vstart; pte_val 1749 arch/sparc/mm/init_64.c pte_val ^= kern_linear_pte_xor[0]; pte_val 1750 arch/sparc/mm/init_64.c pmd_val(*pmd) = pte_val | _PAGE_PMD_HUGE; pte_val 1757 arch/sparc/mm/init_64.c pte_val ^= kern_linear_pte_xor[1]; pte_val 1758 arch/sparc/mm/init_64.c pte_val |= _PAGE_PMD_HUGE; pte_val 1761 arch/sparc/mm/init_64.c pte_val ^= kern_linear_pte_xor[2]; pte_val 1762 arch/sparc/mm/init_64.c pte_val |= _PAGE_PMD_HUGE; pte_val 1767 arch/sparc/mm/init_64.c pmd_val(*pmd) = pte_val; pte_val 1769 arch/sparc/mm/init_64.c pte_val += PMD_SIZE; pte_val 1855 arch/sparc/mm/init_64.c pte_val(*pte) = (paddr | pgprot_val(prot)); pte_val 2809 arch/sparc/mm/init_64.c pte_val(pte) = page | pgprot_val(pgprot_noncached(prot)); pte_val 2810 arch/sparc/mm/init_64.c pte_val(pte) |= (((unsigned long)space) << 32); pte_val 2811 arch/sparc/mm/init_64.c pte_val(pte) |= pte_sz_bits(page_size); pte_val 155 arch/sparc/mm/tlb.c if (pte_val(*pte) & _PAGE_VALID) { pte_val 296 arch/sparc/mm/tlb.c pte_val(pgtable[0]) = 0; pte_val 297 arch/sparc/mm/tlb.c pte_val(pgtable[1]) = 0; pte_val 31 arch/um/include/asm/pgtable-2level.h pte_val(e)) pte_val 41 arch/um/include/asm/pgtable-2level.h #define pte_pfn(x) phys_to_pfn(pte_val(x)) pte_val 49 arch/um/include/asm/pgtable-3level.h pte_val(e)) pte_val 99 arch/um/include/asm/pgtable-3level.h return phys_to_pfn(pte_val(pte)); pte_val 274 arch/um/include/asm/pgtable.h return !((pte_val(pte_a) ^ pte_val(pte_b)) & ~_PAGE_NEWPAGE); pte_val 297 arch/um/include/asm/pgtable.h pte_set_val(pte, (pte_val(pte) & _PAGE_CHG_MASK), newprot); pte_val 358 arch/um/include/asm/pgtable.h ((swp_entry_t) { pte_val(pte_mkuptodate(pte)) }) pte_val 247 arch/um/kernel/tlb.c ret = add_mmap(addr, pte_val(*pte) & PAGE_MASK, pte_val 407 arch/um/kernel/tlb.c err = add_mmap(addr, pte_val(*pte) & PAGE_MASK, pte_val 468 arch/um/kernel/tlb.c fd = phys_mapping(pte_val(*pte) & PAGE_MASK, &offset); pte_val 50 arch/unicore32/include/asm/pgtable.h #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte)) pte_val 150 arch/unicore32/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) pte_val 154 arch/unicore32/include/asm/pgtable.h #define pte_none(pte) (!pte_val(pte)) pte_val 175 arch/unicore32/include/asm/pgtable.h #define pte_present(pte) (pte_val(pte) & PTE_PRESENT) pte_val 176 arch/unicore32/include/asm/pgtable.h #define pte_write(pte) (pte_val(pte) & PTE_WRITE) pte_val 177 arch/unicore32/include/asm/pgtable.h #define pte_dirty(pte) (pte_val(pte) & PTE_DIRTY) pte_val 178 arch/unicore32/include/asm/pgtable.h #define pte_young(pte) (pte_val(pte) & PTE_YOUNG) pte_val 179 arch/unicore32/include/asm/pgtable.h #define pte_exec(pte) (pte_val(pte) & PTE_EXEC) pte_val 183 arch/unicore32/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } pte_val 242 arch/unicore32/include/asm/pgtable.h pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); pte_val 271 arch/unicore32/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 78 arch/unicore32/mm/fault.c printk(", *pte=%08lx", pte_val(*pte)); pte_val 379 arch/x86/include/asm/paravirt.h ret = PVOP_CALLEE2(pteval_t, mmu.pte_val, pte_val 382 arch/x86/include/asm/paravirt.h ret = PVOP_CALLEE1(pteval_t, mmu.pte_val, pte.pte); pte_val 258 arch/x86/include/asm/paravirt_types.h struct paravirt_callee_save pte_val; pte_val 213 arch/x86/include/asm/pgtable.h phys_addr_t pfn = pte_val(pte); pte_val 606 arch/x86/include/asm/pgtable.h pteval_t val = pte_val(pte), oldval = val; pte_val 1447 arch/x86/include/asm/pgtable.h return __pte_access_permitted(pte_val(pte), write); pte_val 36 arch/x86/include/asm/pgtable_64.h __FILE__, __LINE__, &(e), pte_val(e)) pte_val 233 arch/x86/include/asm/pgtable_64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) pte_val 99 arch/x86/include/uapi/asm/kvm_para.h __u64 pte_val; pte_val 419 arch/x86/kernel/paravirt.c .mmu.pte_val = PTE_IDENT, pte_val 324 arch/x86/mm/fault.c pr_cont("*pte = %0*Lx ", sizeof(*pte) * 2, (u64)pte_val(*pte)); pte_val 491 arch/x86/mm/fault.c pr_cont("PTE %lx", pte_val(*pte)); pte_val 980 arch/x86/mm/init_64.c phys_addr = pte_val(*pte) + (addr & PAGE_MASK); pte_val 1487 arch/x86/mm/init_64.c set_pmd(pmd, __pmd(pte_val(entry))); pte_val 268 arch/x86/mm/kasan_init_64.c pteval_t pte_val = __pa_nodebug(kasan_early_shadow_page) | pte_val 275 arch/x86/mm/kasan_init_64.c pte_val &= __default_kernel_pte_mask; pte_val 281 arch/x86/mm/kasan_init_64.c kasan_early_shadow_pte[i] = __pte(pte_val); pte_val 143 arch/x86/mm/kmmio.c pteval_t v = pte_val(*pte); pte_val 99 arch/x86/mm/mmio-mod.c (unsigned long long)pte_val(*pte), pte_val 100 arch/x86/mm/mmio-mod.c (unsigned long long)pte_val(*pte) & _PAGE_PRESENT); pte_val 74 arch/x86/mm/pageattr-test.c if ((pte_val(*pte) & _PAGE_PRESENT) && !(pte_val(*pte) & _PAGE_PSE)) { pte_val 77 arch/x86/mm/pageattr-test.c addr, level, (u64)pte_val(*pte)); pte_val 86 arch/x86/mm/pageattr-test.c if (!(pte_val(*pte) & _PAGE_NX)) { pte_val 155 arch/x86/mm/pageattr-test.c !(pte_val(*pte) & _PAGE_PRESENT)) { pte_val 204 arch/x86/mm/pageattr-test.c pte ? (u64)pte_val(*pte) : 0ULL); pte_val 235 arch/x86/mm/pageattr-test.c addr[i], pte ? (u64)pte_val(*pte) : 0ULL); pte_val 374 arch/x86/mm/pageattr.c if (pte && (pte_val(*pte) & _PAGE_PRESENT)) pte_val 1532 arch/x86/mm/pageattr.c if (pte_val(old_pte) != pte_val(new_pte)) { pte_val 2207 arch/x86/mm/pageattr.c return (pte_val(*pte) & _PAGE_PRESENT); pte_val 244 arch/x86/power/hibernate.c set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX)); pte_val 2417 arch/x86/xen/mmu_pv.c .pte_val = PV_CALLEE_SAVE(xen_pte_val), pte_val 226 arch/xtensa/include/asm/pgtable.h printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) pte_val 251 arch/xtensa/include/asm/pgtable.h # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) pte_val 253 arch/xtensa/include/asm/pgtable.h # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) pte_val 256 arch/xtensa/include/asm/pgtable.h (((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) \ pte_val 257 arch/xtensa/include/asm/pgtable.h || ((pte_val(pte) & _PAGE_ATTRIB_MASK) == _PAGE_NONE)) pte_val 267 arch/xtensa/include/asm/pgtable.h static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } pte_val 268 arch/xtensa/include/asm/pgtable.h static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } pte_val 269 arch/xtensa/include/asm/pgtable.h static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } pte_val 273 arch/xtensa/include/asm/pgtable.h { pte_val(pte) &= ~(_PAGE_WRITABLE | _PAGE_HW_WRITE); return pte; } pte_val 275 arch/xtensa/include/asm/pgtable.h { pte_val(pte) &= ~(_PAGE_DIRTY | _PAGE_HW_WRITE); return pte; } pte_val 277 arch/xtensa/include/asm/pgtable.h { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } pte_val 279 arch/xtensa/include/asm/pgtable.h { pte_val(pte) |= _PAGE_DIRTY; return pte; } pte_val 281 arch/xtensa/include/asm/pgtable.h { pte_val(pte) |= _PAGE_ACCESSED; return pte; } pte_val 283 arch/xtensa/include/asm/pgtable.h { pte_val(pte) |= _PAGE_WRITABLE; return pte; } pte_val 294 arch/xtensa/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) pte_val 295 arch/xtensa/include/asm/pgtable.h #define pte_same(a,b) (pte_val(a) == pte_val(b)) pte_val 302 arch/xtensa/include/asm/pgtable.h return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); pte_val 396 arch/xtensa/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) pte_val 186 arch/xtensa/mm/tlb.c return pte_val(*pte); pte_val 495 drivers/gpu/drm/drm_vm.c __pgprot(pte_val pte_val 579 drivers/gpu/drm/drm_vm.c __pgprot(pte_val pte_val 241 drivers/misc/habanalabs/mmu.c hop2_pte_addr, hop3_pte_addr, pte_val; pte_val 291 drivers/misc/habanalabs/mmu.c pte_val = (hop1_addr & PTE_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; pte_val 292 drivers/misc/habanalabs/mmu.c write_pte(ctx, hop0_addr, pte_val); pte_val 294 drivers/misc/habanalabs/mmu.c pte_val = (hop2_addr & PTE_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; pte_val 295 drivers/misc/habanalabs/mmu.c write_pte(ctx, hop1_addr, pte_val); pte_val 300 drivers/misc/habanalabs/mmu.c pte_val = (ctx->dram_default_hops[i] & PTE_PHYS_ADDR_MASK) | pte_val 302 drivers/misc/habanalabs/mmu.c write_pte(ctx, hop2_pte_addr, pte_val); pte_val 307 drivers/misc/habanalabs/mmu.c pte_val = (prop->mmu_dram_default_page_addr & PTE_PHYS_ADDR_MASK) | pte_val 313 drivers/misc/habanalabs/mmu.c write_final_pte(ctx, hop3_pte_addr, pte_val); pte_val 335 include/asm-generic/pgtable.h return pte_val(pte_a) == pte_val(pte_b); pte_val 145 include/trace/events/xen.h (int)sizeof(pteval_t) * 2, (unsigned long long)pte_val(native_make_pte(__entry->pteval)), pte_val 172 include/trace/events/xen.h (int)sizeof(pteval_t) * 2, (unsigned long long)pte_val(native_make_pte(__entry->pteval)), pte_val 294 include/trace/events/xen.h (int)sizeof(pteval_t) * 2, (unsigned long long)pte_val(native_make_pte(__entry->pteval)), pte_val 1867 mm/gup.c if (unlikely(pte_val(pte) != pte_val(*ptep))) { pte_val 2029 mm/gup.c if (unlikely(pte_val(pte) != pte_val(*ptep))) { pte_val 518 mm/memory.c (long long)pte_val(pte), (long long)pmd_val(*pmd)); pte_val 1292 virt/kvm/arm/mmu.c if (pte_val(old_pte) == pte_val(*new_pte))