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