Home
last modified time | relevance | path

Searched refs:node_id (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/qemu/hw/core/
H A Dnuma.c122 props.node_id = nodenr; in parse_numa_node()
396 if (node->node_id >= nb_numa_nodes) { in parse_numa_hmat_cache()
398 "than %d", node->node_id, nb_numa_nodes); in parse_numa_hmat_cache()
402 if (numa_info[node->node_id].lb_info_provided != (BIT(0) | BIT(1))) { in parse_numa_hmat_cache()
405 "cache attributes", node->node_id); in parse_numa_hmat_cache()
418 if (ms->numa_state->hmat_cache[node->node_id][node->level]) { in parse_numa_hmat_cache()
421 node->node_id, node->level); in parse_numa_hmat_cache()
426 ms->numa_state->hmat_cache[node->node_id][node->level - 1] == NULL) { in parse_numa_hmat_cache()
434 ms->numa_state->hmat_cache[node->node_id][node->level - 1]->size)) { in parse_numa_hmat_cache()
438 ms->numa_state->hmat_cache[node->node_id] in parse_numa_hmat_cache()
[all …]
H A Dmachine.c904 slot->props.node_id != props->node_id) { in machine_set_cpu_numa_node()
906 slot->props.node_id); in machine_set_cpu_numa_node()
912 slot->props.node_id = props->node_id; in machine_set_cpu_numa_node()
916 if ((numa_info[props->node_id].initiator < MAX_NODES) && in machine_set_cpu_numa_node()
917 (props->node_id != numa_info[props->node_id].initiator)) { in machine_set_cpu_numa_node()
920 props->node_id, numa_info[props->node_id].initiator); in machine_set_cpu_numa_node()
923 numa_info[props->node_id].has_cpu = true; in machine_set_cpu_numa_node()
924 numa_info[props->node_id].initiator = props->node_id; in machine_set_cpu_numa_node()
1460 props.node_id = mc->get_default_cpu_node_id(machine, i); in machine_numa_finish_cpu_init()
1470 props.node_id = 0; in machine_numa_finish_cpu_init()
[all …]
H A Dmachine-qmp-cmds.c242 cpu->value->props->node_id == i) { in qmp_x_query_numa()
H A Dmachine-hmp-cmds.c75 monitor_printf(mon, " node-id: \"%" PRIu64 "\"\n", c->node_id); in hmp_hotpluggable_cpus()
/openbmc/qemu/docs/sphinx/
H A Ddbusdomain.py53 node_id = name
55 node_id = f"{ifacename}.{node_id}"
58 signode["ids"].append(node_id)
64 ("single", indextext, node_id, "", None)
68 domain.note_object(name, self.objtype, node_id, location=signode)
298 for name, (docname, node_id, _) in ifaces:
311 entries.append(IndexEntry(stripped + name, 0, docname, node_id, "", "", ""))
321 node_id: str
362 self, name: str, objtype: str, node_id: str, location: Any = None
364 self.objects[name] = ObjectEntry(self.env.docname, node_id, objtype)
[all …]
H A Dqapi_domain.py84 node_id: str
225 node_id = make_id(
228 signode["ids"].append(node_id)
232 domain.note_object(fullname, self.objtype, node_id, location=signode)
239 (arity, indextext, node_id, "", None)
654 node_id
656 for node_id in cast(List[str], el.get("ids", ()))
708 name, 0, obj.docname, obj.node_id, obj.objtype, "", ""
716 IndexEntry(name, 0, obj.docname, obj.node_id, "", "", "")
815 node_id: str,
[all …]
/openbmc/qemu/hw/mips/
H A Dloongson3_bootp.c54 emap->map[0].node_id = cpu_to_le32(0); in init_memory_map()
59 emap->map[1].node_id = cpu_to_le32(0); in init_memory_map()
82 irq_info->node_id = cpu_to_le32(0); in init_irq_source()
H A Dloongson3_bootp.h30 uint32_t node_id; /* node_id which memory attached to */ member
121 uint32_t node_id; /* node id: 0x0-0; 0x1-1; 0x10-2; 0x11-3 */ member
/openbmc/qemu/tests/qemu-iotests/
H A D25854 def find_graph_node(graph, node_id): argument
55 return next(node for node in graph['nodes'] if node['id'] == node_id)
H A D124115 def add_node(self, node_id, fmt=iotests.imgfmt, path=None, backup=None): argument
117 path = os.path.join(iotests.test_dir, '%s.%s' % (node_id, fmt))
120 '%s.full.backup.%s' % (node_id, fmt))
123 'id': node_id,
H A Diotests.py1171 node_id = next(edge['child'] for edge in graph['edges']
1176 if node['id'] == node_id)
/openbmc/qemu/hw/riscv/
H A Dnuma.c47 if (ms->possible_cpus->cpus[i].props.node_id != socket_id) { in riscv_socket_first_hartid()
67 if (ms->possible_cpus->cpus[i].props.node_id != socket_id) { in riscv_socket_last_hartid()
122 if (ms->possible_cpus->cpus[i].props.node_id != socket_id) { in riscv_socket_check_hartids()
H A Dvirt-acpi-build.c75 socket_id = arch_ids->cpus[uid].props.node_id; in riscv_acpi_madt_add_rintc()
94 arch_ids->cpus[uid].props.node_id, in riscv_acpi_madt_add_rintc()
100 arch_ids->cpus[uid].props.node_id, in riscv_acpi_madt_add_rintc()
831 uint32_t nodeid = cpu_list->cpus[i].props.node_id; in build_srat()
/openbmc/qemu/hw/ppc/
H A Dspapr_numa.c60 static const uint32_t *get_associativity(SpaprMachineState *spapr, int node_id) in get_associativity() argument
63 return spapr->FORM2_assoc_array[node_id]; in get_associativity()
65 return spapr->FORM1_assoc_array[node_id]; in get_associativity()
236 if (cpu->node_id == i) { in spapr_numa_FORM1_affinity_check()
364 const uint32_t *associativity = get_associativity(spapr, cpu->node_id); in spapr_numa_get_vcpu_assoc()
H A Dspapr_cpu_core.c324 env->chip_index = sc->node_id; in spapr_create_vcpu()
327 cpu->node_id = sc->node_id; in spapr_create_vcpu()
373 DEFINE_PROP_INT32("node-id", SpaprCpuCore, node_id, CPU_UNSET_NUMA_NODE_ID),
/openbmc/qemu/include/hw/ppc/
H A Dspapr_cpu_core.h30 int node_id; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_mem.h195 uint16_t node_id; member
/openbmc/qemu/hw/loongarch/
H A Dvirt-acpi-build.c185 int i, arch_id, node_id; in build_srat() local
201 node_id = arch_ids->cpus[i].props.node_id; in build_srat()
207 build_append_int_noprefix(table_data, node_id, 1); in build_srat()
H A Dvirt-fdt-build.c74 possible_cpus->cpus[num].props.node_id); in fdt_add_cpu_nodes()
112 uint64_t base, uint64_t size, int node_id) in fdt_add_memory_node() argument
122 qemu_fdt_setprop_cell(ms->fdt, nodename, "numa-node-id", node_id); in fdt_add_memory_node()
/openbmc/qemu/hw/acpi/
H A Dhmat.c180 build_append_int_noprefix(table_data, hmat_cache->node_id, 4); in build_hmat_cache()
H A Dcpu.c723 aml_int(arch_ids->cpus[i].props.node_id))); in build_cpus_aml()
/openbmc/qemu/hw/i386/
H A Dfw_cfg.c164 numa_fw_cfg[apic_id + 1] = cpu_to_le64(cpus->cpus[i].props.node_id); in fw_cfg_arch_create()
H A Dacpi-build.c1376 int node_id = apic_ids->cpus[i].props.node_id; in build_srat() local
1384 build_append_int_noprefix(table_data, node_id, 1); in build_srat()
1401 build_append_int_noprefix(table_data, node_id, 4); in build_srat()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/
H A D0001-Fix-build-with-fno-common.patch180 -uint32_t (*mds_mdtm_init)(NODE_ID node_id, uint32_t *mds_tipc_ref);
181 +EXTERN uint32_t (*mds_mdtm_init)(NODE_ID node_id, uint32_t *mds_tipc_ref);
/openbmc/qemu/target/loongarch/
H A Dcpu.h425 int32_t node_id; /* NUMA node of this CPU */ member

12