/linux-4.1.27/include/linux/ |
H A D | pfn.h | 10 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) macro
|
H A D | memblock.h | 333 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 D | efi.h | 1042 *npages = PFN_UP(*addr + (*npages<<EFI_PAGE_SHIFT)) - PFN_DOWN(*addr); memrange_efi_to_native()
|
/linux-4.1.27/arch/sparc/power/ |
H A D | hibernate.c | 23 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 D | cpu.c | 39 unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin)); pfn_is_nosave()
|
/linux-4.1.27/arch/arm/include/asm/xen/ |
H A D | page-coherent.h | 38 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 D | page.h | 61 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 D | page.h | 93 # 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 D | keystone.c | 94 __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 D | init.c | 269 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 D | numa_emulation.c | 34 unsigned long end_pfn = PFN_DOWN(end); mem_hole_size()
|
H A D | pageattr.c | 653 if (pfn_range_is_mapped(PFN_DOWN(__pa(address)), __split_large_page() 654 PFN_DOWN(__pa(address)) + 1)) __split_large_page()
|
H A D | init_32.c | 440 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 D | p2m.c | 327 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 D | mmu.c | 130 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 D | setup.c | 155 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 D | init.c | 129 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 D | setup.c | 159 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 D | discontig.c | 48 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 D | kiorpc.c | 56 pfn = pte_pfn(mmio_base) + PFN_DOWN(offset); iorpc_ioremap()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | setup.h | 25 #define MAXMEM_PFN PFN_DOWN(MAXMEM)
|
H A D | pgtable_64.h | 120 #define pud_page(pud) pfn_to_page(PFN_DOWN(HV_PTFN_TO_CPA(pud_ptfn(pud))))
|
H A D | pgtable.h | 271 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 D | suspend.c | 139 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 D | machine_kexec.c | 180 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 D | setup.c | 466 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 D | early.c | 113 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 D | bootmem.c | 164 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 D | nobootmem.c | 77 end = PFN_DOWN(addr + size); free_bootmem_late() 106 PFN_DOWN(end), max_low_pfn); __free_memory_core()
|
H A D | memblock.c | 1002 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 D | cma.c | 200 cma->base_pfn = PFN_DOWN(base); cma_init_reserved_mem()
|
H A D | memory_hotplug.c | 1083 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 D | percpu.c | 349 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 D | page_alloc.c | 5249 usable_startpfn = PFN_DOWN(r->base); for_each_memblock()
|
/linux-4.1.27/drivers/staging/android/ion/ |
H A D | ion_carveout_heap.c | 97 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 D | ion_chunk_heap.c | 73 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 D | setup.c | 331 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 D | page.h | 73 * 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 D | swiotlb-xen.c | 85 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 D | balloon.c | 245 pfn = PFN_DOWN(hotplug_start_paddr); reserve_additional_memory() 644 PFN_DOWN(xen_extra_mem[i].size)); balloon_init()
|
H A D | grant-table.c | 658 pfn[i] = PFN_DOWN(addr) + i; gnttab_setup_auto_xlat_frames()
|
/linux-4.1.27/arch/score/include/asm/ |
H A D | page.h | 64 #define phys_to_pfn(phys) (PFN_DOWN(phys))
|
/linux-4.1.27/arch/x86/include/asm/xen/ |
H A D | page.h | 172 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 D | init.c | 172 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 D | setup.h | 16 #define MAXMEM_PFN PFN_DOWN(MAXMEM)
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | pci-dma.c | 174 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 D | setup.c | 436 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 D | init.c | 181 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 D | init.c | 90 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 D | setup.c | 141 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 D | omap_gem_dmabuf.c | 50 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 D | mmap.c | 204 return pfn_valid(PFN_DOWN(virt_to_phys(kaddr))); __virt_addr_valid()
|
H A D | init.c | 270 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 D | setup.c | 128 end_pfn = PFN_DOWN(__pa(memory_end)); setup_arch()
|
/linux-4.1.27/arch/nios2/mm/ |
H A D | ioremap.c | 37 pfn = PFN_DOWN(phys_addr); remap_area_pte()
|
/linux-4.1.27/arch/arc/mm/ |
H A D | init.c | 96 max_low_pfn = max_pfn = PFN_DOWN(end_mem); setup_arch_memory()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | hotplug-memory.c | 126 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 D | setup.c | 468 #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 D | siu_pcm.c | 128 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 D | device.c | 111 offset = PFN_DOWN(paddr - dma_addr); of_dma_configure()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | page.h | 144 # define phys_to_pfn(phys) (PFN_DOWN(phys))
|
/linux-4.1.27/drivers/base/ |
H A D | dma-coherent.c | 47 dma_mem->pfn_base = PFN_DOWN(phys_addr); dma_init_coherent_memory()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | page.h | 224 #define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(virt_to_phys((void *) \
|
H A D | dma.h | 92 #define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS))
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | setup.c | 80 ram_end_pfn = PFN_DOWN(memblock_end_of_DRAM());
|
/linux-4.1.27/arch/cris/kernel/ |
H A D | setup.c | 111 max_pfn = PFN_DOWN((unsigned long)high_memory); /* usually c0000000 + dram size */ setup_arch()
|
/linux-4.1.27/arch/alpha/mm/ |
H A D | numa.c | 151 start_kernel_pfn = PFN_DOWN(KERNEL_START_PHYS);
|
/linux-4.1.27/arch/arm/mm/ |
H A D | init.c | 92 *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 D | acpi_memhotplug.c | 175 return PFN_DOWN(info->start_addr); acpi_meminfo_start_pfn()
|
/linux-4.1.27/drivers/usb/musb/ |
H A D | ux500_dma.c | 106 sg_set_page(&sg, pfn_to_page(PFN_DOWN(dma_addr)), len, ux500_configure_channel()
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | setup.c | 416 max_low_pfn = PFN_DOWN(memory_end);
|
/linux-4.1.27/kernel/ |
H A D | resource.c | 1435 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 D | module.c | 88 (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 D | txx9aclc.c | 128 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buf_dma_addr)), txx9aclc_dma_submit()
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | setup.c | 715 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 D | tboot.c | 167 map_base = PFN_DOWN(tboot->tboot_base); tboot_create_trampoline()
|
H A D | e820.c | 693 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 D | setup.c | 407 if (pfn_range_is_mapped(PFN_DOWN(ramdisk_image), reserve_initrd() 408 PFN_DOWN(ramdisk_end))) { reserve_initrd()
|
H A D | amd_gart_64.c | 771 start_pfn = PFN_DOWN(aper_base); gart_iommu_init()
|
/linux-4.1.27/arch/metag/kernel/ |
H A D | setup.c | 361 max_low_pfn = PFN_DOWN(__pa(heap_end)); setup_arch()
|
/linux-4.1.27/arch/powerpc/platforms/512x/ |
H A D | mpc512x_shared.c | 203 end = PFN_DOWN(addr + size); mpc512x_release_bootmem()
|
/linux-4.1.27/drivers/dma/sh/ |
H A D | shdma-base.c | 655 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 D | rcar-dmac.c | 1010 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 D | setup.c | 261 #define PFN_MAX PFN_DOWN(0x80000000) 365 start_kernel_pfn = PFN_DOWN(KERNEL_START_PHYS);
|
/linux-4.1.27/drivers/acpi/apei/ |
H A D | einj.c | 554 pfn = PFN_DOWN(param1 & param2); einj_error_inject()
|
/linux-4.1.27/arch/x86/platform/efi/ |
H A D | efi.c | 558 start_pfn = PFN_DOWN(md->phys_addr); old_map_region()
|
/linux-4.1.27/arch/tile/mm/ |
H A D | init.c | 572 pfn += PFN_DOWN(HPAGE_SIZE), address += HPAGE_SIZE) kernel_physical_mapping_init()
|
/linux-4.1.27/lib/ |
H A D | swiotlb.c | 391 unsigned long pfn = PFN_DOWN(orig_addr); swiotlb_bounce()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | qeth_core_main.c | 3875 PFN_DOWN((unsigned long)data); qeth_get_elements_for_frags() 3887 PFN_DOWN((unsigned long)skb->data); qeth_get_elements_no()
|
H A D | qeth_l3_main.c | 2932 int elements = PFN_UP(tcpd + tcpd_len - 1) - PFN_DOWN(tcpd); qeth_l3_tso_elements()
|