Home
last modified time | relevance | path

Searched refs:node_mem (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/hw/core/
H A Dnuma.c147 numa_info[nodenr].node_mem = node->mem; in parse_numa_node()
632 uint64_t size = ms->numa_state->nodes[i].node_mem; in numa_init_memdev_container()
672 numa_info[0].node_mem = ms->ram_size; in numa_complete_configuration()
694 numa_total += numa_info[i].node_mem; in numa_complete_configuration()
776 node_mem[pcdimm_info->node].node_mem += pcdimm_info->size; in numa_stat_memory_devices()
783 node_mem[0].node_mem += vpi->size; in numa_stat_memory_devices()
788 node_mem[vmi->node].node_mem += vmi->size; in numa_stat_memory_devices()
793 node_mem[se->node].node_mem += se->size; in numa_stat_memory_devices()
794 node_mem[se->node].node_plugged_mem = 0; in numa_stat_memory_devices()
812 numa_stat_memory_devices(node_mem); in query_numa_node_mem()
[all …]
H A Dmachine-qmp-cmds.c221 NumaNodeMem *node_mem; in qmp_x_query_numa() local
232 node_mem = g_new0(NumaNodeMem, nb_numa_nodes); in qmp_x_query_numa()
234 query_numa_node_mem(node_mem, ms); in qmp_x_query_numa()
245 node_mem[i].node_mem >> 20); in qmp_x_query_numa()
247 node_mem[i].node_plugged_mem >> 20); in qmp_x_query_numa()
250 g_free(node_mem); in qmp_x_query_numa()
/openbmc/qemu/include/sysemu/
H A Dnuma.h40 uint64_t node_mem; member
51 uint64_t node_mem; member
108 void query_numa_node_mem(NumaNodeMem node_mem[], MachineState *ms);
/openbmc/qemu/hw/riscv/
H A Dnuma.c143 mem_offset += ms->numa_state->nodes[i].node_mem; in riscv_socket_mem_offset()
156 ms->numa_state->nodes[socket_id].node_mem : 0; in riscv_socket_mem_size()
H A Dvirt-acpi-build.c637 if (ms->numa_state->nodes[i].node_mem > 0) { in build_srat()
639 ms->numa_state->nodes[i].node_mem, i, in build_srat()
641 mem_base += ms->numa_state->nodes[i].node_mem; in build_srat()
/openbmc/qemu/hw/acpi/
H A Dhmat.c215 if (!numa_state->nodes[i].node_mem) { in hmat_build_table_structs()
/openbmc/qemu/hw/loongarch/
H A Dvirt.c522 size = numa_info[i].node_mem; in fdt_add_memory_nodes()
1048 size = numa_info[0].node_mem; in fw_cfg_add_memory()
1069 if (numa_info[0].node_mem < gap && ram_size > gap) { in fw_cfg_add_memory()
1075 memmap_add_entry(base, gap - numa_info[0].node_mem, 1); in fw_cfg_add_memory()
1079 size = ram_size - numa_info[0].node_mem; in fw_cfg_add_memory()
H A Dacpi-build.c210 len = numa_info[i].node_mem; in build_srat()
/openbmc/qemu/hw/i386/
H A Dfw_cfg.c166 cpu_to_le64(ms->numa_state->nodes[i].node_mem); in fw_cfg_arch_create()
H A Dacpi-build.c1993 mem_len = numa_info[i - 1].node_mem; in build_srat()
/openbmc/qemu/hw/arm/
H A Dvirt-acpi-build.c506 if (ms->numa_state->nodes[i].node_mem > 0) { in build_srat()
508 ms->numa_state->nodes[i].node_mem, i, in build_srat()
510 mem_base += ms->numa_state->nodes[i].node_mem; in build_srat()
H A Dboot.c601 mem_len = ms->numa_state->nodes[i].node_mem; in arm_load_dtb()
/openbmc/qemu/hw/ppc/
H A Dspapr_numa.c230 if (machine->numa_state->nodes[i].node_mem == 0) { in spapr_numa_FORM1_affinity_check()
H A Dspapr.c385 if (machine->numa_state->nodes[i].node_mem) { in spapr_node0_size()
386 return MIN(pow2floor(machine->numa_state->nodes[i].node_mem), in spapr_node0_size()
691 if (!nodes[i].node_mem) { in spapr_dt_memory()
697 node_size = nodes[i].node_mem; in spapr_dt_memory()
2607 if (machine->numa_state->nodes[i].node_mem % SPAPR_MEMORY_BLOCK_SIZE) { in spapr_validate_node_memory()
2611 i, machine->numa_state->nodes[i].node_mem, in spapr_validate_node_memory()