Home
last modified time | relevance | path

Searched refs:pfn_to_page (Results 1 – 25 of 145) sorted by relevance

123456

/arch/alpha/include/asm/
Dmmzone.h72 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
74 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> 32))
75 #define pgd_page(pgd) (pfn_to_page(pgd_val(pgd) >> 32))
/arch/unicore32/include/asm/
Dmemory.h67 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys)))
103 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
/arch/avr32/include/asm/
Dpage.h81 #define phys_to_page(phys) (pfn_to_page(phys >> PAGE_SHIFT))
91 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
/arch/unicore32/mm/
Dinit.c77 page = pfn_to_page(pfn1); in show_mem()
78 end = pfn_to_page(pfn2 - 1) + 1; in show_mem()
325 start_pg = pfn_to_page(start_pfn - 1) + 1; in free_memmap()
326 end_pg = pfn_to_page(end_pfn); in free_memmap()
383 max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; in mem_init()
/arch/microblaze/include/asm/
Dpage.h152 # define virt_to_page(kaddr) (pfn_to_page(__pa(kaddr) >> PAGE_SHIFT))
157 # define virt_to_page(vaddr) (pfn_to_page(virt_to_pfn(vaddr)))
161 # define phys_to_page(paddr) (pfn_to_page(phys_to_pfn(paddr)))
/arch/mn10300/include/asm/
Dpage.h108 #define pfn_to_page(pfn) (mem_map + ((pfn) - __pfn_disp)) macro
118 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
/arch/powerpc/mm/
Dinit_64.c185 start = (unsigned long)(pfn_to_page(vmemmap_section_start(start))); in vmemmap_populated()
336 struct page *page = pfn_to_page(addr >> PAGE_SHIFT); in vmemmap_free()
386 unsigned long pg_va = (unsigned long) pfn_to_page(pfn); in realmode_pfn_to_page()
410 struct page *page = pfn_to_page(pfn); in realmode_pfn_to_page()
Dmmu_context_iommu.c175 put_page(pfn_to_page(mem->hpas[j] >> in mm_iommu_get()
195 put_page(pfn_to_page(mem->hpas[j] >> in mm_iommu_get()
233 page = pfn_to_page(mem->hpas[i] >> PAGE_SHIFT); in mm_iommu_unpin()
/arch/score/include/asm/
Dpage.h70 #define virt_to_page(vaddr) (pfn_to_page(virt_to_pfn(vaddr)))
75 #define phys_to_page(paddr) (pfn_to_page(phys_to_pfn(paddr)))
/arch/m68k/include/asm/
Dpage_mm.h149 pfn_to_page(virt_to_pfn(addr)); \
155 #define pfn_to_page(pfn) ({ \ macro
Dpage_no.h28 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn)) macro
/arch/sh/mm/
Dconsistent.c60 split_page(pfn_to_page(virt_to_phys(ret) >> PAGE_SHIFT), order); in dma_generic_alloc_coherent()
76 __free_pages(pfn_to_page(pfn + k), 0); in dma_generic_free_coherent()
/arch/m32r/include/asm/
Dmmzone.h18 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT))
/arch/arm64/include/asm/
Dmemory.h108 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys)))
209 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
/arch/powerpc/include/asm/
Dpgtable.h26 #define pte_page(x) pfn_to_page(pte_pfn(x))
/arch/arm/include/asm/
Dkexec.h76 return pfn_to_page(boot_pfn - (arch_phys_to_idmap_offset >> PAGE_SHIFT)); in boot_pfn_to_page()
Dmemory.h127 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys)))
347 #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr))
/arch/x86/include/asm/
Dpage.h68 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
/arch/x86/kernel/
Dkdebugfs.c50 pg = pfn_to_page((pa + count - 1) >> PAGE_SHIFT); in setup_data_read()
129 pg = pfn_to_page((pa_data+sizeof(*data)-1) >> PAGE_SHIFT); in create_setup_data_nodes()
/arch/ia64/include/asm/
Dpage.h107 # define pfn_to_page(pfn) (vmem_map + (pfn)) macro
125 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
/arch/tile/mm/
Dhighmem.c272 return kmap_atomic(pfn_to_page(pfn)); in kmap_atomic_pfn()
276 return kmap_atomic_prot(pfn_to_page(pfn), prot); in kmap_atomic_prot_pfn()
/arch/arm64/mm/
Dinit.c341 start_pg = pfn_to_page(start_pfn - 1) + 1; in free_memmap()
342 end_pg = pfn_to_page(end_pfn - 1) + 1; in free_memmap()
413 set_max_mapnr(pfn_to_page(max_pfn) - mem_map); in mem_init()
/arch/s390/mm/
Dpgalloc.c225 page = pfn_to_page(__pa(table) >> PAGE_SHIFT); in page_table_free()
253 page = pfn_to_page(__pa(table) >> PAGE_SHIFT); in page_table_free_rcu()
276 struct page *page = pfn_to_page(__pa(table) >> PAGE_SHIFT); in __tlb_remove_table()
/arch/sparc/include/asm/
Dpgtable_32.h131 return pfn_to_page((pmd_val(pmd) & SRMMU_PTD_PMASK) >> (PAGE_SHIFT-4)); in pmd_page()
262 #define pfn_pte(pfn, prot) mk_pte(pfn_to_page(pfn), prot)
277 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
/arch/mips/include/asm/
Dpgtable-64.h229 #define pte_page(x) pfn_to_page(pte_pfn(x))
259 #define pud_page(pud) (pfn_to_page(pud_phys(pud) >> PAGE_SHIFT))

123456