Searched refs:numa_meminfo (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/x86/mm/ |
H A D | numa_internal.h | 14 struct numa_meminfo { struct 19 void __init numa_remove_memblk_from(int idx, struct numa_meminfo *mi); argument 20 int __init numa_cleanup_meminfo(struct numa_meminfo *mi); 26 void __init numa_emulation(struct numa_meminfo *numa_meminfo, 29 static inline void numa_emulation(struct numa_meminfo *numa_meminfo, in numa_emulation() argument
|
H A D | numa.c | 29 static struct numa_meminfo numa_meminfo __initdata_or_meminfo; 127 struct numa_meminfo *mi) in numa_add_memblk_to() 174 struct numa_meminfo *src) in numa_move_tail_memblk() 337 const struct numa_meminfo *mi) in numa_nodemask_from_meminfo() 506 for (i = 0; i < numa_meminfo.nr_blks; i++) { in numa_clear_kernel_node_hotplug() 538 for (i = 0; i < numa_meminfo.nr_blks; i++) { in numa_clear_kernel_node_hotplug() 644 memset(&numa_meminfo, 0, sizeof(numa_meminfo)); in numa_init() 667 ret = numa_cleanup_meminfo(&numa_meminfo); in numa_init() 673 ret = numa_register_memblks(&numa_meminfo); in numa_init() 954 nid = numa_meminfo.blk[0].nid; in memory_add_physaddr_to_nid() [all …]
|
H A D | numa_emulation.c | 46 static int __init emu_setup_memblk(struct numa_meminfo *ei, in emu_setup_memblk() 47 struct numa_meminfo *pi, in emu_setup_memblk() 83 static int __init split_nodes_interleave(struct numa_meminfo *ei, in split_nodes_interleave() 84 struct numa_meminfo *pi, in split_nodes_interleave() 217 struct numa_meminfo *pi, in split_nodes_size_interleave_uniform() 321 struct numa_meminfo *pi, in split_nodes_size_interleave() 371 void __init numa_emulation(struct numa_meminfo *numa_meminfo, int numa_dist_cnt) in numa_emulation() argument 373 static struct numa_meminfo ei __initdata; in numa_emulation() 374 static struct numa_meminfo pi __initdata; in numa_emulation() 385 pi = *numa_meminfo; in numa_emulation() [all …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | numa.c | 36 static struct numa_meminfo numa_meminfo; variable 152 struct numa_meminfo *mi) in numa_add_memblk_to() 190 return numa_add_memblk_to(nid, start, end, &numa_meminfo); in numa_add_memblk() 233 static bool __init numa_meminfo_cover_memory(const struct numa_meminfo *mi) in numa_meminfo_cover_memory() 286 for (i = 0; i < numa_meminfo.nr_blks; i++) { in add_numamem_region() 287 struct numa_memblk *mb = &numa_meminfo.blk[i]; in add_numamem_region() 387 memset(&numa_meminfo, 0, sizeof(numa_meminfo)); in init_numa_memory() 399 if (numa_meminfo_cover_memory(&numa_meminfo) == false) in init_numa_memory()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | numa.h | 32 struct numa_meminfo { struct
|