Searched refs:pfn_to_page (Results 1 – 25 of 136) sorted by relevance
123456
81 #define phys_to_page(phys) (pfn_to_page(phys >> PAGE_SHIFT))88 #define pfn_to_page(pfn) (mem_map + ((pfn) - PHYS_PFN_OFFSET)) macro93 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
72 #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))
67 #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)
77 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()
152 # 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)))
79 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys)))142 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
108 #define pfn_to_page(pfn) (mem_map + ((pfn) - __pfn_disp)) macro117 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
178 start = (unsigned long)(pfn_to_page(vmemmap_section_start(start))); in vmemmap_populated()383 struct page *page = pfn_to_page(addr >> PAGE_SHIFT); in vmemmap_free()433 unsigned long pg_va = (unsigned long) pfn_to_page(pfn); in realmode_pfn_to_page()457 struct page *page = pfn_to_page(pfn); in realmode_pfn_to_page()
70 #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)))
110 page = pfn_to_page(pfn1); in show_mem()111 end = pfn_to_page(pfn2 - 1) + 1; in show_mem()126 page = pfn_to_page(pfn1); in show_mem()389 start_pg = pfn_to_page(start_pfn - 1) + 1; in free_memmap()390 end_pg = pfn_to_page(end_pfn - 1) + 1; in free_memmap()464 free_highmem_page(pfn_to_page(pfn)); in free_area_high()529 set_max_mapnr(pfn_to_page(max_pfn) - mem_map); in mem_init()
196 start_pg = pfn_to_page(start_pfn - 1) + 1; in free_memmap()197 end_pg = pfn_to_page(end_pfn - 1) + 1; in free_memmap()262 set_max_mapnr(pfn_to_page(max_pfn) - mem_map); in mem_init()
152 pfn_to_page(virt_to_pfn(addr)); \158 #define pfn_to_page(pfn) ({ \ macro
31 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn)) macro
60 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()
18 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT))
78 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
63 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
125 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys)))325 #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr))
50 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()
107 # define pfn_to_page(pfn) (vmem_map + (pfn)) macro124 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
271 return kmap_atomic(pfn_to_page(pfn)); in kmap_atomic_pfn()275 return kmap_atomic_prot(pfn_to_page(pfn), prot); in kmap_atomic_prot_pfn()
204 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page()222 page = pfn_to_page(pfn); in update_mmu_cache()
107 #define pte_page(x) pfn_to_page(pte_pfn(x))123 #define pte_page(x) pfn_to_page(pte_pfn(x))
225 #define pte_page(x) pfn_to_page(pte_pfn(x))255 #define pud_page(pud) (pfn_to_page(pud_phys(pud) >> PAGE_SHIFT))
130 return pfn_to_page((pmd_val(pmd) & SRMMU_PTD_PMASK) >> (PAGE_SHIFT-4)); in pmd_page()269 #define pfn_pte(pfn, prot) mk_pte(pfn_to_page(pfn), prot)284 #define pte_page(pte) pfn_to_page(pte_pfn(pte))