/linux-4.4.14/arch/mips/include/asm/ |
D | pgtable-32.h | 107 #define pte_page(x) pfn_to_page(pte_pfn(x)) 108 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<… macro 123 #define pte_page(x) pfn_to_page(pte_pfn(x)) 126 #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) macro 129 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) macro
|
D | pgtable-64.h | 225 #define pte_page(x) pfn_to_page(pte_pfn(x)) 228 #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) macro 231 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) macro
|
D | pgtable.h | 248 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval))) in set_pte_at()
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | pgtable-2level.h | 68 #define pte_page(x) pfn_to_page(pte_pfn(x)) 70 #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) macro
|
/linux-4.4.14/drivers/lguest/ |
D | page_tables.c | 227 pfn = get_pfn(base + pte_pfn(gpte), write); in gpte_to_spte() 229 kill_guest(cpu, "failed to get page %lu", pte_pfn(gpte)); in gpte_to_spte() 259 return (pte_pfn(gpte) >= cpu->lg->pfn_limit in gpte_in_iomem() 260 && pte_pfn(gpte) < cpu->lg->device_limit); in gpte_in_iomem() 266 pte_pfn(gpte) >= cpu->lg->pfn_limit) { in check_gpte() 482 *iomem = (pte_pfn(gpte) << PAGE_SHIFT) | (vaddr & ~PAGE_MASK); in demand_page() 707 *paddr = pte_pfn(gpte) * PAGE_SIZE | (vaddr & ~PAGE_MASK); in __guest_pa()
|
/linux-4.4.14/arch/mips/mm/ |
D | gup.c | 50 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range() 82 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_huge_pmd() 148 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_huge_pud()
|
D | cache.c | 134 pfn = pte_pfn(pte); in __update_cache()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | pgtable.h | 262 #define pte_page(x) pfn_to_page(pte_pfn(x)) 269 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function 311 return pfn_pte(pte_pfn(pte), newprot); in pte_modify() 481 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
|
D | pgtable_64.h | 105 #define pud_pfn(pud) pte_pfn(pud_pte(pud))
|
/linux-4.4.14/arch/microblaze/mm/ |
D | consistent.c | 174 return pte_pfn(*ptep); in consistent_virt_to_pfn() 207 pfn = pte_pfn(*ptep); in consistent_free()
|
/linux-4.4.14/arch/x86/xen/ |
D | p2m.c | 457 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in get_phys_to_machine() 590 p2m_pfn = pte_pfn(READ_ONCE(*ptep)); in xen_alloc_p2m_entry() 607 if (pte_pfn(*ptep) == p2m_pfn) { in xen_alloc_p2m_entry() 683 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_missing))) in __set_phys_to_machine() 686 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in __set_phys_to_machine()
|
D | enlighten.c | 497 pfn = pte_pfn(*ptep); in set_aliased_prot() 621 pfn = pte_pfn(*ptep); in xen_load_gdt()
|
D | mmu.c | 1189 pa = pte_pfn(pte[i]) << PAGE_SHIFT; in xen_cleanmfnmap() 1580 pfn = pte_pfn(pte); in mask_rw_pte() 2078 pa = pte_pfn(pte) << PAGE_SHIFT; in xen_early_virt_to_phys()
|
/linux-4.4.14/arch/tile/gxio/ |
D | kiorpc.c | 56 pfn = pte_pfn(mmio_base) + PFN_DOWN(offset); in iorpc_ioremap()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | pgtable-2level.h | 41 #define pte_pfn(x) ((unsigned long)(((x).pte >> PAGE_SHIFT))) macro
|
D | pgtable.h | 260 #define pte_page(x) (pfn_to_page(pte_pfn(x)))
|
/linux-4.4.14/arch/um/include/asm/ |
D | pgtable-2level.h | 40 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
|
D | pgtable-3level.h | 96 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
|
D | pgtable.h | 113 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
/linux-4.4.14/arch/x86/kernel/ |
D | crash_dump_32.c | 27 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | pgtable_64.h | 257 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function 276 #define pte_page(x) pfn_to_page(pte_pfn(x)) 668 return pte_pfn(pte); in pmd_pfn() 819 pfn = pte_pfn(pte); in __pmd_page() 846 return pte_pfn(pte); in pud_pfn() 932 unsigned long this_pfn = pte_pfn(pte); \
|
D | pgtable_32.h | 264 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function 277 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | pgtable.h | 73 static inline unsigned long pte_pfn(pte_t pte) { in pte_pfn() function 77 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
D | pgtable-ppc64.h | 515 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | pgtable.h | 197 #define pte_pfn(pte) (pte_val(pte) & 0xfffff) macro 199 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
|
/linux-4.4.14/arch/metag/include/asm/ |
D | pgtable.h | 104 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro 118 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | pgtable.h | 152 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro 158 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
|
/linux-4.4.14/arch/parisc/kernel/ |
D | cache.c | 80 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache() 546 pfn = pte_pfn(*ptep); in flush_cache_mm() 598 pfn = pte_pfn(*ptep); in flush_cache_range()
|
/linux-4.4.14/arch/score/include/asm/ |
D | pgtable.h | 65 #define pte_page(x) pfn_to_page(pte_pfn(x)) 66 #define pte_pfn(x) ((unsigned long)((x).pte >> PAGE_SHIFT)) macro
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | pgtable.h | 312 #define pte_page(x) pfn_to_page(pte_pfn(x)) 412 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
|
/linux-4.4.14/arch/powerpc/mm/ |
D | dma-noncoherent.c | 287 pfn = pte_pfn(*ptep); in __dma_free_coherent() 419 return pte_pfn(*ptep); in __dma_get_coherent_pfn()
|
D | hugetlbpage-hash64.c | 91 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_huge()
|
D | hugetlbpage-book3e.c | 126 mas7_3 = (u64)pte_pfn(pte) << PAGE_SHIFT; in book3e_hugetlb_preload()
|
D | pgtable.c | 53 unsigned long pfn = pte_pfn(pte); in maybe_pte_to_page()
|
D | hugetlbpage.c | 1091 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_hugepte()
|
D | hash_utils_64.c | 856 if (!pfn_valid(pte_pfn(pte))) in hash_page_do_lazy_icache()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | pgtable.h | 127 #define pte_pfn(x) ((unsigned long)(((x).pte_low >> PAGE_SHIFT))) macro
|
D | pgtable_32.h | 333 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | mmzone.h | 76 #define pte_pfn(pte) (pte_val(pte) >> 32) macro
|
D | pgtable.h | 208 #define pte_pfn(pte) (pte_val(pte) >> 32) macro 209 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | pgtable.h | 253 #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT) macro 337 pte_pfn(*ptep) != pte_pfn(pteval))) in set_pte()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | hugepage.h | 38 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
|
D | pgtable.h | 279 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | pgtable.h | 287 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro 289 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
/linux-4.4.14/arch/arm/include/asm/ |
D | pgtable.h | 209 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) macro 212 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|
/linux-4.4.14/arch/tile/kernel/ |
D | smp.c | 249 offset = PFN_PHYS(pte_pfn(pte)); in ipi_init()
|
D | setup.c | 1601 BUG_ON(pfn != pte_pfn(pte)); in setup_per_cpu_areas() 1616 BUG_ON(pfn != pte_pfn(*ptep)); in setup_per_cpu_areas()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | pgtable.h | 314 #define pte_page(x) pfn_to_page(pte_pfn(x)) 316 #define pte_pfn(x) ((unsigned long) (pte_val(x) >> PAGE_SHIFT)) macro
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | io-workarounds.c | 84 paddr = pte_pfn(*ptep) << PAGE_SHIFT; in iowa_mem_find_bus()
|
D | eeh.c | 359 pa = pte_pfn(*ptep) << PAGE_SHIFT; in eeh_token_to_phys()
|
/linux-4.4.14/arch/score/mm/ |
D | cache.c | 85 pfn = pte_pfn(pte); in __update_cache()
|
/linux-4.4.14/arch/arm/mm/ |
D | fault-armv.c | 183 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache()
|
D | flush.c | 282 pfn = pte_pfn(pteval); in __sync_icache_dcache()
|
D | mmu.c | 1561 map.pfn = pte_pfn(*pte); in early_fixmap_shutdown()
|
/linux-4.4.14/mm/ |
D | sparse-vmemmap.c | 93 unsigned long pfn = pte_pfn(*pte); in vmemmap_verify()
|
D | gup.c | 108 if (is_zero_pfn(pte_pfn(pte))) { in follow_page_pte() 278 if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(*pte))) in get_gate_page() 1079 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range()
|
D | huge_memory.c | 2191 if (!pte_none(pteval) && !is_zero_pfn(pte_pfn(pteval))) in release_pte_pages() 2208 is_zero_pfn(pte_pfn(pteval)))) { in __collapse_huge_page_isolate() 2292 if (pte_none(pteval) || is_zero_pfn(pte_pfn(pteval))) { in __collapse_huge_page_copy() 2295 if (is_zero_pfn(pte_pfn(pteval))) { in __collapse_huge_page_copy() 2664 if (pte_none(pteval) || is_zero_pfn(pte_pfn(pteval))) { in khugepaged_scan_pmd()
|
D | memory.c | 753 unsigned long pfn = pte_pfn(pte); in vm_normal_page() 2049 flush_cache_page(vma, address, pte_pfn(orig_pte)); in wp_page_reuse() 2115 if (is_zero_pfn(pte_pfn(orig_pte))) { in wp_page_copy() 2146 flush_cache_page(vma, address, pte_pfn(orig_pte)); in wp_page_copy() 3637 *pfn = pte_pfn(*ptep); in follow_pfn() 3663 *phys = (resource_size_t)pte_pfn(pte) << PAGE_SHIFT; in follow_phys()
|
D | rmap.c | 786 if (pte_present(*pte) && page_to_pfn(page) == pte_pfn(*pte)) { in __page_check_address() 992 flush_cache_page(vma, address, pte_pfn(*pte)); in page_mkclean_one()
|
D | ksm.c | 963 flush_cache_page(vma, addr, pte_pfn(*ptep)); in replace_page()
|
/linux-4.4.14/arch/sh/mm/ |
D | gup.c | 105 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range()
|
D | cache.c | 138 unsigned long pfn = pte_pfn(pte); in __update_cache()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | pgtable.h | 410 #define pte_pfn(x) (pte_val(x) >> PFN_PTE_SHIFT) macro 412 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
|
/linux-4.4.14/arch/s390/mm/ |
D | gup.c | 38 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range()
|
D | pgtable.c | 1165 if (is_zero_pfn(pte_pfn(*pte))) { in __s390_enable_skey()
|
/linux-4.4.14/arch/sparc/mm/ |
D | tlb.c | 119 unsigned long paddr, pfn = pte_pfn(orig); in tlb_batch_add()
|
D | gup.c | 44 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range()
|
D | fault_64.c | 132 pa = (pte_pfn(pte) << PAGE_SHIFT); in get_user_insn()
|
D | init_64.c | 334 unsigned long pfn = pte_pfn(pte); in update_mmu_cache() 1470 return pfn_valid(pte_pfn(*pte)); in kern_addr_valid()
|
/linux-4.4.14/arch/xtensa/mm/ |
D | cache.c | 216 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache()
|
/linux-4.4.14/arch/sh/kernel/ |
D | io_trapped.c | 162 return pfn_to_kaddr(pte_pfn(entry)); in lookup_tiop()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 129 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) macro
|
D | mcf_pgtable.h | 404 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
|
D | motorola_pgtable.h | 134 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
|
/linux-4.4.14/arch/nios2/mm/ |
D | cacheflush.c | 203 unsigned long pfn = pte_pfn(*pte); in update_mmu_cache()
|
/linux-4.4.14/arch/cris/include/asm/ |
D | pgtable.h | 252 #define pte_pfn(x) ((unsigned long)(__va((x).pte)) >> PAGE_SHIFT) macro
|
/linux-4.4.14/arch/x86/include/asm/ |
D | pgtable.h | 145 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function 160 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|
/linux-4.4.14/arch/x86/mm/ |
D | gup.c | 96 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range()
|
D | fault.c | 435 if (!pte_present(*pte) || pte_pfn(*pte) != pte_pfn(*pte_ref)) in vmalloc_fault()
|
D | pageattr.c | 440 phys_addr = (phys_addr_t)pte_pfn(*pte) << PAGE_SHIFT; in slow_virt_to_phys() 1178 unsigned long pfn = pte_pfn(old_pte); in __change_page_attr()
|
D | init_64.c | 1192 return pfn_valid(pte_pfn(*pte)); in kern_addr_valid()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | pgtable.h | 131 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) macro 137 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
|
/linux-4.4.14/arch/arm/kvm/ |
D | mmu.c | 221 if (!kvm_is_device_pfn(pte_pfn(old_pte))) in unmap_ptes() 313 if (!pte_none(*pte) && !kvm_is_device_pfn(pte_pfn(*pte))) in stage2_flush_ptes() 1377 pfn = pte_pfn(*pte); in handle_access_fault() 1560 stage2_pte = pfn_pte(pte_pfn(pte), PAGE_S2); in kvm_set_spte_hva()
|
/linux-4.4.14/arch/metag/kernel/ |
D | dma.c | 304 pfn = pte_pfn(pte); in dma_free_coherent()
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | pgtable.h | 404 #define pte_pfn(x) ((unsigned long)(((x).pte)) >> PAGE_SHIFT) macro
|
/linux-4.4.14/arch/unicore32/mm/ |
D | mmu.c | 491 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache()
|
/linux-4.4.14/arch/powerpc/perf/ |
D | callchain.c | 142 pfn = pte_pfn(pte); in read_user_stack_slow()
|
/linux-4.4.14/arch/tile/mm/ |
D | pgtable.c | 434 unsigned long pfn = pte_pfn(pte); in set_pte()
|
D | fault.c | 174 pte->val, pte_pfn(*pte)); in wait_for_migration()
|
D | init.c | 147 pte_t *pte = get_prealloc_pte(pte_pfn(*(pte_t *)pmd)); in shatter_pmd()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | pgtable.h | 310 #define pte_pfn(x) (pte_val(x) >> PFN_SHIFT_OFFSET) macro
|
/linux-4.4.14/arch/frv/include/asm/ |
D | pgtable.h | 270 #define pte_pfn(x) ((unsigned long)(((x).pte >> PAGE_SHIFT))) macro
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 38 addr = (pte_pfn(*p) << PAGE_SHIFT) | (addr & ~PAGE_MASK); in real_vmalloc_addr() 254 pa = pte_pfn(pte) << PAGE_SHIFT; in kvmppc_do_h_enter()
|
/linux-4.4.14/arch/arc/mm/ |
D | tlb.c | 600 struct page *page = pfn_to_page(pte_pfn(*ptep)); in update_mmu_cache()
|
/linux-4.4.14/arch/arm64/mm/ |
D | mmu.c | 506 return pfn_valid(pte_pfn(*pte)); in kern_addr_valid()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pgtable.h | 1342 #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) macro 1343 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
D | grufault.c | 249 *paddr = pte_pfn(pte) << PAGE_SHIFT; in atomic_pte_lookup()
|
/linux-4.4.14/fs/proc/ |
D | task_mmu.c | 1078 frame = pte_pfn(pte); in pte_to_pagemap_entry() 1204 frame = pte_pfn(pte) + in pagemap_hugetlb_range()
|
/linux-4.4.14/kernel/events/ |
D | uprobes.c | 187 flush_cache_page(vma, addr, pte_pfn(*ptep)); in __replace_page()
|
/linux-4.4.14/arch/x86/kvm/ |
D | mmu.c | 1395 new_pfn = pte_pfn(*ptep); in kvm_set_pte_rmapp()
|