Searched refs:table_offset (Results 1 – 14 of 14) sorted by relevance
/qemu/hw/pci/ |
H A D | msix.c | 314 unsigned table_offset, MemoryRegion *pba_bar, in msix_init() argument 338 ranges_overlap(table_offset, table_size, pba_offset, pba_size)) || in msix_init() 339 table_offset + table_size > memory_region_size(table_bar) || in msix_init() 341 (table_offset | pba_offset) & PCI_MSIX_FLAGS_BIRMASK) { in msix_init() 361 pci_set_long(config + PCI_MSIX_TABLE, table_offset | table_bar_nr); in msix_init() 376 memory_region_add_subregion(table_bar, table_offset, &dev->msix_table_mmio); in msix_init()
|
/qemu/tests/image-fuzzer/qcow2/ |
H A D | layout.py | 398 def create_table_entry(table_offset, block_cluster, block_size, argument 401 offset = table_offset + UINT64_S * (cluster // block_size) 442 table_offset = min(table_clusters) * self.cluster_size 457 rfc_table.append(create_table_entry(table_offset, 465 self.header['refcount_table_offset'][0].value = table_offset
|
/qemu/block/ |
H A D | qcow2-cache.c | 56 ptrdiff_t table_offset = (uint8_t *) table - (uint8_t *) c->table_array; in qcow2_cache_get_table_idx() local 57 int idx = table_offset / c->table_size; in qcow2_cache_get_table_idx() 58 assert(idx >= 0 && idx < c->size && table_offset % c->table_size == 0); in qcow2_cache_get_table_idx()
|
H A D | vpc.c | 109 uint64_t table_offset; member 403 s->bat_offset = be64_to_cpu(dyndisk_header.table_offset); in vpc_open() 872 dyndisk_header.table_offset = cpu_to_be64(3 * 512); in create_dynamic_disk()
|
H A D | qcow2-refcount.c | 541 uint64_t table_offset, block_offset, end_offset; in qcow2_refcount_area() local 611 table_offset = start_offset + additional_refblock_count * s->cluster_size; in qcow2_refcount_area() 612 end_offset = table_offset + table_clusters * s->cluster_size; in qcow2_refcount_area() 674 assert(block_offset == table_offset); in qcow2_refcount_area() 689 ret = bdrv_pwrite_sync(bs->file, table_offset, in qcow2_refcount_area() 704 data.d64 = cpu_to_be64(table_offset); in qcow2_refcount_area() 721 s->refcount_table_offset = table_offset; in qcow2_refcount_area()
|
/qemu/include/hw/pci/ |
H A D | msix.h | 12 unsigned table_offset, MemoryRegion *pba_bar,
|
/qemu/hw/riscv/ |
H A D | virt-acpi-build.c | 289 isa_offset = table_data->len - table.table_offset; in build_rhct() 309 cmo_offset = table_data->len - table.table_offset; in build_rhct() 340 mmu_offset = table_data->len - table.table_offset; in build_rhct()
|
/qemu/hw/vfio/ |
H A D | pci.h | 113 uint32_t table_offset; member
|
H A D | pci.c | 1397 start = vdev->msix->table_offset & qemu_real_host_page_mask(); in vfio_pci_fixup_msix_region() 1398 end = REAL_HOST_PAGE_ALIGN((uint64_t)vdev->msix->table_offset + in vfio_pci_fixup_msix_region() 1521 vdev->msix->table_offset = 0; in vfio_pci_relocate_msix() 1529 vdev->msix->table_offset = vdev->bars[target_bar].size / 2; in vfio_pci_relocate_msix() 1535 vdev->msix->pba_offset = vdev->msix->table_offset + in vfio_pci_relocate_msix() 1539 vdev->msix->table_bar, vdev->msix->table_offset); in vfio_pci_relocate_msix() 1590 msix->table_offset = table & ~PCI_MSIX_FLAGS_BIRMASK; in vfio_msix_early_setup() 1636 msix->table_offset, msix->entries, in vfio_msix_early_setup() 1654 vdev->msix->table_bar, vdev->msix->table_offset, in vfio_msix_setup()
|
/qemu/include/hw/s390x/ |
H A D | s390-pci-bus.h | 256 uint32_t table_offset; member
|
/qemu/hw/acpi/ |
H A D | aml-build.c | 1712 desc->table_offset = array->len; in acpi_table_begin() 1743 uint32_t table_len = desc->array->len - desc->table_offset; in acpi_table_end() 1745 gchar *len_ptr = &desc->array->data[desc->table_offset + 4]; in acpi_table_end() 1754 desc->table_offset, table_len, desc->table_offset + checksum_offset); in acpi_table_end()
|
/qemu/include/hw/acpi/ |
H A D | aml-build.h | 424 unsigned table_offset; member
|
/qemu/hw/arm/ |
H A D | virt-acpi-build.c | 348 smmu_offset = table_data->len - table.table_offset; in build_iort()
|
/qemu/hw/s390x/ |
H A D | s390-pci-bus.c | 893 pbdev->msix.table_offset = table & ~PCI_MSIX_FLAGS_BIRMASK; in s390_pci_msix_init()
|