/qemu/hw/vfio/ |
H A D | spapr.c | 35 if (memory_region_is_iommu(section->mr)) { in vfio_prereg_listener_skipped_section() 39 return !memory_region_is_ram(section->mr) || in vfio_prereg_listener_skipped_section() 40 memory_region_is_ram_device(section->mr); in vfio_prereg_listener_skipped_section() 45 return memory_region_get_ram_ptr(section->mr) + in vfio_prereg_gpa_to_vaddr() 46 section->offset_within_region + in vfio_prereg_gpa_to_vaddr() 47 (gpa - section->offset_within_address_space); in vfio_prereg_gpa_to_vaddr() 68 section->offset_within_address_space, in vfio_prereg_listener_region_add() 69 section->offset_within_address_space + in vfio_prereg_listener_region_add() 81 end = section->offset_within_address_space + int128_get64(section->size); in vfio_prereg_listener_region_add() 86 memory_region_ref(section->mr); in vfio_prereg_listener_region_add() [all …]
|
H A D | common.c | 411 vrdl->mr = section->mr; in vfio_register_ram_discard_listener() 478 if (vrdl->mr == section->mr && in vfio_unregister_ram_discard_listener() 496 MemoryRegion *mr = section->mr; in vfio_known_safe_misalignment() 585 int128_getlo(section->size), in vfio_listener_region_add() 595 memory_region_ref(section->mr); in vfio_listener_region_add() 615 section->size); in vfio_listener_region_add() 668 section->offset_within_region + in vfio_listener_region_add() 682 int128_getlo(section->size), in vfio_listener_region_add() 810 memory_region_unref(section->mr); in vfio_listener_region_del() 1289 if (vrdl->mr == section->mr && in vfio_sync_ram_discard_listener_dirty_bitmap() [all …]
|
H A D | container-base.c | 35 MemoryRegionSection *section, in vfio_container_add_section_window() argument 42 return bcontainer->ops->add_window(bcontainer, section, errp); in vfio_container_add_section_window() 46 MemoryRegionSection *section) in vfio_container_del_section_window() argument 52 return bcontainer->ops->del_window(bcontainer, section); in vfio_container_del_section_window()
|
/qemu/docs/sphinx/ |
H A D | qapidoc.py | 107 section = nodes.section(ids=[self._sphinx_directive.new_serialno()]) 110 return section 195 section += dlnode 196 return [section] 219 section += dlnode 220 return [section] 243 [nodes.literal('', section.member.name)], section.text) 250 section += dlnode 251 return [section] 261 if section.tag and section.tag == 'TODO': [all …]
|
/qemu/hw/remote/ |
H A D | proxy-memory-listener.c | 81 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/scripts/ |
H A D | kernel-doc | 749 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/ |
H A D | hvf-accel-ops.c | 123 MemoryRegion *area = section->mr; in hvf_set_phys_mem() 147 section->offset_within_address_space, in hvf_set_phys_mem() 148 int128_get64(section->size)); in hvf_set_phys_mem() 154 section->offset_within_region)) { in hvf_set_phys_mem() 194 mem->size = int128_get64(section->size); in hvf_set_phys_mem() 248 int128_get64(section->size)); in hvf_set_dirty_tracking() 270 hvf_set_dirty_tracking(section, 1); in hvf_log_start() 280 hvf_set_dirty_tracking(section, 0); in hvf_log_stop() 290 hvf_set_dirty_tracking(section, 1); in hvf_log_sync() 296 hvf_set_phys_mem(section, true); in hvf_region_add() [all …]
|
/qemu/hw/i386/ |
H A D | sgx.c | 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() 110 QAPI_LIST_APPEND(tail, section); in sgx_calc_host_epc_sections() 188 SGXEPCSection *section; in sgx_get_epc_sections_list() local 194 section = g_new0(SGXEPCSection, 1); in sgx_get_epc_sections_list() 199 QAPI_LIST_APPEND(tail, section); in sgx_get_epc_sections_list() 256 for (section = section_list; section; section = section->next) { in hmp_info_sgx() 258 section->value->node); in hmp_info_sgx() 260 section->value->size); in hmp_info_sgx() [all …]
|
/qemu/system/ |
H A D | memory_mapping.c | 203 section->offset_within_region; in guest_phys_block_add_section() 219 predecessor->mr != section->mr) { in guest_phys_block_add_section() 231 block->mr = section->mr; in guest_phys_block_add_section() 232 memory_region_ref(section->mr); in guest_phys_block_add_section() 255 guest_phys_block_add_section(g, section); in guest_phys_ram_populate_cb() 265 if (!memory_region_is_ram(section->mr) || in guest_phys_blocks_region_add() 266 memory_region_is_ram_device(section->mr) || in guest_phys_blocks_region_add() 267 memory_region_is_nonvolatile(section->mr)) { in guest_phys_blocks_region_add() 272 if (memory_region_has_ram_discard_manager(section->mr)) { in guest_phys_blocks_region_add() 276 ram_discard_manager_replay_populated(rdm, section, in guest_phys_blocks_region_add() [all …]
|
H A D | physmem.c | 345 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/virtio/ |
H A D | vhost-vdpa.c | 38 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 …]
|
H A D | vhost.c | 506 MemoryRegion *mr = section->mr; in vhost_section() 686 RAMBlock *mrs_rb = section->mr->ram_block; in vhost_region_add_section() 780 memory_region_ref(section->mr); in vhost_region_add_section() 791 if (!vhost_section(dev, section)) { in vhost_region_addnop() 794 vhost_region_add_section(dev, section); in vhost_region_addnop() 819 if (!memory_region_is_iommu(section->mr)) { in vhost_iommu_region_add() 823 iommu_mr = IOMMU_MEMORY_REGION(section->mr); in vhost_iommu_region_add() 827 section->size); in vhost_iommu_region_add() 838 iommu->mr = section->mr; in vhost_iommu_region_add() 855 if (!memory_region_is_iommu(section->mr)) { in vhost_iommu_region_del() [all …]
|
/qemu/tests/qapi-schema/ |
H A D | doc-good.out | 114 section=None 172 section=Note 174 section=Returns 176 section=Errors 178 section=TODO 180 section=Notes 185 section=Example 188 section=Examples 191 section=Since 200 section=Example
|
H A D | test-qapi.py | 129 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/scripts/qapi/ |
H A D | parser.py | 653 for section in self.all_sections: 654 section.text = section.text.strip('\n') 655 if section.tag is not None and section.text == '': 657 section.info, "text required after '%s:'" % section.tag) 665 section = self.Section(info) 666 self.sections.append(section) 675 self.returns = section 680 self.errors = section 685 self.since = section 686 self.sections.append(section) [all …]
|
/qemu/tests/tcg/x86_64/system/ |
H A D | boot.S | 16 .section .head 75 .section .text 117 .section .text 156 .section .data 249 .section .bss 255 .section .data
|
/qemu/include/exec/ |
H A D | memory.h | 557 MemoryRegionSection *section); 559 MemoryRegionSection *section); 601 MemoryRegionSection *section; member 685 const MemoryRegionSection *section); 703 MemoryRegionSection *section, 718 MemoryRegionSection *section, 737 MemoryRegionSection *section); 758 const MemoryRegionSection *section); 761 MemoryRegionSection *section, 766 MemoryRegionSection *section, [all …]
|
/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 429 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() 678 void arch_xen_set_memory(XenIOState *state, MemoryRegionSection *section, in arch_xen_set_memory() argument 684 hwaddr start_addr = section->offset_within_address_space; in arch_xen_set_memory() 685 ram_addr_t size = int128_get64(section->size); in arch_xen_set_memory() 689 if (!memory_region_is_ram(section->mr)) { in arch_xen_set_memory() 703 if (!memory_region_is_rom(section->mr)) { in arch_xen_set_memory() [all …]
|
/qemu/include/hw/xen/ |
H A D | xen_native.h | 368 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 …]
|
H A D | xen-hvm-common.h | 86 void xen_region_add(MemoryListener *listener, MemoryRegionSection *section); 87 void xen_region_del(MemoryListener *listener, MemoryRegionSection *section); 88 void xen_io_add(MemoryListener *listener, MemoryRegionSection *section); 89 void xen_io_del(MemoryListener *listener, MemoryRegionSection *section);
|
/qemu/tests/multiboot/ |
H A D | start.S | 23 .section multiboot 34 .section .text 49 .section bss
|
/qemu/accel/kvm/ |
H A D | kvm-all.c | 246 hwaddr size = int128_get64(section->size); in kvm_align_section() 1021 size = int128_get64(section->size); in kvm_physical_log_clear() 1334 MemoryRegion *mr = section->mr; in kvm_set_phys_mem() 1357 section->offset_within_address_space; in kvm_set_phys_mem() 1570 update->section = *section; in kvm_region_add() 1582 update->section = *section; in kvm_region_del() 1638 memory_region_unref(u1->section.mr); in kvm_region_commit() 1646 memory_region_ref(u1->section.mr); in kvm_region_commit() 1714 section->mr->name, section->offset_within_region, in kvm_log_clear() 2849 MemoryRegionSection section; in kvm_convert_memory() local [all …]
|
/qemu/hw/xen/ |
H A D | xen-hvm-common.c | 58 if (section->mr == &xen_memory) { in xen_set_memory() 63 section); in xen_set_memory() 66 section); in xen_set_memory() 70 arch_xen_set_memory(state, section, add); in xen_set_memory() 76 memory_region_ref(section->mr); in xen_region_add() 77 xen_set_memory(listener, section, true); in xen_region_add() 83 xen_set_memory(listener, section, false); in xen_region_del() 84 memory_region_unref(section->mr); in xen_region_del() 88 MemoryRegionSection *section) in xen_io_add() argument 91 MemoryRegion *mr = section->mr; in xen_io_add() [all …]
|
/qemu/tests/tcg/i386/system/ |
H A D | boot.S | 13 .section .head 36 .section .text 108 .section .data 168 .section .bss
|
/qemu/hw/intc/ |
H A D | openpic_kvm.c | 118 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()
|