Home
last modified time | relevance | path

Searched refs:end_pfn (Results 1 – 8 of 8) sorted by relevance

/drivers/base/
Darch_numa.c219 static void __init setup_node_data(int nid, u64 start_pfn, u64 end_pfn) in setup_node_data() argument
226 if (start_pfn >= end_pfn) in setup_node_data()
247 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_node_data()
363 unsigned long start_pfn, end_pfn; in numa_register_nodes() local
365 get_pfn_range_for_nid(nid, &start_pfn, &end_pfn); in numa_register_nodes()
366 setup_node_data(nid, start_pfn, end_pfn); in numa_register_nodes()
Dnode.c788 unsigned long end_pfn = start_pfn + memory_block_pfns - 1; in register_mem_block_under_node_early() local
792 for (pfn = start_pfn; pfn <= end_pfn; pfn++) { in register_mem_block_under_node_early()
851 unsigned long end_pfn, in register_memory_blocks_under_node() argument
861 walk_memory_blocks(PFN_PHYS(start_pfn), PFN_PHYS(end_pfn - start_pfn), in register_memory_blocks_under_node()
/drivers/hv/
Dhv_balloon.c441 unsigned long end_pfn; member
451 unsigned long end_pfn; member
603 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) in has_pfn_is_backed()
625 (pfn < has->end_pfn) && in hv_page_offline_check()
791 (pfn + (1UL << order) > has->end_pfn)) in hv_online_page()
812 if (start_pfn < has->start_pfn || start_pfn >= has->end_pfn) in pfn_covered()
828 gap->end_pfn = start_pfn; in pfn_covered()
838 if ((start_pfn + pfn_cnt) > has->end_pfn) { in pfn_covered()
839 residual = (start_pfn + pfn_cnt - has->end_pfn); in pfn_covered()
847 has->end_pfn += new_inc; in pfn_covered()
[all …]
/drivers/of/
Dkexec.c131 unsigned long start_pfn, end_pfn; in ima_get_kexec_buffer() local
152 end_pfn = PHYS_PFN(tmp_addr + tmp_size - 1); in ima_get_kexec_buffer()
153 if (!page_is_ram(start_pfn) || !page_is_ram(end_pfn)) { in ima_get_kexec_buffer()
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c686 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
694 end_pfn = initial_pfn + total_nr_pages; in ehea_create_busmap_callback()
697 while (pfn < end_pfn) { in ehea_create_busmap_callback()
/drivers/iommu/intel/
Diommu.c1542 unsigned long end_pfn = pfn + pages - 1, shared_bits; in iommu_flush_iotlb_psi() local
1551 shared_bits = ~(pfn ^ end_pfn) & ~bitmask; in iommu_flush_iotlb_psi()
2152 unsigned long end_pfn, int level) in switch_to_super_page() argument
2159 while (start_pfn <= end_pfn) { in switch_to_super_page()
2228 unsigned long end_pfn; in __domain_mapping() local
2234 end_pfn = iov_pfn + pages_to_remove - 1; in __domain_mapping()
2235 switch_to_super_page(domain, iov_pfn, end_pfn, largepage_lvl); in __domain_mapping()
2408 unsigned long start_pfn, end_pfn; in si_domain_init() local
2411 for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { in si_domain_init()
2414 mm_to_dma_pfn_end(end_pfn-1)); in si_domain_init()
/drivers/virtio/
Dvirtio_mem.c2138 unsigned long end_pfn = start_pfn + nr_pages; in virtio_mem_bbm_offline_remove_and_unplug_bb() local
2156 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in virtio_mem_bbm_offline_remove_and_unplug_bb()
2163 end_pfn = pfn; in virtio_mem_bbm_offline_remove_and_unplug_bb()
2185 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in virtio_mem_bbm_offline_remove_and_unplug_bb()
/drivers/nvdimm/
Dpfn_devs.c698 .end_pfn = PHYS_PFN(end), in __nvdimm_setup_pfn()