Home
last modified time | relevance | path

Searched refs:start_pfn (Results 1 – 10 of 10) sorted by relevance

/drivers/base/
Dmemory.c214 static bool pages_correctly_reserved(unsigned long start_pfn, in pages_correctly_reserved() argument
219 unsigned long pfn = start_pfn; in pages_correctly_reserved()
253 unsigned long start_pfn, start_paddr; in memory_block_action() local
262 start_pfn = page_to_pfn(first_page); in memory_block_action()
264 if (!pages_correctly_reserved(start_pfn, nr_pages)) in memory_block_action()
267 ret = online_pages(start_pfn, nr_pages); in memory_block_action()
501 int __weak arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument
542 unsigned long start_pfn; in init_memory_block() local
557 start_pfn = section_nr_to_pfn(mem->start_section_nr); in init_memory_block()
558 mem->phys_device = arch_get_memory_phys_device(start_pfn); in init_memory_block()
Dnode.c445 unsigned long start_pfn = NODE_DATA(nid)->node_start_pfn; in link_mem_sections() local
446 unsigned long end_pfn = start_pfn + NODE_DATA(nid)->node_spanned_pages; in link_mem_sections()
451 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in link_mem_sections()
/drivers/iommu/
Dintel-iommu.c854 unsigned long start_pfn, in dma_pte_clear_range() argument
862 BUG_ON(addr_width < BITS_PER_LONG && start_pfn >> addr_width); in dma_pte_clear_range()
864 BUG_ON(start_pfn > last_pfn); in dma_pte_clear_range()
869 first_pte = pte = dma_pfn_level_pte(domain, start_pfn, 1, &large_page); in dma_pte_clear_range()
871 start_pfn = align_to_level(start_pfn + 1, large_page + 1); in dma_pte_clear_range()
876 start_pfn += lvl_to_nr_pages(large_page); in dma_pte_clear_range()
878 } while (start_pfn <= last_pfn && !first_pte_in_page(pte)); in dma_pte_clear_range()
883 } while (start_pfn && start_pfn <= last_pfn); in dma_pte_clear_range()
891 unsigned long start_pfn, unsigned long last_pfn) in dma_pte_free_level() argument
893 pfn = max(start_pfn, pfn); in dma_pte_free_level()
[all …]
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c716 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
723 start_pfn = initial_pfn; in ehea_create_busmap_callback()
725 pfn = start_pfn; in ehea_create_busmap_callback()
730 nr_pages = pfn - start_pfn; in ehea_create_busmap_callback()
731 ret = ehea_update_busmap(start_pfn, nr_pages, in ehea_create_busmap_callback()
738 start_pfn = pfn; in ehea_create_busmap_callback()
744 nr_pages = pfn - start_pfn; in ehea_create_busmap_callback()
745 return ehea_update_busmap(start_pfn, nr_pages, EHEA_BUSMAP_ADD_SECT); in ehea_create_busmap_callback()
Dehea_main.c3427 if (ehea_add_sect_bmap(arg->start_pfn, arg->nr_pages)) in ehea_mem_notifier()
3434 if (ehea_rem_sect_bmap(arg->start_pfn, arg->nr_pages)) in ehea_mem_notifier()
/drivers/xen/
Dballoon.c562 static void __init balloon_add_region(unsigned long start_pfn, in balloon_add_region() argument
573 extra_pfn_end = min(max_pfn, start_pfn + pages); in balloon_add_region()
575 for (pfn = start_pfn; pfn < extra_pfn_end; pfn++) { in balloon_add_region()
/drivers/s390/char/
Dsclp_cmd.c312 int arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument
316 return PFN_PHYS(start_pfn) >> ilog2(rzm); in arch_get_memory_phys_device()
442 start = arg->start_pfn << PAGE_SHIFT; in sclp_mem_notifier()
/drivers/infiniband/hw/ehca/
Dehca_mrmw.c2428 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehca_create_busmap_callback() local
2434 start_pfn = initial_pfn; in ehca_create_busmap_callback()
2436 pfn = start_pfn; in ehca_create_busmap_callback()
2441 nr_pages = pfn - start_pfn; in ehca_create_busmap_callback()
2442 ret = ehca_update_busmap(start_pfn, nr_pages); in ehca_create_busmap_callback()
2447 start_pfn = pfn; in ehca_create_busmap_callback()
2453 nr_pages = pfn - start_pfn; in ehca_create_busmap_callback()
2454 return ehca_update_busmap(start_pfn, nr_pages); in ehca_create_busmap_callback()
/drivers/gpu/drm/gma500/
Dmmu.c697 int psb_mmu_insert_pfn_sequence(struct psb_mmu_pd *pd, uint32_t start_pfn, in psb_mmu_insert_pfn_sequence() argument
722 pte = psb_mmu_mask_pte(start_pfn++, type); in psb_mmu_insert_pfn_sequence()
Dpsb_drv.h745 uint32_t start_pfn,