Home
last modified time | relevance | path

Searched refs:NODE_DATA (Results 1 – 25 of 31) sorted by relevance

12

/linux-2.4.37.9/include/asm-sh/
Dmmzone.h33 #define NODE_DATA(nid) (&discontig_page_data[nid]) macro
38 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
43 + (((phys) - NODE_DATA(node)->node_start_paddr) >> PAGE_SHIFT); })
51 page < NODE_MEM_MAP(i) + NODE_DATA(i)->node_size) in is_valid_page()
/linux-2.4.37.9/arch/x86_64/mm/
Dnuma.c52 NODE_DATA(nodeid)->bdata = &plat_node_bdata[nodeid]; in setup_node_bootmem()
62 bootmap_size = init_bootmem_node(NODE_DATA(nodeid), in setup_node_bootmem()
66 e820_bootmem_free(NODE_DATA(nodeid), start, end); in setup_node_bootmem()
68 reserve_bootmem_node(NODE_DATA(nodeid), nodedata_phys, pgdat_size); in setup_node_bootmem()
69 reserve_bootmem_node(NODE_DATA(nodeid), bootmap_start, bootmap_pages<<PAGE_SHIFT); in setup_node_bootmem()
103 free_area_init_node(nodeid, NODE_DATA(nodeid), NULL, zones, in setup_node_zones()
140 pages += free_all_bootmem_node(NODE_DATA(i)); in numa_free_all_bootmem()
Dinit.c498 reserve_bootmem_node(NODE_DATA(phys_to_nid(phys)), phys, len); in reserve_bootmem_generic()
508 free_bootmem_node(NODE_DATA(phys_to_nid(phys)), phys, len); in free_bootmem_generic()
/linux-2.4.37.9/arch/sh/mm/
Dinit.c87 #define START_PFN (NODE_DATA(0)->bdata->node_boot_start >> PAGE_SHIFT)
88 #define MAX_LOW_PFN (NODE_DATA(0)->bdata->node_low_pfn)
130 free_area_init_node(0, NODE_DATA(0), 0, zones_size, __MEMORY_START, 0); in paging_init()
134 free_area_init_node(1, NODE_DATA(1), 0, zones_size, __MEMORY_START_2ND, 0); in paging_init()
153 totalram_pages += free_all_bootmem_node(NODE_DATA(0)); in mem_init()
155 totalram_pages += free_all_bootmem_node(NODE_DATA(1)); in mem_init()
/linux-2.4.37.9/arch/mips/sgi-ip27/
Dip27-memory.c207 NODE_DATA(node)->bdata = plat_node_bdata + node; in prom_meminit()
209 bootmap_size = init_bootmem_node(NODE_DATA(node), slot_freepfn, in prom_meminit()
211 free_bootmem_node(NODE_DATA(node), slot_firstpfn << PAGE_SHIFT, in prom_meminit()
213 reserve_bootmem_node(NODE_DATA(node), slot_firstpfn << PAGE_SHIFT, in prom_meminit()
260 free_area_init_node(node, NODE_DATA(node), 0, zones_size, in paging_init()
296 totalram_pages += free_all_bootmem_node(NODE_DATA(nid)); in mem_init()
301 pg = NODE_DATA(nid)->node_mem_map + slot_getsize(nid, 0); in mem_init()
305 pslot = NODE_DATA(nid)->node_mem_map + in mem_init()
/linux-2.4.37.9/arch/alpha/mm/
Dnuma.c145 NODE_DATA(nid)->bdata = &plat_node_bdata[nid]; in setup_memory_node()
151 DBGDCONT(" DISCONTIG: NODE_DATA(%d)->bdata is at 0x%p\n", nid, NODE_DATA(nid)->bdata); in setup_memory_node()
203 bootmap_size = init_bootmem_node(NODE_DATA(nid), bootmap_start, in setup_memory_node()
226 free_bootmem_node(NODE_DATA(nid), PFN_PHYS(start), in setup_memory_node()
239 free_bootmem_node(NODE_DATA(nid), PFN_PHYS(start), PFN_PHYS(end) - PFN_PHYS(start)); in setup_memory_node()
244 reserve_bootmem_node(NODE_DATA(nid), PFN_PHYS(bootmap_start), bootmap_size); in setup_memory_node()
280 reserve_bootmem_node(NODE_DATA(KVADDR_TO_NID(initrd_start)), in setup_memory()
314 free_area_init_node(nid, NODE_DATA(nid), NULL, zones_size, start_pfn<<PAGE_SHIFT, NULL); in paging_init()
389 totalram_pages += free_all_bootmem_node(NODE_DATA(nid)); in mem_init()
392 pfn = NODE_DATA(nid)->node_start_paddr >> PAGE_SHIFT; in mem_init()
/linux-2.4.37.9/include/asm-alpha/
Dmmzone.h84 #define NODE_DATA(n) (&((PLAT_NODE_DATA(n))->gendata)) macro
89 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
103 #define LOCAL_BASE_ADDR(kaddr) ((unsigned long)__va(NODE_DATA(KVADDR_TO_NID(kaddr))->node_start_pad…
109 NODE_DATA(KVADDR_TO_NID(kaddr))->valid_addr_bitmap)
/linux-2.4.37.9/arch/sh/kernel/
Dsetup.c365 NODE_DATA(0)->bdata = &discontig_node_bdata[0]; in setup_arch()
366 NODE_DATA(1)->bdata = &discontig_node_bdata[1]; in setup_arch()
368 bootmap_size = init_bootmem_node(NODE_DATA(1), in setup_arch()
372 free_bootmem_node(NODE_DATA(1), __MEMORY_START_2ND, __MEMORY_SIZE_2ND); in setup_arch()
373 reserve_bootmem_node(NODE_DATA(1), __MEMORY_START_2ND, bootmap_size); in setup_arch()
396 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_arch()
419 free_bootmem_node(NODE_DATA(0), PFN_PHYS(curr_pfn), in setup_arch()
430 reserve_bootmem_node(NODE_DATA(0), __MEMORY_START+PAGE_SIZE, in setup_arch()
437 reserve_bootmem_node(NODE_DATA(0), __MEMORY_START, PAGE_SIZE); in setup_arch()
442 reserve_bootmem_node(NODE_DATA(0), INITRD_START+__MEMORY_START, INITRD_SIZE); in setup_arch()
/linux-2.4.37.9/include/asm-mips64/
Dmmzone.h52 #define NODE_DATA(n) (&((PLAT_NODE_DATA(n))->gendata)) macro
57 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
83 NODE_DATA(KVADDR_TO_NID((unsigned long)addr))->valid_addr_bitmap)))
/linux-2.4.37.9/include/asm-x86_64/
Dmmzone.h72 #define NODE_DATA(n) (&((PLAT_NODE_DATA(n))->gendata)) macro
77 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
91 #define LOCAL_BASE_ADDR(kaddr) ((unsigned long)__va(NODE_DATA(KVADDR_TO_NID(kaddr))->node_start_pad…
145 pg_data_t *nd = NODE_DATA(nodeid); \
/linux-2.4.37.9/include/asm-arm/
Dmmzone.h21 #define NODE_DATA(nid) (&discontig_node_data[nid]) macro
26 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
Dmemory.h97 struct pglist_data *nd = NODE_DATA(node); \
123 ((unsigned)((page) - NODE_MEM_MAP(node)) < NODE_DATA(node)->node_size)); \
/linux-2.4.37.9/arch/parisc/mm/
Dinit.c298 bootmap_size = init_bootmem_node(NODE_DATA(i), in setup_bootmem()
302 free_bootmem_node(NODE_DATA(i), in setup_bootmem()
319 reserve_bootmem_node(NODE_DATA(0), 0UL, in setup_bootmem()
321 reserve_bootmem_node(NODE_DATA(0),__pa((unsigned long)&_text), in setup_bootmem()
323 reserve_bootmem_node(NODE_DATA(0), (bootmap_start_pfn << PAGE_SHIFT), in setup_bootmem()
331 reserve_bootmem_node(NODE_DATA(0), in setup_bootmem()
351 reserve_bootmem_node(NODE_DATA(0),__pa(initrd_start), initrd_reserve); in setup_bootmem()
448 num_physpages += free_all_bootmem_node(NODE_DATA(i)); in mem_init()
548 pmd = (pmd_t *) alloc_bootmem_low_pages_node(NODE_DATA(0),PAGE_SIZE); in map_pages()
568 alloc_bootmem_low_pages_node(NODE_DATA(0),PAGE_SIZE); in map_pages()
[all …]
/linux-2.4.37.9/arch/arm/mm/
Dinit.c126 end = page + NODE_DATA(node)->node_size; in show_mem()
346 pg_data_t *pgdat = NODE_DATA(0); in reserve_node_zero()
402 pg_data_t *pgdat = NODE_DATA(node); in free_bootmem_node_bank()
461 init_bootmem_node(NODE_DATA(node), map_pg, np->start, np->end); in bootmem_init()
476 reserve_bootmem_node(NODE_DATA(initrd_node), phys_initrd_start, in bootmem_init()
531 pgdat = NODE_DATA(node); in paging_init()
621 pg_data_t *pgdat = NODE_DATA(node); in mem_init()
/linux-2.4.37.9/include/asm-parisc/
Dmmzone.h18 #define NODE_DATA(nid) (&node_data[nid].pg_data) macro
19 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
/linux-2.4.37.9/arch/sh64/mm/
Dinit.c62 #define START_PFN (NODE_DATA(0)->bdata->node_boot_start >> PAGE_SHIFT)
63 #define MAX_LOW_PFN (NODE_DATA(0)->bdata->node_low_pfn)
125 free_area_init_node(0, NODE_DATA(0), 0,zones_size, __MEMORY_START, 0); in paging_init()
/linux-2.4.37.9/mm/
Dnuma.c37 return __alloc_pages(gfp_mask, order, NODE_DATA(nid)->node_zonelists + (gfp_mask & GFP_ZONEMASK)); in alloc_pages_node()
107 temp = NODE_DATA(numa_node_id()); in _alloc_pages()
/linux-2.4.37.9/include/asm-ia64/
Dnodedata.h62 #define NODE_DATA(nid) (local_node_data->pg_data_ptrs[nid]) macro
/linux-2.4.37.9/arch/ia64/sn/kernel/
Dsetup.c459 nodepdaindr[cnode] = alloc_bootmem_node(NODE_DATA(cnode), sizeof(nodepda_t)); in sn_init_pdas()
467 nodepdaindr[cnode] = alloc_bootmem_node(NODE_DATA(0), sizeof(nodepda_t)); in sn_init_pdas()
566 irqpdaindr = alloc_bootmem_node(NODE_DATA(cpuid_to_cnodeid(cpuid)),sizeof(irqpda_t)); in sn_cpu_init()
/linux-2.4.37.9/arch/ia64/mm/
Dinit.c428 pgd_populate(&init_mm, pgd, alloc_bootmem_pages_node(NODE_DATA(node), PAGE_SIZE)); in create_mem_map_page_table()
432 pmd_populate(&init_mm, pmd, alloc_bootmem_pages_node(NODE_DATA(node), PAGE_SIZE)); in create_mem_map_page_table()
436 set_pte(pte, mk_pte_phys(__pa(alloc_bootmem_pages_node(NODE_DATA(node), PAGE_SIZE)), in create_mem_map_page_table()
607 free_area_init_core(0, NODE_DATA(node), &mem_map, zones_size, 0, zholes_size, NULL); in paging_init()
621 free_area_init_node(node, NODE_DATA(node), vmem_map+cdata.min_pfn, zones_size, in paging_init()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dml_SN_init.c41 hubinfo = (hubinfo_t)alloc_bootmem_node(NODE_DATA(node), sizeof(struct hubinfo_s)); in init_platform_nodepda()
/linux-2.4.37.9/arch/alpha/kernel/
Dpci_iommu.c81 if (!NODE_DATA(nid) || in iommu_arena_new_node()
82 (NULL == (arena = alloc_bootmem_node(NODE_DATA(nid), in iommu_arena_new_node()
90 if (!NODE_DATA(nid) || in iommu_arena_new_node()
91 (NULL == (arena->ptes = __alloc_bootmem_node(NODE_DATA(nid), in iommu_arena_new_node()
/linux-2.4.37.9/include/linux/
Dmmzone.h242 #define NODE_DATA(nid) (&contig_page_data) macro
/linux-2.4.37.9/arch/cris/kernel/
Dsetup.c144 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_arch()
/linux-2.4.37.9/arch/x86_64/kernel/
Daperture.c42 pg_data_t *nd0 = NODE_DATA(0); in allocate_aperture()

12