Searched refs:pte_pfn (Results 1 - 102 of 102) sorted by relevance

/linux-4.4.14/arch/um/include/asm/
H A Dpgtable-2level.h40 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
H A Dpgtable-3level.h96 static inline unsigned long pte_pfn(pte_t pte) pte_pfn() function
H A Dpgtable.h113 #define pte_page(x) pfn_to_page(pte_pfn(x))
/linux-4.4.14/arch/avr32/include/asm/
H A Dpgtable-2level.h41 #define pte_pfn(x) ((unsigned long)(((x).pte >> PAGE_SHIFT))) macro
H A Dpgtable.h260 #define pte_page(x) (pfn_to_page(pte_pfn(x)))
/linux-4.4.14/arch/m32r/include/asm/
H A Dpgtable-2level.h68 #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 Dpgtable-32.h107 #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 Dpgtable-64.h225 #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 Dpgtable.h248 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval))) set_pte_at()
/linux-4.4.14/arch/tile/gxio/
H A Dkiorpc.c56 pfn = pte_pfn(mmio_base) + PFN_DOWN(offset); iorpc_ioremap()
/linux-4.4.14/arch/x86/kernel/
H A Dcrash_dump_32.c27 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; is_crashed_pfn_valid()
/linux-4.4.14/arch/alpha/include/asm/
H A Dmmzone.h76 #define pte_pfn(pte) (pte_val(pte) >> 32) macro
H A Dpgtable.h208 #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 Dhugepage.h38 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
H A Dpgtable.h279 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/linux-4.4.14/arch/mips/mm/
H A Dgup.c50 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 Dcache.c134 pfn = pte_pfn(pte); __update_cache()
/linux-4.4.14/arch/powerpc/mm/
H A Dhugetlbpage-book3e.c126 mas7_3 = (u64)pte_pfn(pte) << PAGE_SHIFT; book3e_hugetlb_preload()
H A Dhugetlbpage-hash64.c91 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; __hash_page_huge()
H A Ddma-noncoherent.c287 pfn = pte_pfn(*ptep); __dma_free_coherent()
419 return pte_pfn(*ptep); __dma_get_coherent_pfn()
H A Dpgtable.c53 unsigned long pfn = pte_pfn(pte); maybe_pte_to_page()
H A Dhugetlbpage.c1091 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); gup_hugepte()
H A Dhash_utils_64.c856 if (!pfn_valid(pte_pfn(pte))) hash_page_do_lazy_icache()
/linux-4.4.14/arch/score/include/asm/
H A Dpgtable.h65 #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 Dpgtable.h104 #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 Dconsistent.c174 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 Dpgtable.h197 #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 Dp2m.c457 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 Denlighten.c497 pfn = pte_pfn(*ptep); set_aliased_prot()
621 pfn = pte_pfn(*ptep); xen_load_gdt()
H A Dmmu.c1189 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 Dcache.c80 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 Dpgtable.h312 #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 Dtlb.c119 unsigned long paddr, pfn = pte_pfn(orig); tlb_batch_add()
H A Dgup.c44 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); gup_pte_range()
H A Dfault_64.c132 pa = (pte_pfn(pte) << PAGE_SHIFT); get_user_insn()
H A Dinit_64.c334 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 Dpgtable.h262 #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 Dpgtable_64.h105 #define pud_pfn(pud) pte_pfn(pud_pte(pud))
/linux-4.4.14/arch/powerpc/kernel/
H A Dio-workarounds.c84 paddr = pte_pfn(*ptep) << PAGE_SHIFT; iowa_mem_find_bus()
H A Deeh.c359 pa = pte_pfn(*ptep) << PAGE_SHIFT; eeh_token_to_phys()
/linux-4.4.14/arch/sh/include/asm/
H A Dpgtable.h127 #define pte_pfn(x) ((unsigned long)(((x).pte_low >> PAGE_SHIFT))) macro
H A Dpgtable_32.h333 #define pte_page(x) pfn_to_page(pte_pfn(x))
/linux-4.4.14/arch/unicore32/include/asm/
H A Dpgtable.h152 #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 Dpgtable.h73 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 Dpgtable-ppc64.h515 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
/linux-4.4.14/arch/sparc/include/asm/
H A Dpgtable_32.h264 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 Dpgtable_64.h257 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 Dpgtable.h209 #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 Dpage_tables.c227 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 Dlg.h145 * first step in the migration to the kernel types. pte_pfn is already defined
/linux-4.4.14/arch/ia64/include/asm/
H A Dpgtable.h253 #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 Dpgtable.h287 #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 Dpgtable.h314 #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 Dsmp.c249 offset = PFN_PHYS(pte_pfn(pte)); for_each_possible_cpu()
H A Dsetup.c1601 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 Dpage.h228 * use FOREIGN_FRAME(). This will cause pte_pfn() to choke on it, as we
/linux-4.4.14/arch/xtensa/mm/
H A Dcache.c216 unsigned long pfn = pte_pfn(*ptep); update_mmu_cache()
/linux-4.4.14/mm/
H A Dsparse-vmemmap.c93 unsigned long pfn = pte_pfn(*pte); vmemmap_verify()
H A Dgup.c108 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 Dhuge_memory.c2191 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 Dmemory.c753 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 Drmap.c786 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 Dksm.c963 flush_cache_page(vma, addr, pte_pfn(*ptep)); replace_page()
/linux-4.4.14/arch/s390/mm/
H A Dgup.c38 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); gup_pte_range()
H A Dpgtable.c1165 if (is_zero_pfn(pte_pfn(*pte))) { __s390_enable_skey()
/linux-4.4.14/arch/score/mm/
H A Dcache.c85 pfn = pte_pfn(pte); __update_cache()
/linux-4.4.14/arch/sh/kernel/
H A Dio_trapped.c162 return pfn_to_kaddr(pte_pfn(entry)); lookup_tiop()
/linux-4.4.14/arch/sh/mm/
H A Dcache.c138 unsigned long pfn = pte_pfn(pte); __update_cache()
H A Dgup.c105 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); gup_pte_range()
/linux-4.4.14/arch/m68k/include/asm/
H A Dmcf_pgtable.h404 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
H A Dsun3_pgtable.h129 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) macro
H A Dmotorola_pgtable.h134 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/linux-4.4.14/arch/nios2/mm/
H A Dcacheflush.c203 unsigned long pfn = pte_pfn(*pte); update_mmu_cache()
/linux-4.4.14/arch/arm/mm/
H A Dfault-armv.c183 unsigned long pfn = pte_pfn(*ptep); update_mmu_cache()
H A Dflush.c282 pfn = pte_pfn(pteval); __sync_icache_dcache()
H A Dmmu.c1561 map.pfn = pte_pfn(*pte); early_fixmap_shutdown()
/linux-4.4.14/arch/x86/include/asm/
H A Dpgtable.h145 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 Dpgtable.h410 #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 Dpgtable.h131 #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 Ddma.c304 pfn = pte_pfn(pte); dma_free_coherent()
/linux-4.4.14/arch/cris/include/asm/
H A Dpgtable.h252 #define pte_pfn(x) ((unsigned long)(__va((x).pte)) >> PAGE_SHIFT) macro
/linux-4.4.14/arch/unicore32/mm/
H A Dmmu.c491 unsigned long pfn = pte_pfn(*ptep); update_mmu_cache()
/linux-4.4.14/arch/x86/mm/
H A Dgup.c96 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); gup_pte_range()
H A Dfault.c435 if (!pte_present(*pte) || pte_pfn(*pte) != pte_pfn(*pte_ref)) vmalloc_fault()
H A Dpageattr.c440 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 Dinit_64.c1192 return pfn_valid(pte_pfn(*pte)); kern_addr_valid()
/linux-4.4.14/arch/powerpc/perf/
H A Dcallchain.c142 pfn = pte_pfn(pte); read_user_stack_slow()
/linux-4.4.14/arch/openrisc/include/asm/
H A Dpgtable.h404 #define pte_pfn(x) ((unsigned long)(((x).pte)) >> PAGE_SHIFT) macro
/linux-4.4.14/arch/arm/kvm/
H A Dmmu.c221 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 Dbook3s_hv_rm_mmu.c38 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 Dpgtable.c434 unsigned long pfn = pte_pfn(pte); set_pte()
H A Dfault.c174 pte->val, pte_pfn(*pte)); wait_for_migration()
H A Dinit.c147 pte_t *pte = get_prealloc_pte(pte_pfn(*(pte_t *)pmd)); shatter_pmd()
/linux-4.4.14/arch/microblaze/include/asm/
H A Dpgtable.h310 #define pte_pfn(x) (pte_val(x) >> PFN_SHIFT_OFFSET) macro
/linux-4.4.14/arch/frv/include/asm/
H A Dpgtable.h270 #define pte_pfn(x) ((unsigned long)(((x).pte >> PAGE_SHIFT))) macro
/linux-4.4.14/arch/arm64/mm/
H A Dmmu.c506 return pfn_valid(pte_pfn(*pte)); kern_addr_valid()
/linux-4.4.14/fs/proc/
H A Dtask_mmu.c1078 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 Dpgtable.h1342 #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 Dgrufault.c249 *paddr = pte_pfn(pte) << PAGE_SHIFT; atomic_pte_lookup()
/linux-4.4.14/arch/arc/mm/
H A Dtlb.c600 struct page *page = pfn_to_page(pte_pfn(*ptep)); update_mmu_cache()
/linux-4.4.14/kernel/events/
H A Duprobes.c187 flush_cache_page(vma, addr, pte_pfn(*ptep)); __replace_page()
/linux-4.4.14/arch/x86/kvm/
H A Dmmu.c1395 new_pfn = pte_pfn(*ptep); kvm_set_pte_rmapp()

Completed in 4141 milliseconds