Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 25 of 72) sorted by relevance

123

/qemu/tests/unit/
H A Dtest-interval-tree.c41 nodes[0].start = 1; in test_find_one_point()
42 nodes[0].last = 1; in test_find_one_point()
65 nodes[0].start = 1; in test_find_two_point()
66 nodes[0].last = 1; in test_find_two_point()
67 nodes[1] = nodes[0]; in test_find_two_point()
73 g_assert(find0 == &nodes[0] || find0 == &nodes[1]); in test_find_two_point()
76 g_assert(find1 == &nodes[0] || find1 == &nodes[1]); in test_find_two_point()
90 nodes[0].start = 1; in test_find_one_range()
91 nodes[0].last = 8; in test_find_one_range()
116 nodes[0].last = 190; in test_find_one_range_many()
[all …]
H A Dtest-aio-multithread.c295 } nodes[NUM_CONTEXTS] __attribute__((__aligned__(64))); variable
303 nodes[id].next = -1; in mcs_mutex_lock()
304 nodes[id].locked = 1; in mcs_mutex_lock()
307 qatomic_set(&nodes[prev].next, id); in mcs_mutex_lock()
308 qemu_futex_wait(&nodes[id].locked, 1); in mcs_mutex_lock()
315 if (qatomic_read(&nodes[id].next) == -1) { in mcs_mutex_unlock()
321 while (qatomic_read(&nodes[id].next) == -1) { in mcs_mutex_unlock()
329 next = qatomic_read(&nodes[id].next); in mcs_mutex_unlock()
330 nodes[next].locked = 0; in mcs_mutex_unlock()
331 qemu_futex_wake(&nodes[next].locked, 1); in mcs_mutex_unlock()
/qemu/docs/sphinx/
H A Dqapidoc.py30 from docutils import nodes
81 self._top_node = nodes.section()
97 dldef = nodes.definition()
122 doc = nodes.literal('', doc)
126 nodelist = [nodes.Text(' ('), nodes.strong('', 'If: ')]
128 nodelist.append(nodes.Text(')'))
155 term = [nodes.Text(' when '),
157 nodes.Text(' is '),
165 dlnode = nodes.definition_list()
277 snode += nodes.paragraph(
[all …]
H A Ddbusdomain.py21 from docutils import nodes
22 from docutils.nodes import Element, Node
30 from sphinx.util import nodes as node_utils
93 section = nodes.section(ids=[name + "-section"])
145 if isinstance(child, nodes.field_list):
212 fieldlist = nodes.field_list()
221 content = nodes.Text(access)
222 fieldname = nodes.field_name("", _("Access"))
223 fieldbody = nodes.field_body("", nodes.paragraph("", "", content))
228 content = nodes.Text(emits)
[all …]
H A Dkerneldoc.py37 from docutils import nodes, statemachine
127 return [nodes.error(None, nodes.paragraph(text = "kernel-doc missing"))]
146 node = nodes.section()
154 return [nodes.error(None, nodes.paragraph(text = "kernel-doc missing"))]
H A Dhxtool.py23 from docutils import nodes
27 from sphinx.util.nodes import nested_parse_with_titles
159 current_node = nodes.section(ids=[section_id])
160 current_node += nodes.title(heading, heading)
170 current_node = nodes.section()
H A Ddbusdoc.py29 from docutils import nodes
30 from docutils.nodes import Element, Node
39 from sphinx.util.nodes import nested_parse_with_titles
54 self._top_node = nodes.section()
122 node = nodes.paragraph()
/qemu/util/
H A Dfdmon-poll.c25 static __thread AioHandler **nodes; variable
33 g_free(nodes); in pollfds_cleanup()
49 nodes = g_renew(AioHandler *, nodes, nalloc); in add_pollfd()
51 nodes[npfd] = node; in add_pollfd()
87 aio_add_ready_handler(ready_list, nodes[i], revents); in fdmon_poll_wait()
/qemu/tests/vm/
H A Dconf_example_x86.yml26 # 4 NUMA nodes and 2 different NUMA distances.
28 -object memory-backend-ram,size=4G,policy=bind,host-nodes=0,id=ram-node0
29 -object memory-backend-ram,size=4G,policy=bind,host-nodes=0,id=ram-node1
30 -object memory-backend-ram,size=4G,policy=bind,host-nodes=1,id=ram-node2
31 -object memory-backend-ram,size=4G,policy=bind,host-nodes=1,id=ram-node3
/qemu/hw/acpi/
H A Dhmat.c215 if (!numa_state->nodes[i].node_mem) { in hmat_build_table_structs()
220 if (numa_state->nodes[i].initiator < MAX_NODES) { in hmat_build_table_structs()
224 build_hmat_mpda(table_data, flags, numa_state->nodes[i].initiator, i); in hmat_build_table_structs()
228 if (numa_state->nodes[i].has_cpu || numa_state->nodes[i].has_gi) { in hmat_build_table_structs()
/qemu/hw/core/
H A Dnuma.c70 NodeInfo *numa_info = ms->numa_state->nodes; in parse_numa_node()
177 NodeInfo *numa_info = ms->numa_state->nodes; in parse_numa_distance()
213 NodeInfo *numa_info = numa_state->nodes; in parse_numa_hmat_lb()
393 NodeInfo *numa_info = ms->numa_state->nodes; in parse_numa_hmat_cache()
481 if (!ms->numa_state->nodes[object->u.cpu.node_id].present) { in set_numa_options()
565 NodeInfo *numa_info = ms->numa_state->nodes; in validate_numa_distance()
606 NodeInfo *numa_info = ms->numa_state->nodes; in complete_init_numa_distance()
632 uint64_t size = ms->numa_state->nodes[i].node_mem; in numa_init_memdev_container()
633 HostMemoryBackend *backend = ms->numa_state->nodes[i].node_memdev; in numa_init_memdev_container()
647 NodeInfo *numa_info = ms->numa_state->nodes; in numa_complete_configuration()
[all …]
/qemu/
H A Dblockjob.c155 for (l = job->nodes; l; l = l->next) { in child_job_change_aio_ctx()
202 while (job->nodes) { in block_job_remove_all_bdrv()
203 GSList *l = job->nodes; in block_job_remove_all_bdrv()
206 job->nodes = l->next; in block_job_remove_all_bdrv()
221 for (el = job->nodes; el; el = el->next) { in block_job_has_bdrv()
245 job->nodes = g_slist_prepend(job->nodes, c); in block_job_add_bdrv()
/qemu/docs/
H A Dpci_expander_bridge.txt24 -object memory-backend-ram,size=1024M,policy=bind,host-nodes=0,id=ram-node0 -numa node,nodeid=0,cpu…
25 -object memory-backend-ram,size=1024M,policy=bind,host-nodes=1,id=ram-node1 -numa node,nodeid=1,cpu…
31 …- 2 NUMA nodes for the guest, 0 and 1. (both mapped to the same NUMA node in host, but you can and…
/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()
184 cpu_to_be32(ms->numa_state->nodes[i].distance[j]); in riscv_socket_fdt_write_distance_matrix()
/qemu/qapi/
H A Dcommon.json150 # @preferred: set the preferred host nodes for allocation
153 # nodes specified
156 # host nodes specified
/qemu/docs/devel/
H A Dqgraph.rst36 The graph is composed by nodes that represent machines, drivers, tests
52 for the same type of device, and offers an API to the nodes that
57 Notes for the nodes:
63 - QNODE_DRIVER: driver names must be unique, and machines and nodes
64 planned to be "consumed" by other nodes must match QEMU
70 An edge relation between two nodes (drivers or machines) ``X`` and ``Y`` can be:
81 - All nodes and edges are created in their respective
84 and machines (note that only machines and "consumed" nodes are mapped
127 While adding command line in edges is always used, not all nodes names are
129 are already added by QEMU, so only nodes that "consumes" will be used to
[all …]
/qemu/tests/qemu-iotests/
H A D216.out2 === Copy-on-read across nodes ===
H A D310.out2 === Copy-on-read across nodes ===
H A D13947 nodes = [x for x in result['return'] if x['node-name'] == node]
48 self.assertLessEqual(len(nodes), 1)
49 self.assertEqual(must_exist, len(nodes) == 1)
H A D259.out13 qemu-img: TEST_DIR/t.IMGFMT: Could not resize image: Cannot grow NBD nodes
/qemu/hw/audio/
H A Dhda-codec-common.h225 .nodes = glue(output_nodes_, PARAM),
336 .nodes = glue(duplex_nodes_, PARAM),
447 .nodes = glue(micro_nodes_, PARAM),
/qemu/hw/loongarch/
H A Dacpi-build.c206 mem_len = machine->numa_state->nodes[0].node_mem - VIRT_LOWMEM_SIZE; in build_srat()
215 if (machine->numa_state->nodes[i].node_mem > 0) { in build_srat()
217 machine->numa_state->nodes[i].node_mem, i, in build_srat()
219 mem_base += machine->numa_state->nodes[i].node_mem; in build_srat()
/qemu/include/block/
H A Dblockjob.h94 GSList *nodes; member
/qemu/system/
H A Dphysmem.c128 Node *nodes; member
179 if (map->nodes_nb + nodes > map->nodes_nb_alloc) { in phys_map_node_reserve()
181 map->nodes = g_renew(Node, map->nodes, map->nodes_nb_alloc); in phys_map_node_reserve()
194 p = map->nodes[ret]; in phys_map_node_alloc()
216 p = map->nodes[lp->ptr]; in phys_page_set_level()
256 p = nodes[lp->ptr]; in phys_page_compact()
265 phys_page_compact(&p[i], nodes); in phys_page_compact()
317 Node *nodes = d->map.nodes; in phys_page_find() local
326 p = nodes[lp.ptr]; in phys_page_find()
1013 g_free(map->nodes); in phys_sections_free()
[all …]
/qemu/docs/system/i386/
H A Dsgx.rst163 -object memory-backend-ram,size=2G,host-nodes=0,policy=bind,id=node0 \\
164 -object memory-backend-epc,id=mem0,size=64M,prealloc=on,host-nodes=0,policy=bind \\
166 -object memory-backend-ram,size=2G,host-nodes=1,policy=bind,id=node1 \\
167 -object memory-backend-epc,id=mem1,size=28M,prealloc=on,host-nodes=1,policy=bind \\

123