Home
last modified time | relevance | path

Searched full:section (Results 1 – 25 of 462) sorted by relevance

12345678910>>...19

/qemu/hw/vfio/
H A Dlistener.c79 static bool vfio_listener_skipped_section(MemoryRegionSection *section) in vfio_listener_skipped_section() argument
81 return (!memory_region_is_ram(section->mr) && in vfio_listener_skipped_section()
82 !memory_region_is_iommu(section->mr)) || in vfio_listener_skipped_section()
83 memory_region_is_protected(section->mr) || in vfio_listener_skipped_section()
90 section->offset_within_address_space & (1ULL << 63); in vfio_listener_skipped_section()
201 MemoryRegionSection *section) in vfio_ram_discard_notify_discard() argument
206 const hwaddr size = int128_get64(section->size); in vfio_ram_discard_notify_discard()
207 const hwaddr iova = section->offset_within_address_space; in vfio_ram_discard_notify_discard()
219 MemoryRegionSection *section) in vfio_ram_discard_notify_populate() argument
224 const hwaddr end = section->offset_within_region + in vfio_ram_discard_notify_populate()
[all …]
H A Dspapr.c42 static bool vfio_prereg_listener_skipped_section(MemoryRegionSection *section) in vfio_prereg_listener_skipped_section() argument
44 if (memory_region_is_iommu(section->mr)) { in vfio_prereg_listener_skipped_section()
48 return !memory_region_is_ram(section->mr) || in vfio_prereg_listener_skipped_section()
49 memory_region_is_ram_device(section->mr); in vfio_prereg_listener_skipped_section()
52 static void *vfio_prereg_gpa_to_vaddr(MemoryRegionSection *section, hwaddr gpa) in vfio_prereg_gpa_to_vaddr() argument
54 return memory_region_get_ram_ptr(section->mr) + in vfio_prereg_gpa_to_vaddr()
55 section->offset_within_region + in vfio_prereg_gpa_to_vaddr()
56 (gpa - section->offset_within_address_space); in vfio_prereg_gpa_to_vaddr()
60 MemoryRegionSection *section) in vfio_prereg_listener_region_add() argument
66 const hwaddr gpa = section->offset_within_address_space; in vfio_prereg_listener_region_add()
[all …]
/qemu/docs/sphinx/
H A Dqapidoc_legacy.py69 self._top_node = nodes.section()
94 """Return a section node with optional title"""
95 section = nodes.section(ids=[self._sphinx_directive.new_serialno()])
97 section += nodes.title(title, title)
98 return section
154 for section in doc.args.values():
155 term = self._nodes_for_one_member(section.member)
157 if section.text:
158 defn = dedent(section.text)
182 section = self._make_section(what)
[all …]
H A Dqapidoc.py223 def visit_paragraph(self, section: QAPIDoc.Section) -> None: argument
225 if not section.text:
229 self.add_lines(section.text, section.info)
232 def visit_member(self, section: QAPIDoc.ArgSection) -> None:
237 assert section.member
240 section.member,
242 section.text if section.text else "Not documented",
243 section.info,
246 def visit_feature(self, section: QAPIDoc.ArgSection) -> None:
250 assert section.text # Guaranteed by parser.py
[all …]
/qemu/scripts/qapi/
H A Dparser.py75 qapi-code-gen.rst section "Schema Syntax" for the exact syntax.
510 # Non-blank line, first of a section
536 "description of '@%s:' follows a section"
551 # tagged section
554 # rST markup and not interpreted as a section heading.
563 f"The '{match.group(1)}' section is no longer "
572 f"The '{match.group(1)}' section is no longer "
628 * a body section: one line naming the definition, followed by an
638 Free-form documentation blocks consist only of a body section.
657 class Section: class in QAPIDoc
[all …]
/qemu/hw/remote/
H A Dproxy-memory-listener.c81 MemoryRegionSection *section) in try_merge() argument
93 mrs_rb = section->mr->ram_block; in try_merge()
95 mrs_size = int128_get64(section->size); in try_merge()
96 mrs_gpa = section->offset_within_address_space; in try_merge()
97 mrs_host = (uintptr_t)memory_region_get_ram_ptr(section->mr) + in try_merge()
98 section->offset_within_region; in try_merge()
121 if ((section->mr == prev_sec->mr) && in try_merge()
140 MemoryRegionSection *section) in proxy_memory_listener_region_addnop() argument
146 if (!memory_region_is_ram(section->mr) || in proxy_memory_listener_region_addnop()
147 memory_region_is_rom(section->mr)) { in proxy_memory_listener_region_addnop()
[all …]
/qemu/hw/i386/
H A Dsgx.c32 /* A valid EPC section. */
90 SgxEpcSection *section; in sgx_calc_host_epc_sections() local
107 section = g_new0(SgxEpcSection, 1); in sgx_calc_host_epc_sections()
108 section->node = j++; in sgx_calc_host_epc_sections()
109 section->size = sgx_calc_section_metric(ecx, edx); in sgx_calc_host_epc_sections()
110 QAPI_LIST_APPEND(tail, section); in sgx_calc_host_epc_sections()
146 error_report("cannot reset vEPC section %d", j); in sgx_epc_reset()
190 SgxEpcSection *section; in sgx_get_epc_sections_list() local
196 section = g_new0(SgxEpcSection, 1); in sgx_get_epc_sections_list()
197 section->node = object_property_get_uint(obj, SGX_EPC_NUMA_NODE_PROP, in sgx_get_epc_sections_list()
[all …]
/qemu/system/
H A Dmemory_mapping.c199 MemoryRegionSection *section) in guest_phys_block_add_section() argument
201 const hwaddr target_start = section->offset_within_address_space; in guest_phys_block_add_section()
202 const hwaddr target_end = target_start + int128_get64(section->size); in guest_phys_block_add_section()
203 uint8_t *host_addr = memory_region_get_ram_ptr(section->mr) + in guest_phys_block_add_section()
204 section->offset_within_region; in guest_phys_block_add_section()
220 predecessor->mr != section->mr) { in guest_phys_block_add_section()
232 block->mr = section->mr; in guest_phys_block_add_section()
233 memory_region_ref(section->mr); in guest_phys_block_add_section()
251 static int guest_phys_ram_populate_cb(MemoryRegionSection *section, in guest_phys_ram_populate_cb() argument
256 guest_phys_block_add_section(g, section); in guest_phys_ram_populate_cb()
[all …]
H A Dphysmem.c311 static inline bool section_covers_addr(const MemoryRegionSection *section, in section_covers_addr() argument
315 * the section must cover the entire address space. in section_covers_addr()
317 return int128_gethi(section->size) || in section_covers_addr()
318 range_covers_byte(section->offset_within_address_space, in section_covers_addr()
319 int128_getlo(section->size), addr); in section_covers_addr()
345 /* Called from RCU critical section */
350 MemoryRegionSection *section = qatomic_read(&d->mru_section); in address_space_lookup_region() local
353 if (!section || section == &d->map.sections[PHYS_SECTION_UNASSIGNED] || in address_space_lookup_region()
354 !section_covers_addr(section, addr)) { in address_space_lookup_region()
355 section = phys_page_find(d, addr); in address_space_lookup_region()
[all …]
/qemu/accel/hvf/
H A Dhvf-accel-ops.c117 static void hvf_set_phys_mem(MemoryRegionSection *section, bool add) in hvf_set_phys_mem() argument
120 MemoryRegion *area = section->mr; in hvf_set_phys_mem()
137 if (!QEMU_IS_ALIGNED(int128_get64(section->size), page_size) || in hvf_set_phys_mem()
138 !QEMU_IS_ALIGNED(section->offset_within_address_space, page_size)) { in hvf_set_phys_mem()
144 section->offset_within_address_space, in hvf_set_phys_mem()
145 int128_get64(section->size)); in hvf_set_phys_mem()
148 if (mem->size == int128_get64(section->size) && in hvf_set_phys_mem()
149 mem->start == section->offset_within_address_space && in hvf_set_phys_mem()
151 section->offset_within_region)) { in hvf_set_phys_mem()
191 mem->size = int128_get64(section->size); in hvf_set_phys_mem()
[all …]
/qemu/hw/virtio/
H A Dvhost-vdpa.c31 * Return one past the end of the end of section. Be careful with uint64_t
34 static Int128 vhost_vdpa_section_end(const MemoryRegionSection *section, in vhost_vdpa_section_end() argument
37 Int128 llend = int128_make64(section->offset_within_address_space); in vhost_vdpa_section_end()
38 llend = int128_add(llend, section->size); in vhost_vdpa_section_end()
44 static bool vhost_vdpa_listener_skipped_section(MemoryRegionSection *section, in vhost_vdpa_listener_skipped_section() argument
50 bool is_ram = memory_region_is_ram(section->mr); in vhost_vdpa_listener_skipped_section()
51 bool is_iommu = memory_region_is_iommu(section->mr); in vhost_vdpa_listener_skipped_section()
52 bool is_protected = memory_region_is_protected(section->mr); in vhost_vdpa_listener_skipped_section()
55 bool is_ram_device = memory_region_is_ram_device(section->mr); in vhost_vdpa_listener_skipped_section()
64 if (section->offset_within_address_space < iova_min) { in vhost_vdpa_listener_skipped_section()
[all …]
H A Dvhost.c91 MemoryRegionSection *section, in vhost_dev_sync_region() argument
126 section_offset = page_addr - section->offset_within_address_space; in vhost_dev_sync_region()
127 mr_offset = section_offset + section->offset_within_region; in vhost_dev_sync_region()
128 memory_region_set_dirty(section->mr, mr_offset, VHOST_LOG_PAGE); in vhost_dev_sync_region()
195 MemoryRegionSection *section, in vhost_sync_dirty_bitmap() argument
206 start_addr = section->offset_within_address_space; in vhost_sync_dirty_bitmap()
207 end_addr = range_get_last(start_addr, int128_get64(section->size)); in vhost_sync_dirty_bitmap()
214 vhost_dev_sync_region(dev, section, start_addr, end_addr, in vhost_sync_dirty_bitmap()
262 vhost_dev_sync_region(dev, section, start_addr, end_addr, phys, in vhost_sync_dirty_bitmap()
268 vhost_dev_sync_region(dev, section, start_addr, in vhost_sync_dirty_bitmap()
[all …]
/qemu/tests/qapi-schema/
H A Ddoc-good.out58 = Section
116 section=Plain
174 section=Plain
176 section=Returns
178 section=Errors
180 section=Todo
182 section=Plain
206 section=Since
215 section=Plain
/qemu/hw/core/
H A Deif.c123 error_setg(errp, "Invalid EIF image. Section size out of bounds"); in read_eif_header()
141 error_setg(errp, "Failed to read EIF section header"); in read_eif_section_header()
197 error_setg(errp, "Out of memory reading kernel section"); in read_eif_kernel()
215 error_setg(errp, "Failed to read EIF kernel section data"); in read_eif_kernel()
221 error_setg(errp, "Failed to write EIF kernel section data to temporary" in read_eif_kernel()
253 error_setg(errp, "Failed to read EIF cmdline section data"); in read_eif_cmdline()
273 error_setg(errp, "Out of memory reading initrd section"); in read_eif_ramdisk()
279 error_setg(errp, "Failed to read EIF ramdisk section data"); in read_eif_ramdisk()
319 error_setg(errp, "Out of memory reading signature section"); in get_signature_fingerprint_sha384()
325 error_setg(errp, "Failed to read EIF signature section data"); in get_signature_fingerprint_sha384()
[all …]
/qemu/include/hw/cxl/
H A Dcxl_events.h16 * CXL r3.1 section 8.2.9.2.2: Get Event Records (Opcode 0100h); Table 8-52
32 * CXL r3.1 section 8.2.9.2.1: Event Records; Table 8-43
55 * CXL r3.1 section 8.2.9.2.2; Table 8-53
73 * CXL r3.1 section 8.2.9.2.3; Table 8-54
86 * CXL r3.1 section 8.2.9.2.4; Table 8-55
109 * CXL r3.1 Section 8.2.9.2.1.1; Table 8-45
129 * CXL r3.1 Section 8.2.9.2.1.2: Table 8-46
152 * CXL r3.1 Section 8.2.9.2.1.3: Table 8-47
170 * CXL r3.1 section Table 8-50: Dynamic Capacity Event Record
H A Dcxl_pci.h74 * CXL r3.1 Section 8.1.3: PCIe DVSEC for Devices
100 * CXL r3.1 Section 8.1.5: CXL Extensions DVSEC for Ports
125 * CXL r3.1 Section 8.1.6: GPF DVSEC for CXL Port
137 * CXL r3.1 Section 8.1.7: GPF DVSEC for CXL Device
148 * CXL r3.1 Section 8.1.8: PCIe DVSEC for Flex Bus Port
149 * CXL r3.1 Section 8.2.1.3: Flex Bus Port DVSEC
165 * CXL r3.1 Section 8.1.9: Register Locator DVSEC
H A Dcxl_device.h63 /* CXL r3.1 Section 8.2.8.2: CXL Device Capability Header Register */
67 * CXL r3.1 Section 8.2.8.2.1: CXL Device Capabilities +
68 * CXL r3.1 Section 8.2.8.5: Memory Device Capabilities
76 * CXL r3.1 Section 8.2.8.3: Device Status Registers
212 /* CXL r3.1 Section 8.2.8.3: Device Status Registers */
232 /* CXL r3.1 Section 8.2.8.4: Mailbox Registers */
274 * CXL r3.1 Section 8.2.8.1: CXL Device Capabilities Array Register
289 * In CXL r3.1 Section 8.2.8.2: CXL Device Capability Header Register, this is
290 * listed as a 128b register, but in CXL r3.1 Section 8.2.8: CXL Device Register
292 * > No registers defined in Section 8.2.8 are larger than 64-bits wide so that
[all …]
/qemu/scripts/ci/
H A Dgitlab-ci-section4 # gitlab-ci-section: This is a shell script fragment which defines
7 # section" in a CI job log. See
10 # This is intended to be sourced in the before_script section of
14 # Section names are [-_.A-Za-z0-9] and the section_start pairs with
15 # a section_end with the same section name.
20 # section_start section_name "Description of the section"
/qemu/scripts/
H A Dvmstate-static-checker.py43 # is used to allow such changes in each section / description.
106 # Section names can change -- see commit 292b1634 for an example.
146 # This function checks for all the fields in a section. If some
186 print("Section \"" + sec + "\",", end=' ')
207 print("Section \"" + sec + "\",", end=' ')
221 print("Section \"" + sec + "\",", end=' ')
274 print("Section \"" + sec + "\",", end=' ')
301 print("Section \"" + sec + "\", Description \"" + desc + "\":", end=' ')
311 print("Section \"" + sec + "\", Description \"" + desc + "\",", end=' ')
323 print("Section \"" + sec + "\":", end=' ')
[all …]
H A Dkernel-doc37 # Support for Context section; can be terminated using empty line
74 or DOC: section title(s). All other functions and DOC:
106 # * (section header: (section description)? )*
183 # A non-void function should have a "Return:" section describing the return
390 # @params and a strictly limited set of supported section names
413 # the canonical section names. see also $doc_sect above.
414 my $section_default = "Description"; # default section
416 my $section = $section_default;
555 # dumps section contents to arrays/hashes intended for that purpose.
576 # Only warn on user specified duplicate section names.
[all …]
/qemu/tests/tcg/arm/system/
H A Dboot.S29 .section .interrupt_vector, "ax"
72 * translations. The first 1Mb section points to the text
73 * section and the second points to the data and rss.
77 * The short descriptor Section format is as follows:
79 * PA[31:20] - Section Base Address
81 * 0[18] - Section (1 for Super Section)
97 * r3 - common section bits
114 /* Section bit */
316 .section .bss
/qemu/include/migration/
H A Dregister.h31 * Saves state section on the source using the latest state format
59 * first section containing information on the device
95 * Transmits the last section for the device containing any
119 * handler may need, including this device section idstr and instance_id,
132 * Will skip a state section if not active
136 * Returns true if state section is active else false
155 * section in qemu_savevm_state_iterate.
164 * Returns true if state section is active else false
179 * section.
348 * @idstr: state section identifier
[all …]
/qemu/include/hw/xen/
H A Dxen_native.h368 MemoryRegionSection *section) in xen_map_memory_section() argument
370 hwaddr start_addr = section->offset_within_address_space; in xen_map_memory_section()
371 ram_addr_t size = int128_get64(section->size); in xen_map_memory_section()
385 MemoryRegionSection *section) in xen_unmap_memory_section() argument
387 hwaddr start_addr = section->offset_within_address_space; in xen_unmap_memory_section()
388 ram_addr_t size = int128_get64(section->size); in xen_unmap_memory_section()
402 MemoryRegionSection *section) in xen_map_io_section() argument
404 hwaddr start_addr = section->offset_within_address_space; in xen_map_io_section()
405 ram_addr_t size = int128_get64(section->size); in xen_map_io_section()
419 MemoryRegionSection *section) in xen_unmap_io_section() argument
[all …]
/qemu/docs/devel/
H A Drcu.rst34 removal has completed, a critical section will not be able to access
54 Note how thread 3 is still executing its critical section when thread 2
57 that critical section.
67 entering an RCU read-side critical section.
71 exiting an RCU read-side critical section. Note that RCU
133 section reads multiple shared data, these reads are either
199 section. This is because spinlocks are rarely (if ever) used in userspace
201 critical section to become an updater.
243 read-side critical section in progress, the RCU read-side primitives
252 The RCU read-side critical section ensures that the value of ``p`` remains
[all …]
/qemu/
H A Dqemu.nsi110 ; Remember to keep the "Uninstall" section in sync.
112 Section "${PRODUCT} (required)"
145 Section "Tools" SectionTools
158 Section "Libraries (DLL)" SectionDll
165 Section "Documentation" SectionDoc
174 ; Optional section (can be disabled by the user)
175 Section "Start Menu Shortcuts" SectionMenu
184 Section "Uninstall"

12345678910>>...19