Home
last modified time | relevance | path

Searched refs:pg_data_t (Results 1 – 25 of 42) sorted by relevance

12

/linux-2.6.39/include/linux/
Dmemory_hotplug.h107 extern pg_data_t *arch_alloc_nodedata(int nid);
108 extern void arch_free_nodedata(pg_data_t *pgdat);
109 extern void arch_refresh_nodedata(int nid, pg_data_t *pgdat);
125 kzalloc(sizeof(pg_data_t), GFP_KERNEL); \
133 extern pg_data_t *node_data[];
134 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata()
142 static inline pg_data_t *generic_alloc_nodedata(int nid) in generic_alloc_nodedata()
147 static inline void generic_free_nodedata(pg_data_t *pgdat) in generic_free_nodedata()
150 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata()
Dbootmem.h41 extern unsigned long init_bootmem_node(pg_data_t *pgdat,
48 extern unsigned long free_all_bootmem_node(pg_data_t *pgdat);
51 extern void free_bootmem_node(pg_data_t *pgdat,
71 extern int reserve_bootmem_node(pg_data_t *pgdat,
82 extern void *__alloc_bootmem_node(pg_data_t *pgdat,
86 void *__alloc_bootmem_node_high(pg_data_t *pgdat,
90 extern void *__alloc_bootmem_node_nopanic(pg_data_t *pgdat,
97 extern void *__alloc_bootmem_low_node(pg_data_t *pgdat,
/linux-2.6.39/mm/
Dvmstat.c188 void set_pgdat_percpu_threshold(pg_data_t *pgdat, in set_pgdat_percpu_threshold()
621 pg_data_t *pgdat; in frag_start()
633 pg_data_t *pgdat = (pg_data_t *)arg; in frag_next()
644 static void walk_zones_in_node(struct seq_file *m, pg_data_t *pgdat, in walk_zones_in_node() argument
645 void (*print)(struct seq_file *m, pg_data_t *, struct zone *)) in walk_zones_in_node()
663 static void frag_show_print(struct seq_file *m, pg_data_t *pgdat, in frag_show_print()
679 pg_data_t *pgdat = (pg_data_t *)arg; in frag_show()
685 pg_data_t *pgdat, struct zone *zone) in pagetypeinfo_showfree_print()
713 pg_data_t *pgdat = (pg_data_t *)arg; in pagetypeinfo_showfree()
727 pg_data_t *pgdat, struct zone *zone) in pagetypeinfo_showblockcount_print()
[all …]
Dnobootmem.c136 unsigned long __init free_all_bootmem_node(pg_data_t *pgdat) in free_all_bootmem_node()
171 void __init free_bootmem_node(pg_data_t *pgdat, unsigned long physaddr, in free_bootmem_node()
290 void * __init __alloc_bootmem_node(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_node()
307 void * __init __alloc_bootmem_node_high(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_node_high()
358 void * __init __alloc_bootmem_node_nopanic(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_node_nopanic()
412 void * __init __alloc_bootmem_low_node(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_low_node()
Dbootmem.c128 unsigned long __init init_bootmem_node(pg_data_t *pgdat, unsigned long freepfn, in init_bootmem_node()
239 unsigned long __init free_all_bootmem_node(pg_data_t *pgdat) in free_all_bootmem_node()
366 void __init free_bootmem_node(pg_data_t *pgdat, unsigned long physaddr, in free_bootmem_node()
411 int __init reserve_bootmem_node(pg_data_t *pgdat, unsigned long physaddr, in reserve_bootmem_node()
721 void * __init __alloc_bootmem_node(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_node()
730 void * __init __alloc_bootmem_node_high(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_node_high()
782 void * __init __alloc_bootmem_node_nopanic(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_node_nopanic()
839 void * __init __alloc_bootmem_low_node(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_low_node()
Dmmzone.c32 pg_data_t *pgdat = zone->zone_pgdat; in next_zone()
Dmemory_hotplug.c482 static pg_data_t __ref *hotadd_new_pgdat(int nid, u64 start) in hotadd_new_pgdat()
503 static void rollback_node_hotadd(int nid, pg_data_t *pgdat) in rollback_node_hotadd()
516 pg_data_t *pgdat; in mem_online_node()
537 pg_data_t *pgdat = NULL; in add_memory()
Dmm_init.c30 pg_data_t *pgdat = NODE_DATA(nid); in mminit_verify_zonelist()
Dvmscan.c2234 static bool pgdat_balanced(pg_data_t *pgdat, unsigned long balanced_pages, in pgdat_balanced()
2247 static bool sleeping_prematurely(pg_data_t *pgdat, int order, long remaining, in sleeping_prematurely()
2315 static unsigned long balance_pgdat(pg_data_t *pgdat, int order, in balance_pgdat()
2575 static void kswapd_try_to_sleep(pg_data_t *pgdat, int order, int classzone_idx) in kswapd_try_to_sleep()
2636 pg_data_t *pgdat = (pg_data_t*)p; in kswapd()
2712 pg_data_t *pgdat; in wakeup_kswapd()
2820 pg_data_t *pgdat = NODE_DATA(nid); in cpu_callback()
2839 pg_data_t *pgdat = NODE_DATA(nid); in kswapd_run()
/linux-2.6.39/arch/ia64/mm/
Ddiscontig.c51 pg_data_t *pgdat_list[MAX_NUMNODES];
125 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize()
127 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize()
283 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode()
289 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode()
395 pg_data_t *pdp = pgdat_list[node]; in reserve_pernode_space()
417 pg_data_t **dst; in scatter_node_data()
622 pg_data_t *pgdat; in show_mem()
798 pg_data_t *arch_alloc_nodedata(int nid) in arch_alloc_nodedata()
805 void arch_free_nodedata(pg_data_t *pgdat) in arch_free_nodedata()
[all …]
Dinit.c374 pg_data_t *pgdat = NODE_DATA(node); in vmemmap_find_next_valid_pfn()
619 pg_data_t *pgdat; in mem_init()
677 pg_data_t *pgdat; in arch_add_memory()
/linux-2.6.39/arch/m68k/mm/
Dinit_mm.c37 pg_data_t pg_data_map[MAX_NUMNODES];
43 pg_data_t *pg_data_table[65];
82 pg_data_t *pgdat; in mem_init()
/linux-2.6.39/arch/x86/mm/
Dnuma_32.c168 NODE_DATA(nid) = (pg_data_t *)node_remap_start_vaddr[nid]; in allocate_pgdat()
173 sizeof(pg_data_t), in allocate_pgdat()
175 NODE_DATA(nid) = (pg_data_t *)(pfn_to_kaddr(pgdat_phys>>PAGE_SHIFT)); in allocate_pgdat()
178 memblock_x86_reserve_range(pgdat_phys, pgdat_phys + sizeof(pg_data_t), buf); in allocate_pgdat()
290 size = node_remap_size[nid] + sizeof(pg_data_t); in calculate_numa_remap_pages()
348 ALIGN(sizeof(pg_data_t), PAGE_SIZE); in init_remap_allocator()
/linux-2.6.39/arch/parisc/include/asm/
Dmmzone.h10 pg_data_t pg_data;
20 pg_data_t *__pgdat = NODE_DATA(nid); \
/linux-2.6.39/arch/avr32/mm/
Dinit.c78 pg_data_t *pgdat = NODE_DATA(nid); in paging_init()
113 pg_data_t *pgdat = NODE_DATA(nid); in mem_init()
/linux-2.6.39/arch/m68k/include/asm/
Dmmzone.h4 extern pg_data_t pg_data_map[];
/linux-2.6.39/arch/m32r/mm/
Ddiscontig.c24 pg_data_t m32r_node_data[MAX_NUMNODES];
85 NODE_DATA(nid)=(pg_data_t *)&m32r_node_data[nid]; in setup_memory()
/linux-2.6.39/arch/alpha/mm/
Dnuma.c21 pg_data_t node_data[MAX_NUMNODES];
65 unsigned long node_datasz = PFN_UP(sizeof(pg_data_t)); in setup_memory_node()
135 node_data[nid] = (pg_data_t *)(__va(node_min_pfn << PAGE_SHIFT)); in setup_memory_node()
/linux-2.6.39/arch/tile/include/asm/
Dmmzone.h50 pg_data_t *__pgdat = NODE_DATA(nid); \
/linux-2.6.39/arch/ia64/include/asm/
Dnuma.h27 extern pg_data_t *pgdat_list[MAX_NUMNODES];
/linux-2.6.39/arch/m32r/include/asm/
Dmmzone.h20 pg_data_t *__pgdat = NODE_DATA(nid); \
/linux-2.6.39/lib/
Dshow_mem.c14 pg_data_t *pgdat; in show_mem()
/linux-2.6.39/arch/x86/include/asm/
Dmmzone_32.h78 pg_data_t *__pgdat = NODE_DATA(nid); \
/linux-2.6.39/arch/sh/mm/
Dinit.c383 pg_data_t *pgdat = NODE_DATA(nid); in paging_init()
420 pg_data_t *pgdat = NODE_DATA(nid); in mem_init()
536 pg_data_t *pgdat; in arch_add_memory()
/linux-2.6.39/arch/alpha/include/asm/
Dmmzone.h16 extern pg_data_t node_data[];

12