/qemu/tests/qtest/ |
H A D | qom-test.c | 25 GSList *children = NULL, *links = NULL; in test_properties() local 50 children = g_slist_prepend(children, child_path); in test_properties() 74 while (children) { in test_properties() 75 test_properties(qts, children->data, true); in test_properties() 76 g_free(children->data); in test_properties() 77 children = g_slist_delete_link(children, children); in test_properties()
|
/qemu/scripts/simplebench/ |
H A D | table_templater.py | 38 for x in self.tree.children: 40 c_switches.append([el.children[0].value for el in x.children]) 42 r_switches.append([el.children[0].value for el in x.children]) 52 for x in self.tree.children: 54 result.append(x.children[0].value)
|
/qemu/hw/core/ |
H A D | resetcontainer.c | 24 GPtrArray *children; member 32 g_ptr_array_add(rc->children, obj); in resettable_container_add() 37 g_ptr_array_remove(rc->children, obj); in resettable_container_remove() 51 unsigned int len = rc->children->len; in resettable_container_child_foreach() 54 cb(g_ptr_array_index(rc->children, i), opaque, type); in resettable_container_child_foreach() 56 assert(len == rc->children->len); in resettable_container_child_foreach() 64 rc->children = g_ptr_array_new(); in resettable_container_init()
|
H A D | bus.c | 53 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in qbus_walk_children() 96 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in bus_reset_child_foreach() 146 while ((kid = QTAILQ_FIRST(&bus->children)) != NULL) { in bus_unparent() 203 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in bus_set_realized() 220 QTAILQ_INIT(&bus->children); in qbus_initfn()
|
H A D | clock.c | 90 QLIST_FOREACH(child, &clk->children, sibling) { in clock_propagate_period() 121 QLIST_INSERT_HEAD(&src->children, clk, sibling); in clock_set_source() 185 QLIST_INIT(&clk->children); in clock_initfn() 199 QLIST_FOREACH_SAFE(child, &clk->children, sibling, next) { in clock_finalizefn()
|
H A D | qdev.c | 62 QTAILQ_FOREACH(kid, &bus->children, sibling) { in bus_remove_child() 67 QTAILQ_REMOVE_RCU(&bus->children, kid, sibling); in bus_remove_child() 91 QTAILQ_INSERT_HEAD_RCU(&bus->children, kid, sibling); in bus_add_child() 380 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in qdev_find_recursive()
|
/qemu/block/ |
H A D | quorum.c | 74 BdrvChild **children; /* children BlockDriverStates */ member 268 s->children[item->index]->bs->node_name, 0); in quorum_report_bad_versions() 287 bdrv_co_pwritev(s->children[co->idx], acb->offset, acb->bytes, in quorum_rewrite_entry() 590 sacb->bs = s->children[i]->bs; in read_quorum_children_entry() 591 sacb->ret = bdrv_co_preadv(s->children[i], acb->offset, acb->bytes, in read_quorum_children_entry() 617 acb->qcrs[i].buf = qemu_blockalign(s->children[i]->bs, acb->qiov->size); in read_quorum_children() 659 acb->qcrs[n].bs = s->children[n]->bs; in read_fifo_child() 660 ret = bdrv_co_preadv(s->children[n], acb->offset, acb->bytes, in read_fifo_child() 705 sacb->bs = s->children[i]->bs; in write_quorum_entry() 707 sacb->ret = bdrv_co_pwrite_zeroes(s->children[i], acb->offset, in write_quorum_entry() [all …]
|
/qemu/hw/i386/kvm/ |
H A D | xenstore_impl.c | 36 GHashTable *children; member 144 if (n->children) { in xs_node_unref() 145 g_hash_table_unref(n->children); in xs_node_unref() 217 if (old->children) { in xs_node_copy() 218 n->children = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, in xs_node_copy() 220 g_hash_table_foreach(old->children, do_child_insert, n->children); in xs_node_copy() 237 assert(n->children); in xs_node_add_child() 238 return g_hash_table_remove(n->children, path_elem); in xs_node_add_child() 245 if (!n->children) { in xs_node_add_child() 246 n->children = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, in xs_node_add_child() [all …]
|
/qemu/qom/ |
H A D | qom-hmp-cmds.c | 112 GArray *children = g_array_new(false, false, sizeof(Object *)); in print_qom_composition() local 124 object_child_foreach(obj, insert_qom_composition_child, children); in print_qom_composition() 125 g_array_sort(children, qom_composition_compare); in print_qom_composition() 127 for (i = 0; i < children->len; i++) { in print_qom_composition() 128 print_qom_composition(mon, g_array_index(children, Object *, i), in print_qom_composition() 131 g_array_free(children, TRUE); in print_qom_composition()
|
/qemu/docs/sphinx/ |
H A D | qapi_domain.py | 76 assert len(field.children) == 2 77 assert isinstance(field.children[0], nodes.field_name) 78 assert isinstance(field.children[1], nodes.field_body) 79 return (field.children[0], field.children[1]) 422 if infopips.children: 483 for field in child.children: 496 if par.children[0].astext() != "q_dummy": 501 del par.children[:-1] 640 assert isinstance(desc_node.children[ [all...] |
/qemu/hw/s390x/ |
H A D | event-facility.c | 59 QTAILQ_FOREACH(kid, &ef->sbus.qbus.children, sibling) { in event_pending() 78 QTAILQ_FOREACH(kid, &ef->sbus.qbus.children, sibling) { in get_host_send_mask() 94 QTAILQ_FOREACH(kid, &ef->sbus.qbus.children, sibling) { in get_host_receive_mask() 133 QTAILQ_FOREACH(kid, &ef->sbus.qbus.children, sibling) { in handle_write_event_buf() 212 QTAILQ_FOREACH(kid, &ef->sbus.qbus.children, sibling) { in handle_sccb_read_events()
|
/qemu/hw/i386/ |
H A D | microvm-dt.c | 70 if (QTAILQ_EMPTY(&mmio_bus->children)) { in dt_add_virtio() 231 QTAILQ_FOREACH(kid, &bus->children, sibling) { in dt_setup_isa_bus() 263 QTAILQ_FOREACH(kid, &bus->children, sibling) { in dt_setup_sys_bus() 274 QTAILQ_FOREACH(kid, &bus->children, sibling) { in dt_setup_sys_bus()
|
H A D | acpi-microvm.c | 58 QTAILQ_FOREACH(kid, &bus->children, sibling) { in acpi_dsdt_add_virtio() 67 if (QTAILQ_EMPTY(&mmio_bus->children)) { in acpi_dsdt_add_virtio()
|
H A D | nitro_enclave.c | 32 QTAILQ_FOREACH(kid, &bus->children, sibling) { in find_free_virtio_mmio_bus() 38 if (QTAILQ_EMPTY(&mmio_bus->children)) { in find_free_virtio_mmio_bus()
|
/qemu/tests/unit/ |
H A D | test-xs-node.c | 51 if (n->children) { in dump_ref() 52 g_hash_table_foreach(n->children, (void *)dump_ref, in dump_ref() 135 if (n1->children) { in compare_nodes() 136 nr_children1 = g_hash_table_size(n1->children); in compare_nodes() 138 if (n2->children) { in compare_nodes() 139 nr_children2 = g_hash_table_size(n2->children); in compare_nodes() 155 g_hash_table_foreach(n1->children, compare_child, cw); in compare_nodes() 166 XsNode *child2 = g_hash_table_lookup(cw->parent_2->children, childname); in compare_child()
|
H A D | test-bdrv-graph-mod.c | 394 bdrv_child_refresh_perms(top, top->children.lh_first, &error_abort); in test_parallel_perm_update() 401 bdrv_child_refresh_perms(top, top->children.lh_first, &error_abort); in test_parallel_perm_update() 408 bdrv_child_refresh_perms(top, top->children.lh_first, &error_abort); in test_parallel_perm_update()
|
/qemu/docs/ |
H A D | block-replication.txt | 85 children, providing replication between a primary disk and the host that 155 children.0.file.filename=1.raw,\ 156 children.0.driver=raw 178 6. After primary failover we need remove children.1 (replication driver). 189 vote-threshold=1,children.0=childs1 229 "child": "children.1"
|
/qemu/hw/ppc/ |
H A D | spapr_vio.c | 73 QTAILQ_FOREACH(kid, &bus->bus.children, sibling) { in spapr_vio_find_by_reg() 375 QTAILQ_FOREACH(kid, &bus->bus.children, sibling) { in rtas_quiesce() 394 QTAILQ_FOREACH(kid, &bus->bus.children, sibling) { in reg_conflict() 696 QTAILQ_FOREACH(kid, &bus->bus.children, sibling) { in spapr_dt_vdevice() 703 QTAILQ_FOREACH(kid, &bus->bus.children, sibling) { in spapr_dt_vdevice()
|
/qemu/hw/ssi/ |
H A D | ssi.c | 35 QTAILQ_FOREACH(kid, &b->children, sibling) { in OBJECT_DECLARE_SIMPLE_TYPE() 162 QTAILQ_FOREACH(kid, &b->children, sibling) { in ssi_transfer()
|
/qemu/system/ |
H A D | qdev-monitor.c | 389 QTAILQ_FOREACH(kid, &bus->children, sibling) { in qbus_error_append_dev_list_hint() 423 QTAILQ_FOREACH(kid, &bus->children, sibling) { in qbus_find_dev() 429 QTAILQ_FOREACH(kid, &bus->children, sibling) { in qbus_find_dev() 435 QTAILQ_FOREACH(kid, &bus->children, sibling) { in qbus_find_dev() 486 QTAILQ_FOREACH(kid, &bus->children, sibling) { in qbus_find_recursive() 815 QTAILQ_FOREACH(kid, &bus->children, sibling) { in qbus_print()
|
/qemu/hw/acpi/ |
H A D | pcihp.c | 199 QTAILQ_FOREACH_SAFE(kid, &bus->qbus.children, sibling, next) { in acpi_pcihp_eject_slot() 245 QTAILQ_FOREACH_SAFE(kid, &bus->qbus.children, sibling, next) { in acpi_pcihp_update_hotplug_bus() 462 QTAILQ_FOREACH_SAFE(kid, &bus->qbus.children, sibling, next) { in pci_write()
|
H A D | acpi_interface.c | 20 QTAILQ_FOREACH(kid, &bus->children, sibling) { in qbus_build_aml()
|
/qemu/tests/qemu-iotests/ |
H A D | 081.out | 62 "children": [ "file1", "file2", "file3" ] 135 {"error": {"class": "GenericError", "desc": "The number of children cannot be lower than the vote t… 151 {"error": {"class": "GenericError", "desc": "The number of children cannot be lower than the vote t…
|
/qemu/include/hw/intc/ |
H A D | riscv_aplic.h | 60 struct RISCVAPLICState *children[QEMU_APLIC_MAX_CHILDREN]; member
|
/qemu/hw/smbios/ |
H A D | smbios_type_38.c | 89 QTAILQ_FOREACH(kid, &bus->children, sibling) { in smbios_add_ipmi_devices()
|