Home
last modified time | relevance | path

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

/linux-4.19.296/include/trace/events/
Dpage_isolation.h13 unsigned long start_pfn,
17 TP_ARGS(start_pfn, end_pfn, fin_pfn),
20 __field(unsigned long, start_pfn)
26 __entry->start_pfn = start_pfn;
32 __entry->start_pfn, __entry->end_pfn, __entry->fin_pfn,
Dcompaction.h17 unsigned long start_pfn,
22 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken),
25 __field(unsigned long, start_pfn)
32 __entry->start_pfn = start_pfn;
39 __entry->start_pfn,
48 unsigned long start_pfn,
53 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
59 unsigned long start_pfn,
64 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
/linux-4.19.296/include/linux/
Dmemory_hotplug.h88 extern int test_pages_in_a_zone(unsigned long start_pfn, unsigned long end_pfn,
113 extern void __remove_pages(unsigned long start_pfn, unsigned long nr_pages,
117 extern int __add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages,
121 static inline int add_pages(int nid, unsigned long start_pfn, in add_pages() argument
125 return __add_pages(nid, start_pfn, nr_pages, altmap, want_memblock); in add_pages()
128 int add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages,
302 extern int offline_pages(unsigned long start_pfn, unsigned long nr_pages);
315 static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages) in offline_pages() argument
325 extern int walk_memory_range(unsigned long start_pfn, unsigned long end_pfn,
332 extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn,
[all …]
Dnode.h35 int link_mem_sections(int nid, unsigned long start_pfn,
39 static inline int link_mem_sections(int nid, unsigned long start_pfn, in link_mem_sections() argument
59 unsigned long start_pfn = pgdat->node_start_pfn; in register_one_node() local
60 unsigned long end_pfn = start_pfn + pgdat->node_spanned_pages; in register_one_node()
66 error = link_mem_sections(nid, start_pfn, end_pfn, in register_one_node()
Dpage-isolation.h49 start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
57 undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
63 int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn,
Dmemory.h39 int arch_get_memory_phys_device(unsigned long start_pfn);
52 unsigned long start_pfn; member
67 unsigned long start_pfn; /* Start of range to check */ member
Diova.h76 unsigned long start_pfn; /* Lower limit for this domain */ member
158 unsigned long start_pfn);
236 unsigned long start_pfn) in init_iova_domain() argument
Dmmzone.h550 unsigned long start_pfn, unsigned long nr_pages) in zone_intersects() argument
554 if (start_pfn >= zone_end_pfn(zone) || in zone_intersects()
555 start_pfn + nr_pages <= zone->zone_start_pfn) in zone_intersects()
771 extern void init_currently_empty_zone(struct zone *zone, unsigned long start_pfn,
1230 void online_mem_sections(unsigned long start_pfn, unsigned long end_pfn);
1232 void offline_mem_sections(unsigned long start_pfn, unsigned long end_pfn);
Dhugetlb.h485 extern int dissolve_free_huge_pages(unsigned long start_pfn,
588 static inline int dissolve_free_huge_pages(unsigned long start_pfn, in dissolve_free_huge_pages() argument
Dioport.h271 walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages,
Dmemblock.h215 int memblock_search_pfn_nid(unsigned long pfn, unsigned long *start_pfn,
Dmm.h2149 unsigned long __absent_pages_in_range(int nid, unsigned long start_pfn,
2151 extern unsigned long absent_pages_in_range(unsigned long start_pfn,
2154 unsigned long *start_pfn, unsigned long *end_pfn);
/linux-4.19.296/drivers/base/
Dmemory.c199 static bool pages_correctly_probed(unsigned long start_pfn) in pages_correctly_probed() argument
201 unsigned long section_nr = pfn_to_section_nr(start_pfn); in pages_correctly_probed()
203 unsigned long pfn = start_pfn; in pages_correctly_probed()
241 unsigned long start_pfn; in memory_block_action() local
245 start_pfn = section_nr_to_pfn(start_section_nr); in memory_block_action()
249 if (!pages_correctly_probed(start_pfn)) in memory_block_action()
252 ret = online_pages(start_pfn, nr_pages, online_type); in memory_block_action()
255 ret = offline_pages(start_pfn, nr_pages); in memory_block_action()
391 static void print_allowed_zone(char *buf, int nid, unsigned long start_pfn, in print_allowed_zone() argument
397 zone = zone_for_pfn_range(online_type, nid, start_pfn, nr_pages); in print_allowed_zone()
[all …]
Dnode.c494 int link_mem_sections(int nid, unsigned long start_pfn, unsigned long end_pfn, in link_mem_sections() argument
504 return walk_memory_range(start_pfn, end_pfn, (void *)&nid, func); in link_mem_sections()
/linux-4.19.296/drivers/xen/
Dballoon.c708 static void __init balloon_add_region(unsigned long start_pfn, in balloon_add_region() argument
719 extra_pfn_end = min(max_pfn, start_pfn + pages); in balloon_add_region()
721 for (pfn = start_pfn; pfn < extra_pfn_end; pfn++) { in balloon_add_region()
729 balloon_stats.total_pages += extra_pfn_end - start_pfn; in balloon_add_region()
775 balloon_add_region(xen_extra_mem[i].start_pfn, in balloon_init()
Dgrant-table.c859 unsigned long pfn, start_pfn; in gnttab_dma_alloc_pages() local
877 start_pfn = __phys_to_pfn(args->dev_bus_addr); in gnttab_dma_alloc_pages()
878 for (pfn = start_pfn, i = 0; pfn < start_pfn + args->nr_pages; in gnttab_dma_alloc_pages()
/linux-4.19.296/include/xen/
Dpage.h38 unsigned long start_pfn; member
/linux-4.19.296/drivers/s390/char/
Dsclp_cmd.c180 int arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument
184 return PFN_PHYS(start_pfn) >> ilog2(sclp.rzm); in arch_get_memory_phys_device()
327 start = arg->start_pfn << PAGE_SHIFT; in sclp_mem_notifier()