Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 225) sorted by relevance

123456789

/qemu/hw/vfio/
A Dcommon.c414 vrdl->mr = section->mr; in vfio_register_ram_discard_listener()
481 if (vrdl->mr == section->mr && in vfio_unregister_ram_discard_listener()
499 MemoryRegion *mr = section->mr; in vfio_known_safe_misalignment()
588 int128_getlo(section->size), in vfio_listener_region_add()
598 memory_region_ref(section->mr); in vfio_listener_region_add()
618 section->size); in vfio_listener_region_add()
653 section->offset_within_region + in vfio_listener_region_add()
796 memory_region_unref(section->mr); in vfio_listener_region_del()
1281 if (vrdl->mr == section->mr && in vfio_sync_ram_discard_listener_dirty_bitmap()
1327 section->size); in vfio_sync_iommu_dirty_bitmap()
[all …]
A Dspapr.c37 if (memory_region_is_iommu(section->mr)) { in vfio_prereg_listener_skipped_section()
41 return !memory_region_is_ram(section->mr) || in vfio_prereg_listener_skipped_section()
42 memory_region_is_ram_device(section->mr); in vfio_prereg_listener_skipped_section()
47 return memory_region_get_ram_ptr(section->mr) + in vfio_prereg_gpa_to_vaddr()
48 section->offset_within_region + in vfio_prereg_gpa_to_vaddr()
49 (gpa - section->offset_within_address_space); in vfio_prereg_gpa_to_vaddr()
70 section->offset_within_address_space, in vfio_prereg_listener_region_add()
71 section->offset_within_address_space + in vfio_prereg_listener_region_add()
83 end = section->offset_within_address_space + int128_get64(section->size); in vfio_prereg_listener_region_add()
88 memory_region_ref(section->mr); in vfio_prereg_listener_region_add()
[all …]
/qemu/hw/remote/
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()
98 section->offset_within_region; in try_merge()
121 if ((section->mr == prev_sec->mr) && in try_merge()
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()
151 if (try_merge(proxy_listener, section)) { in proxy_memory_listener_region_addnop()
161 memory_region_ref(section->mr); in proxy_memory_listener_region_addnop()
170 MemoryRegionSection *section; in proxy_memory_listener_commit() local
[all …]
/qemu/docs/sphinx/
A Dqapidoc.py111 section = nodes.section(ids=[self._sphinx_directive.new_serialno()])
114 return section
173 if section.text:
199 section += dlnode
200 return [section]
223 section += dlnode
224 return [section]
247 [nodes.literal('', section.member.name)], dedent(section.text))
254 section += dlnode
255 return [section]
[all …]
/qemu/scripts/
A Dkernel-doc749 print ".SH \"$section\"\n";
784 print ".SH \"$section\"\n";
801 print ".SH \"$section\"\n";
1016 my $section;
1021 print "**$section**\n\n";
2058 $section = $1;
2125 $section =~ s/\.\.\.$//;
2175 $section = $newsection;
2216 if ($section =~ m/^@/ || $section eq $section_context) {
2243 $section = $1;
[all …]
/qemu/accel/hvf/
A Dhvf-accel-ops.c120 MemoryRegion *area = section->mr; 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()
151 section->offset_within_region)) { in hvf_set_phys_mem()
191 mem->size = int128_get64(section->size); in hvf_set_phys_mem()
245 int128_get64(section->size)); in hvf_set_dirty_tracking()
267 hvf_set_dirty_tracking(section, 1); in hvf_log_start()
277 hvf_set_dirty_tracking(section, 0); in hvf_log_stop()
287 hvf_set_dirty_tracking(section, 1); in hvf_log_sync()
293 hvf_set_phys_mem(section, true); in hvf_region_add()
[all …]
/qemu/system/
A Dmemory_mapping.c204 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()
256 guest_phys_block_add_section(g, section); in guest_phys_ram_populate_cb()
266 if (!memory_region_is_ram(section->mr) || in guest_phys_blocks_region_add()
267 memory_region_is_ram_device(section->mr) || in guest_phys_blocks_region_add()
268 memory_region_is_nonvolatile(section->mr)) { in guest_phys_blocks_region_add()
273 if (memory_region_has_ram_discard_manager(section->mr)) { in guest_phys_blocks_region_add()
277 ram_discard_manager_replay_populated(rdm, section, in guest_phys_blocks_region_add()
[all …]
A Dphysmem.c345 if (!section || section == &d->map.sections[PHYS_SECTION_UNASSIGNED] || in address_space_lookup_region()
354 return section; in address_space_lookup_region()
373 mr = section->mr; in address_space_translate_internal()
390 return section; in address_space_translate_internal()
460 return *section; in address_space_translate_iommu()
520 return *section; in flatview_do_translate()
527 MemoryRegionSection section; in address_space_get_iotlb_entry() local
566 MemoryRegionSection section; in flatview_translate() local
572 mr = section.mr; in flatview_translate()
725 return section; in address_space_translate_for_iotlb()
[all …]
/qemu/hw/i386/
A Dsgx.c90 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()
110 QAPI_LIST_APPEND(tail, section); in sgx_calc_host_epc_sections()
190 SGXEPCSection *section; in sgx_get_epc_sections_list() local
196 section = g_new0(SGXEPCSection, 1); in sgx_get_epc_sections_list()
201 QAPI_LIST_APPEND(tail, section); in sgx_get_epc_sections_list()
258 for (section = section_list; section; section = section->next) { in hmp_info_sgx()
260 section->value->node); in hmp_info_sgx()
262 section->value->size); in hmp_info_sgx()
[all …]
/qemu/hw/virtio/
A Dvhost-vdpa.c38 llend = int128_add(llend, section->size); in vhost_vdpa_section_end()
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()
265 iommu_mr = IOMMU_MEMORY_REGION(section->mr); in vhost_vdpa_iommu_region_add()
269 section->size); in vhost_vdpa_iommu_region_add()
330 if (memory_region_is_iommu(section->mr)) { in vhost_vdpa_listener_region_add()
349 memory_region_ref(section->mr); in vhost_vdpa_listener_region_add()
354 section->offset_within_region + in vhost_vdpa_listener_region_add()
417 if (memory_region_is_iommu(section->mr)) { in vhost_vdpa_listener_region_del()
444 section->offset_within_region + in vhost_vdpa_listener_region_del()
[all …]
A Dvhost.c571 MemoryRegion *mr = section->mr; in vhost_section()
751 RAMBlock *mrs_rb = section->mr->ram_block; in vhost_region_add_section()
845 memory_region_ref(section->mr); in vhost_region_add_section()
856 if (!vhost_section(dev, section)) { in vhost_region_addnop()
859 vhost_region_add_section(dev, section); in vhost_region_addnop()
884 if (!memory_region_is_iommu(section->mr)) { in vhost_iommu_region_add()
888 iommu_mr = IOMMU_MEMORY_REGION(section->mr); in vhost_iommu_region_add()
892 section->size); in vhost_iommu_region_add()
903 iommu->mr = section->mr; in vhost_iommu_region_add()
920 if (!memory_region_is_iommu(section->mr)) { in vhost_iommu_region_del()
[all …]
/qemu/scripts/qapi/
A Dparser.py681 for section in self.all_sections:
682 section.text = section.text.strip('\n')
683 if section.tag is not None and section.text == '':
685 section.info, "text required after '%s:'" % section.tag)
693 section = self.Section(info)
694 self.sections.append(section)
703 self.returns = section
708 self.errors = section
713 self.since = section
714 self.sections.append(section)
[all …]
/qemu/scripts/ci/
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
15 # a section_end with the same section name.
20 # section_start section_name "Description of the section"
/qemu/tests/tcg/x86_64/system/
A Dboot.S16 .section .head
75 .section .text
117 .section .text
156 .section .data
249 .section .bss
255 .section .data
/qemu/include/exec/
A Dmemory.h511 MemoryRegionSection *section);
513 MemoryRegionSection *section);
555 MemoryRegionSection *section; member
639 const MemoryRegionSection *section);
657 MemoryRegionSection *section,
672 MemoryRegionSection *section,
691 MemoryRegionSection *section);
712 const MemoryRegionSection *section);
715 MemoryRegionSection *section,
720 MemoryRegionSection *section,
[all …]
/qemu/include/hw/xen/
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()
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
421 hwaddr start_addr = section->offset_within_address_space; in xen_unmap_io_section()
[all …]
A Dxen-hvm-common.h91 void xen_region_add(MemoryListener *listener, MemoryRegionSection *section);
92 void xen_region_del(MemoryListener *listener, MemoryRegionSection *section);
93 void xen_io_add(MemoryListener *listener, MemoryRegionSection *section);
94 void xen_io_del(MemoryListener *listener, MemoryRegionSection *section);
/qemu/tests/qapi-schema/
A Ddoc-good.out113 section=None
171 section=None
173 section=Returns
175 section=Errors
177 section=TODO
179 section=None
203 section=Since
212 section=None
A Dtest-qapi.py129 for arg, section in doc.args.items():
130 print(' arg=%s\n%s' % (arg, section.text))
131 for feat, section in doc.features.items():
132 print(' feature=%s\n%s' % (feat, section.text))
133 for section in doc.sections:
134 print(' section=%s\n%s' % (section.tag, section.text))
/qemu/tests/multiboot/
A Dstart.S23 .section multiboot
34 .section .text
49 .section bss
/qemu/hw/i386/xen/
A Dxen-hvm.c429 MemoryRegionSection *section, in xen_log_start() argument
435 xen_sync_dirty_bitmap(state, section->offset_within_address_space, in xen_log_start()
436 int128_get64(section->size)); in xen_log_start()
456 xen_sync_dirty_bitmap(state, section->offset_within_address_space, in xen_log_sync()
457 int128_get64(section->size)); in xen_log_sync()
702 void arch_xen_set_memory(XenIOState *state, MemoryRegionSection *section, in arch_xen_set_memory() argument
708 hwaddr start_addr = section->offset_within_address_space; in arch_xen_set_memory()
709 ram_addr_t size = int128_get64(section->size); in arch_xen_set_memory()
713 if (!memory_region_is_ram(section->mr)) { in arch_xen_set_memory()
727 if (!memory_region_is_rom(section->mr)) { in arch_xen_set_memory()
[all …]
/qemu/hw/xen/
A Dxen-hvm-common.c70 if (xen_mr_is_memory(section->mr)) { in xen_set_memory()
75 section); in xen_set_memory()
78 section); in xen_set_memory()
82 arch_xen_set_memory(state, section, add); in xen_set_memory()
88 memory_region_ref(section->mr); in xen_region_add()
89 xen_set_memory(listener, section, true); in xen_region_add()
95 xen_set_memory(listener, section, false); in xen_region_del()
96 memory_region_unref(section->mr); in xen_region_del()
100 MemoryRegionSection *section) in xen_io_add() argument
103 MemoryRegion *mr = section->mr; in xen_io_add()
[all …]
/qemu/tests/tcg/i386/system/
A Dboot.S13 .section .head
36 .section .text
108 .section .data
168 .section .bss
/qemu/hw/intc/
A Dopenpic_kvm.c118 MemoryRegionSection *section) in kvm_openpic_region_add() argument
127 if (section->mr != &opp->mem) { in kvm_openpic_region_add()
139 reg_base = section->offset_within_address_space; in kvm_openpic_region_add()
154 MemoryRegionSection *section) in kvm_openpic_region_del() argument
163 if (section->mr != &opp->mem) { in kvm_openpic_region_del()
167 if (section->offset_within_address_space != opp->mapped) { in kvm_openpic_region_del()
/qemu/accel/kvm/
A Dkvm-all.c312 hwaddr size = int128_get64(section->size); in kvm_align_section()
1131 size = int128_get64(section->size); in kvm_physical_log_clear()
1444 MemoryRegion *mr = section->mr; in kvm_set_phys_mem()
1467 section->offset_within_address_space; in kvm_set_phys_mem()
1676 update->section = *section; in kvm_region_add()
1688 update->section = *section; in kvm_region_del()
1744 memory_region_unref(u1->section.mr); in kvm_region_commit()
1752 memory_region_ref(u1->section.mr); in kvm_region_commit()
1816 section->mr->name, section->offset_within_region, in kvm_log_clear()
2997 MemoryRegionSection section; in kvm_convert_memory() local
[all …]

Completed in 854 milliseconds

123456789