Searched refs:PFN_DOWN (Results 1 - 90 of 90) sorted by relevance

/linux-4.1.27/include/linux/
H A Dpfn.h10 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) macro
H A Dmemblock.h333 return PFN_DOWN(reg->base + reg->size); memblock_region_memory_end_pfn()
342 return PFN_DOWN(reg->base); memblock_region_reserved_base_pfn()
H A Defi.h1042 *npages = PFN_UP(*addr + (*npages<<EFI_PAGE_SHIFT)) - PFN_DOWN(*addr); memrange_efi_to_native()
/linux-4.1.27/arch/sparc/power/
H A Dhibernate.c23 unsigned long nosave_begin_pfn = PFN_DOWN((unsigned long)&__nosave_begin); pfn_is_nosave()
24 unsigned long nosave_end_pfn = PFN_DOWN((unsigned long)&__nosave_end); pfn_is_nosave()
/linux-4.1.27/arch/mips/power/
H A Dcpu.c39 unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin)); pfn_is_nosave()
/linux-4.1.27/arch/arm/include/asm/xen/
H A Dpage-coherent.h38 bool local = PFN_DOWN(dev_addr) == page_to_pfn(page); xen_dma_map_page()
53 unsigned long pfn = PFN_DOWN(handle); xen_dma_unmap_page()
68 unsigned long pfn = PFN_DOWN(handle); xen_dma_sync_single_for_cpu()
79 unsigned long pfn = PFN_DOWN(handle); xen_dma_sync_single_for_device()
H A Dpage.h61 return XMADDR(PFN_PHYS(pfn_to_mfn(PFN_DOWN(phys.paddr))) | offset); phys_to_machine()
67 return XPADDR(PFN_PHYS(mfn_to_pfn(PFN_DOWN(machine.maddr))) | offset); machine_to_phys()
/linux-4.1.27/arch/nios2/include/asm/
H A Dpage.h93 # define virt_to_page(vaddr) pfn_to_page(PFN_DOWN(virt_to_phys(vaddr)))
94 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
/linux-4.1.27/arch/arm/mach-keystone/
H A Dkeystone.c94 __pv_phys_pfn_offset = PFN_DOWN(offset); keystone_init_meminfo()
100 keystone_dma_pfn_offset = PFN_DOWN(KEYSTONE_HIGH_PHYS_START - keystone_init_meminfo()
/linux-4.1.27/arch/x86/mm/
H A Dinit.c269 limit_pfn = PFN_DOWN(end); split_mem_range()
272 pfn = start_pfn = PFN_DOWN(start); split_mem_range()
281 end_pfn = PFN_DOWN(PMD_SIZE); split_mem_range()
283 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range()
285 end_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range()
295 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range()
297 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); split_mem_range()
299 end_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); split_mem_range()
300 if (end_pfn > round_down(limit_pfn, PFN_DOWN(PMD_SIZE))) split_mem_range()
301 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); split_mem_range()
312 start_pfn = round_up(pfn, PFN_DOWN(PUD_SIZE)); split_mem_range()
313 end_pfn = round_down(limit_pfn, PFN_DOWN(PUD_SIZE)); split_mem_range()
322 start_pfn = round_up(pfn, PFN_DOWN(PMD_SIZE)); split_mem_range()
323 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); split_mem_range()
H A Dnuma_emulation.c34 unsigned long end_pfn = PFN_DOWN(end); mem_hole_size()
H A Dpageattr.c653 if (pfn_range_is_mapped(PFN_DOWN(__pa(address)), __split_large_page()
654 PFN_DOWN(__pa(address)) + 1)) __split_large_page()
H A Dinit_32.c440 unsigned long e_pfn = clamp_t(unsigned long, PFN_DOWN(end), add_highpages_with_active_regions()
/linux-4.1.27/arch/x86/xen/
H A Dp2m.c327 pfn_pte(PFN_DOWN(__pa(p2m_missing)), PAGE_KERNEL_RO)); xen_rebuild_p2m_list()
329 pfn_pte(PFN_DOWN(__pa(p2m_identity)), PAGE_KERNEL_RO)); xen_rebuild_p2m_list()
366 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL)); xen_rebuild_p2m_list()
376 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL_RO)); xen_rebuild_p2m_list()
433 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) get_phys_to_machine()
562 if (p2m_pfn == PFN_DOWN(__pa(p2m_identity)) || alloc_p2m()
563 p2m_pfn == PFN_DOWN(__pa(p2m_missing))) { alloc_p2m()
571 if (p2m_pfn == PFN_DOWN(__pa(p2m_missing))) alloc_p2m()
580 pfn_pte(PFN_DOWN(__pa(p2m)), PAGE_KERNEL)); alloc_p2m()
638 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_missing))) __set_phys_to_machine()
641 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) __set_phys_to_machine()
684 pte = (pte_t *)(mfn_to_virt(PFN_DOWN(map_ops[i].host_addr)) + set_foreign_p2m_mapping()
688 mfn = PFN_DOWN(map_ops[i].dev_bus_addr); set_foreign_p2m_mapping()
H A Dmmu.c130 return PFN_DOWN(maddr.maddr); arbitrary_virt_to_mfn()
820 xen_do_pin(MMUEXT_PIN_L4_TABLE, PFN_DOWN(__pa(pgd))); __xen_pgd_pin()
825 PFN_DOWN(__pa(user_pgd))); __xen_pgd_pin()
834 xen_do_pin(MMUEXT_PIN_L3_TABLE, PFN_DOWN(__pa(pgd))); __xen_pgd_pin()
934 xen_do_pin(MMUEXT_UNPIN_TABLE, PFN_DOWN(__pa(pgd))); __xen_pgd_unpin()
942 PFN_DOWN(__pa(user_pgd))); __xen_pgd_unpin()
1326 mfn = pfn_to_mfn(PFN_DOWN(cr3)); __xen_write_cr3()
1784 if (*pt_base == PFN_DOWN(__pa(addr))) { check_pt_base()
1789 if (*pt_end == PFN_DOWN(__pa(addr))) { check_pt_base()
1818 max_pfn_mapped = PFN_DOWN(__pa(xen_start_info->mfn_list)); xen_setup_kernel_pagetable()
1820 pt_base = PFN_DOWN(__pa(xen_start_info->pt_base)); xen_setup_kernel_pagetable()
1871 PFN_DOWN(__pa_symbol(init_level4_pgt))); xen_setup_kernel_pagetable()
1874 pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, PFN_DOWN(__pa(pgd))); xen_setup_kernel_pagetable()
1907 unsigned long pfn = PFN_DOWN(__pa(swapper_pg_dir)); xen_write_cr3_init()
1934 PFN_DOWN(__pa(initial_page_table))); xen_write_cr3_init()
1948 max_pfn_mapped = PFN_DOWN(__pa(xen_start_info->pt_base) + xen_setup_kernel_pagetable()
1965 pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, PFN_DOWN(__pa(pgd))); xen_setup_kernel_pagetable()
1968 PFN_DOWN(__pa(initial_page_table))); xen_setup_kernel_pagetable()
2003 pte = pfn_pte(PFN_DOWN(__pa(dummy_mapping)), PAGE_KERNEL); xen_set_fixmap()
2013 pte = pfn_pte(PFN_DOWN(__pa(dummy_mapping)), PAGE_KERNEL); xen_set_fixmap()
H A Dsetup.c155 pfn_s = PFN_DOWN(xen_extra_mem[i].start); xen_inv_extra_mem()
182 e_pfn = PFN_DOWN(entry->addr + entry->size); xen_find_pfn_range()
439 unsigned long start_pfn = PFN_DOWN(start); xen_set_identity_and_remap()
642 extra_pages = min(EXTRA_MEM_RATIO * min(max_pfn, PFN_DOWN(MAXMEM)), xen_memory_setup()
655 extra_pages -= PFN_DOWN(size); xen_memory_setup()
657 xen_max_p2m_pfn = PFN_DOWN(addr + size); xen_memory_setup()
/linux-4.1.27/arch/s390/mm/
H A Dinit.c129 max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS); paging_init()
174 unsigned long start_pfn = PFN_DOWN(start); arch_add_memory()
175 unsigned long size_pages = PFN_DOWN(size); arch_add_memory()
/linux-4.1.27/arch/nios2/kernel/
H A Dsetup.c159 max_low_pfn = PFN_DOWN(memory_end); setup_arch()
167 min_low_pfn, PFN_DOWN(PHYS_OFFSET), max_low_pfn); setup_arch()
169 min_low_pfn, PFN_DOWN(PHYS_OFFSET), setup_arch()
/linux-4.1.27/arch/m32r/mm/
H A Ddiscontig.c48 mp->pages = PFN_DOWN(memory_end - memory_start); mem_prof_init()
66 mp->pages = PFN_DOWN(CONFIG_IRAM_SIZE) + holes; mem_prof_init()
/linux-4.1.27/arch/tile/gxio/
H A Dkiorpc.c56 pfn = pte_pfn(mmio_base) + PFN_DOWN(offset); iorpc_ioremap()
/linux-4.1.27/arch/tile/include/asm/
H A Dsetup.h25 #define MAXMEM_PFN PFN_DOWN(MAXMEM)
H A Dpgtable_64.h120 #define pud_page(pud) pfn_to_page(PFN_DOWN(HV_PTFN_TO_CPA(pud_ptfn(pud))))
H A Dpgtable.h271 return PFN_DOWN(hv_pte_get_pa(pte)); pte_pfn()
461 #define pmd_page(pmd) pfn_to_page(PFN_DOWN(HV_PTFN_TO_CPA(pmd_ptfn(pmd))))
/linux-4.1.27/arch/s390/kernel/
H A Dsuspend.c139 unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin)); pfn_is_nosave()
140 unsigned long nosave_end_pfn = PFN_DOWN(__pa(&__nosave_end)); pfn_is_nosave()
141 unsigned long eshared_pfn = PFN_DOWN(__pa(&_eshared)) - 1; pfn_is_nosave()
142 unsigned long stext_pfn = PFN_DOWN(__pa(&_stext)); pfn_is_nosave()
H A Dmachine_kexec.c180 diag10_range(PFN_DOWN(crashk_res.start), machine_kexec_prepare_kdump()
181 PFN_DOWN(crashk_res.end - crashk_res.start + 1)); machine_kexec_prepare_kdump()
H A Dsetup.c466 max_pfn = max_low_pfn = PFN_DOWN(memory_end); setup_memory_end()
491 if (arg->start_pfn < PFN_DOWN(resource_size(&crashk_res))) kdump_mem_notifier()
493 if (arg->start_pfn > PFN_DOWN(crashk_res.end)) kdump_mem_notifier()
495 if (arg->start_pfn + arg->nr_pages - 1 < PFN_DOWN(crashk_res.start)) kdump_mem_notifier()
602 diag10_range(PFN_DOWN(crash_base), PFN_DOWN(crash_size)); reserve_crashkernel()
H A Dearly.c113 stext_pfn = PFN_DOWN(__pa(&_stext)); create_kernel_nss()
114 eshared_pfn = PFN_DOWN(__pa(&_eshared)); create_kernel_nss()
125 sinitrd_pfn = PFN_DOWN(__pa(INITRD_START)); create_kernel_nss()
/linux-4.1.27/mm/
H A Dbootmem.c164 end = PFN_DOWN(physaddr + size); free_bootmem_late()
401 end = PFN_DOWN(physaddr + size); free_bootmem_node()
422 end = PFN_DOWN(physaddr + size); free_bootmem()
443 start = PFN_DOWN(physaddr); reserve_bootmem_node()
464 start = PFN_DOWN(addr); reserve_bootmem()
562 PFN_DOWN(bdata->last_end_off) + 1 == sidx) alloc_bootmem_bdata()
567 merge = PFN_DOWN(start_off) < sidx; alloc_bootmem_bdata()
576 if (__reserve(bdata, PFN_DOWN(start_off) + merge, alloc_bootmem_bdata()
612 if (goal && bdata->node_low_pfn <= PFN_DOWN(goal)) alloc_bootmem_core()
614 if (limit && bdata->node_min_pfn >= PFN_DOWN(limit)) alloc_bootmem_core()
H A Dnobootmem.c77 end = PFN_DOWN(addr + size); free_bootmem_late()
106 PFN_DOWN(end), max_low_pfn); __free_memory_core()
H A Dmemblock.c1002 if (PFN_UP(r->base) >= PFN_DOWN(r->base + r->size)) __next_mem_pfn_range()
1015 *out_end_pfn = PFN_DOWN(r->base + r->size); __next_mem_pfn_range()
1316 end = PFN_DOWN(base + size); __memblock_free_late()
1425 *start_pfn = PFN_DOWN(type->regions[mid].base); memblock_search_pfn_nid()
1426 *end_pfn = PFN_DOWN(type->regions[mid].base + type->regions[mid].size); memblock_search_pfn_nid()
H A Dcma.c200 cma->base_pfn = PFN_DOWN(base); cma_init_reserved_mem()
H A Dmemory_hotplug.c1083 unsigned long start_pfn = PFN_DOWN(start); hotadd_new_pgdat()
1174 u64 start_pfn = PFN_DOWN(start); check_hotplug_memory_range()
2000 ret = walk_memory_range(PFN_DOWN(start), PFN_UP(start + size - 1), NULL, remove_memory()
H A Dpercpu.c349 return max_t(int, PFN_DOWN(end) - PFN_UP(off), 0); pcpu_count_occupied_pages()
524 page_start = PFN_DOWN(head + off); pcpu_fit_in_area()
1000 page_start = PFN_DOWN(off); pcpu_alloc()
2035 PFN_DOWN(size_sum), base, ai->static_size, ai->reserved_size, pcpu_embed_first_chunk()
H A Dpage_alloc.c5249 usable_startpfn = PFN_DOWN(r->base); for_each_memblock()
/linux-4.1.27/drivers/staging/android/ion/
H A Dion_carveout_heap.c97 sg_set_page(table->sgl, pfn_to_page(PFN_DOWN(paddr)), size, 0); ion_carveout_heap_allocate()
157 page = pfn_to_page(PFN_DOWN(heap_data->base)); ion_carveout_heap_create()
H A Dion_chunk_heap.c73 sg_set_page(sg, pfn_to_page(PFN_DOWN(paddr)), ion_chunk_heap_allocate()
148 page = pfn_to_page(PFN_DOWN(heap_data->base)); ion_chunk_heap_create()
/linux-4.1.27/arch/mips/kernel/
H A Dsetup.c331 end = PFN_DOWN(boot_mem_map.map[i].addr bootmem_init()
361 if (max_low_pfn > PFN_DOWN(HIGHMEM_START)) { bootmem_init()
363 highstart_pfn = PFN_DOWN(HIGHMEM_START); bootmem_init()
366 max_low_pfn = PFN_DOWN(HIGHMEM_START); bootmem_init()
388 end = PFN_DOWN(boot_mem_map.map[i].addr bootmem_init()
417 end = PFN_DOWN(boot_mem_map.map[i].addr bootmem_init()
628 arch_mem_addpart(PFN_DOWN(__pa_symbol(&_text)) << PAGE_SHIFT, arch_mem_init()
632 PFN_DOWN(__pa_symbol(&__init_end)) << PAGE_SHIFT, arch_mem_init()
/linux-4.1.27/arch/hexagon/include/asm/
H A Dpage.h73 * This is for PFN_DOWN, which mm.h needs. Seems the right place to pull it in.
106 #define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(__pa(kaddr)))
/linux-4.1.27/drivers/xen/
H A Dswiotlb-xen.c85 unsigned long mfn = pfn_to_mfn(PFN_DOWN(paddr)); xen_phys_to_bus()
95 unsigned long pfn = mfn_to_pfn(PFN_DOWN(baddr)); xen_bus_to_phys()
129 unsigned long pfn = PFN_DOWN(p); range_straddles_page_boundary()
141 unsigned long mfn = PFN_DOWN(dma_addr); is_xen_swiotlb_buffer()
401 !xen_arch_need_swiotlb(dev, PFN_DOWN(phys), PFN_DOWN(dev_addr)) && xen_swiotlb_map_page()
560 xen_arch_need_swiotlb(hwdev, PFN_DOWN(paddr), PFN_DOWN(dev_addr)) || for_each_sg()
H A Dballoon.c245 pfn = PFN_DOWN(hotplug_start_paddr); reserve_additional_memory()
644 PFN_DOWN(xen_extra_mem[i].size)); balloon_init()
H A Dgrant-table.c658 pfn[i] = PFN_DOWN(addr) + i; gnttab_setup_auto_xlat_frames()
/linux-4.1.27/arch/score/include/asm/
H A Dpage.h64 #define phys_to_pfn(phys) (PFN_DOWN(phys))
/linux-4.1.27/arch/x86/include/asm/xen/
H A Dpage.h172 return XMADDR(PFN_PHYS(pfn_to_mfn(PFN_DOWN(phys.paddr))) | offset); phys_to_machine()
178 return XPADDR(PFN_PHYS(mfn_to_pfn(PFN_DOWN(machine.maddr))) | offset); machine_to_phys()
216 #define virt_to_pfn(v) (PFN_DOWN(__pa(v)))
/linux-4.1.27/arch/hexagon/mm/
H A Dinit.c172 bootmem_lastpg = PFN_DOWN(size); early_mem()
198 bootmem_lastpg = PFN_DOWN((bootmem_lastpg << PAGE_SHIFT) & setup_arch_memory()
206 max_low_pfn = bootmem_lastpg - PFN_DOWN(DMA_RESERVED_BYTES); setup_arch_memory()
/linux-4.1.27/arch/x86/include/asm/
H A Dsetup.h16 #define MAXMEM_PFN PFN_DOWN(MAXMEM)
/linux-4.1.27/arch/tile/kernel/
H A Dpci-dma.c174 struct page *page = pfn_to_page(PFN_DOWN(dma_addr)); __dma_prep_pa_range()
190 struct page *page = pfn_to_page(PFN_DOWN(dma_addr)); __dma_complete_pa_range()
259 __dma_complete_page(pfn_to_page(PFN_DOWN(dma_address)), tile_dma_unmap_page()
438 __dma_complete_page(pfn_to_page(PFN_DOWN(dma_address)), tile_pci_dma_unmap_page()
H A Dsetup.c436 if (PFN_DOWN(range.size) > maxnodemem_pfn[i]) { setup_memory()
447 if (physpages + PFN_DOWN(range.size) > maxmem_pfn) { setup_memory()
1729 insert_ram_resource(PFN_DOWN(m->addr),
/linux-4.1.27/arch/metag/mm/
H A Dinit.c181 if (PFN_DOWN(reg->base) >= highstart_pfn) for_each_memblock()
185 size = (highstart_pfn - PFN_DOWN(reg->base)) for_each_memblock()
/linux-4.1.27/arch/arm64/mm/
H A Dinit.c90 max_dma = PFN_DOWN(arm64_dma_phys_limit); zone_sizes_init()
191 max = PFN_DOWN(memblock_end_of_DRAM()); bootmem_init()
/linux-4.1.27/arch/m32r/kernel/
H A Dsetup.c141 max_low_pfn = PFN_DOWN( __pa(memory_end) ); setup_memory()
165 last_pfn = PFN_DOWN(__pa(memory_end)); setup_memory()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_gem_dmabuf.c50 sg_set_page(sg->sgl, pfn_to_page(PFN_DOWN(paddr)), obj->size, 0); omap_gem_map_dma_buf()
/linux-4.1.27/arch/mips/mm/
H A Dmmap.c204 return pfn_valid(PFN_DOWN(virt_to_phys(kaddr))); __virt_addr_valid()
H A Dinit.c270 end = PFN_DOWN(boot_mem_map.map[i].addr + page_is_ram()
398 for (pfn = PFN_UP(begin); pfn < PFN_DOWN(end); pfn++) { free_init_pages()
/linux-4.1.27/arch/mn10300/kernel/
H A Dsetup.c128 end_pfn = PFN_DOWN(__pa(memory_end)); setup_arch()
/linux-4.1.27/arch/nios2/mm/
H A Dioremap.c37 pfn = PFN_DOWN(phys_addr); remap_area_pte()
/linux-4.1.27/arch/arc/mm/
H A Dinit.c96 max_low_pfn = max_pfn = PFN_DOWN(end_mem); setup_arch_memory()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c126 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); lmb_to_memblock()
207 pfn = PFN_DOWN(phys_addr); lmb_is_removable()
/linux-4.1.27/arch/avr32/kernel/
H A Dsetup.c468 #define MAX_LOWMEM_PFN PFN_DOWN(MAX_LOWMEM)
493 max_low_pfn = max_pfn = PFN_DOWN(res->end + 1); setup_bootmem()
/linux-4.1.27/sound/soc/sh/
H A Dsiu_pcm.c128 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), siu_pcm_wr_set()
178 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), siu_pcm_rd_set()
/linux-4.1.27/drivers/of/
H A Ddevice.c111 offset = PFN_DOWN(paddr - dma_addr); of_dma_configure()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dpage.h144 # define phys_to_pfn(phys) (PFN_DOWN(phys))
/linux-4.1.27/drivers/base/
H A Ddma-coherent.c47 dma_mem->pfn_base = PFN_DOWN(phys_addr); dma_init_coherent_memory()
/linux-4.1.27/arch/mips/include/asm/
H A Dpage.h224 #define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(virt_to_phys((void *) \
H A Ddma.h92 #define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS))
/linux-4.1.27/arch/openrisc/kernel/
H A Dsetup.c80 ram_end_pfn = PFN_DOWN(memblock_end_of_DRAM());
/linux-4.1.27/arch/cris/kernel/
H A Dsetup.c111 max_pfn = PFN_DOWN((unsigned long)high_memory); /* usually c0000000 + dram size */ setup_arch()
/linux-4.1.27/arch/alpha/mm/
H A Dnuma.c151 start_kernel_pfn = PFN_DOWN(KERNEL_START_PHYS);
/linux-4.1.27/arch/arm/mm/
H A Dinit.c92 *max_low = PFN_DOWN(memblock_get_current_limit()); find_limits()
94 *max_high = PFN_DOWN(memblock_end_of_DRAM()); find_limits()
/linux-4.1.27/drivers/acpi/
H A Dacpi_memhotplug.c175 return PFN_DOWN(info->start_addr); acpi_meminfo_start_pfn()
/linux-4.1.27/drivers/usb/musb/
H A Dux500_dma.c106 sg_set_page(&sg, pfn_to_page(PFN_DOWN(dma_addr)), len, ux500_configure_channel()
/linux-4.1.27/arch/c6x/kernel/
H A Dsetup.c416 max_low_pfn = PFN_DOWN(memory_end);
/linux-4.1.27/kernel/
H A Dresource.c1435 if (PFN_DOWN(p->start) <= PFN_DOWN(addr) && iomem_map_sanity_check()
1436 PFN_DOWN(p->end) >= PFN_DOWN(addr + size - 1)) iomem_map_sanity_check()
H A Dmodule.c88 (PFN_DOWN((unsigned long)(BASE) + (SIZE) - 1) - \
89 PFN_DOWN((unsigned long)BASE) + 1) \
1712 unsigned long begin_pfn = PFN_DOWN((unsigned long)start); set_page_attributes()
1713 unsigned long end_pfn = PFN_DOWN((unsigned long)end); set_page_attributes()
/linux-4.1.27/sound/soc/txx9/
H A Dtxx9aclc.c128 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buf_dma_addr)), txx9aclc_dma_submit()
/linux-4.1.27/arch/blackfin/kernel/
H A Dsetup.c715 min_low_pfn = PFN_DOWN(memory_end); find_min_max_pfn()
723 end = PFN_DOWN(bfin_memmap.map[i].addr + find_min_max_pfn()
785 last_pfn = PFN_DOWN(bfin_memmap.map[i].addr + setup_bootmem_allocator()
/linux-4.1.27/arch/x86/kernel/
H A Dtboot.c167 map_base = PFN_DOWN(tboot->tboot_base); tboot_create_trampoline()
H A De820.c693 pfn = PFN_DOWN(ei->addr + ei->size); e820_mark_nosave_regions()
1128 end_pfn = min_t(unsigned long, PFN_DOWN(end), MAX_DMA_PFN); memblock_find_dma_reserve()
H A Dsetup.c407 if (pfn_range_is_mapped(PFN_DOWN(ramdisk_image), reserve_initrd()
408 PFN_DOWN(ramdisk_end))) { reserve_initrd()
H A Damd_gart_64.c771 start_pfn = PFN_DOWN(aper_base); gart_iommu_init()
/linux-4.1.27/arch/metag/kernel/
H A Dsetup.c361 max_low_pfn = PFN_DOWN(__pa(heap_end)); setup_arch()
/linux-4.1.27/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c203 end = PFN_DOWN(addr + size); mpc512x_release_bootmem()
/linux-4.1.27/drivers/dma/sh/
H A Dshdma-base.c655 sg_set_page(&sg, pfn_to_page(PFN_DOWN(dma_src)), len, shdma_prep_memcpy()
743 sg_set_page(&sgl[i], pfn_to_page(PFN_DOWN(src)), period_len, shdma_prep_dma_cyclic()
H A Drcar-dmac.c1010 sg_set_page(&sgl, pfn_to_page(PFN_DOWN(dma_src)), len, rcar_dmac_prep_dma_memcpy()
1084 sg_set_page(&sgl[i], pfn_to_page(PFN_DOWN(src)), period_len, rcar_dmac_prep_dma_cyclic()
/linux-4.1.27/arch/alpha/kernel/
H A Dsetup.c261 #define PFN_MAX PFN_DOWN(0x80000000)
365 start_kernel_pfn = PFN_DOWN(KERNEL_START_PHYS);
/linux-4.1.27/drivers/acpi/apei/
H A Deinj.c554 pfn = PFN_DOWN(param1 & param2); einj_error_inject()
/linux-4.1.27/arch/x86/platform/efi/
H A Defi.c558 start_pfn = PFN_DOWN(md->phys_addr); old_map_region()
/linux-4.1.27/arch/tile/mm/
H A Dinit.c572 pfn += PFN_DOWN(HPAGE_SIZE), address += HPAGE_SIZE) kernel_physical_mapping_init()
/linux-4.1.27/lib/
H A Dswiotlb.c391 unsigned long pfn = PFN_DOWN(orig_addr); swiotlb_bounce()
/linux-4.1.27/drivers/s390/net/
H A Dqeth_core_main.c3875 PFN_DOWN((unsigned long)data); qeth_get_elements_for_frags()
3887 PFN_DOWN((unsigned long)skb->data); qeth_get_elements_no()
H A Dqeth_l3_main.c2932 int elements = PFN_UP(tcpd + tcpd_len - 1) - PFN_DOWN(tcpd); qeth_l3_tso_elements()

Completed in 2864 milliseconds