| /openbmc/qemu/hw/mips/ |
| H A D | loongson3_bootp.c | 119 p += ROUND_UP(sizeof(struct efi_cpuinfo_loongson), 64); in init_loongson_params() 123 p += ROUND_UP(sizeof(struct efi_memory_map_loongson), 64); in init_loongson_params() 127 p += ROUND_UP(sizeof(struct system_loongson), 64); in init_loongson_params() 131 p += ROUND_UP(sizeof(struct irq_source_routing_table), 64); in init_loongson_params() 135 p += ROUND_UP(sizeof(struct interface_info), 64); in init_loongson_params() 139 p += ROUND_UP(sizeof(struct board_devices), 64); in init_loongson_params() 143 p += ROUND_UP(sizeof(struct loongson_special_attribute), 64); in init_loongson_params()
|
| /openbmc/qemu/target/i386/ |
| H A D | arch_dump.c | 90 buf += ROUND_UP(sizeof(Elf64_Nhdr), 4); in x86_64_write_elf64_note() 92 buf += ROUND_UP(name_size, 4); in x86_64_write_elf64_note() 168 buf += ROUND_UP(sizeof(Elf64_Nhdr), 4); in x86_write_elf64_note() 170 buf += ROUND_UP(name_size, 4); in x86_write_elf64_note() 222 buf += ROUND_UP(sizeof(Elf32_Nhdr), 4); in x86_cpu_write_elf32_note() 224 buf += ROUND_UP(name_size, 4); in x86_cpu_write_elf32_note() 367 buf += ROUND_UP(note_head_size, 4); in cpu_write_qemu_note() 369 buf += ROUND_UP(name_size, 4); in cpu_write_qemu_note()
|
| /openbmc/qemu/contrib/elf2dmp/ |
| H A D | qemu_elf.c | 15 #ifndef ROUND_UP 16 #define ROUND_UP(n, d) (((n) + (d) - 1) & -(0 ? (n) : (d))) macro 47 offset = ROUND_UP(offset, 4); in advance_note_offset()
|
| /openbmc/qemu/hw/tpm/ |
| H A D | tpm_ppi.c | 53 ROUND_UP(TPM_PPI_ADDR_SIZE, host_page_size)); in tpm_ppi_init()
|
| /openbmc/qemu/util/ |
| H A D | atomic64.c | 78 lock_size = ROUND_UP(sizeof(QemuSpin), qemu_dcache_linesize);
|
| /openbmc/qemu/tests/fp/ |
| H A D | fp-bench.c | 65 ROUND_UP, enumerator 74 [ROUND_UP] = "up", 580 case ROUND_UP: in set_host_precision() 609 case ROUND_UP: in set_soft_precision()
|
| /openbmc/qemu/target/riscv/ |
| H A D | vector_internals.c | 49 uint32_t j = ROUND_UP(cnt, 8); in vext_set_elems_1s()
|
| /openbmc/qemu/target/arm/ |
| H A D | arch_dump.c | 149 return ROUND_UP(off, 16) + vq * 16 * n; in sve_zreg_offset() 160 return ROUND_UP(off, 16); in sve_fpsr_offset() 176 return ROUND_UP(off, 16); in sve_size_vq()
|
| /openbmc/qemu/include/hw/ppc/ |
| H A D | openpic.h | 58 #define IRQQUEUE_SIZE_BITS ROUND_UP(OPENPIC_MAX_IRQ, 64)
|
| /openbmc/qemu/hw/vfio/ |
| H A D | helpers.c | 34 vbmap->size = ROUND_UP(vbmap->pages, sizeof(__u64) * BITS_PER_BYTE) / in vfio_bitmap_alloc()
|
| /openbmc/qemu/block/ |
| H A D | qcow2-snapshot.c | 108 table_length = ROUND_UP(table_length, 8); in qcow2_do_read_snapshots() 111 offset = ROUND_UP(offset, 8); in qcow2_do_read_snapshots() 289 offset = ROUND_UP(offset, 8); in qcow2_write_snapshots() 351 offset = ROUND_UP(offset, 8); in qcow2_write_snapshots() 740 ROUND_UP(sn->vm_state_size, s->cluster_size), in qcow2_snapshot_create()
|
| H A D | blklogwrites.c | 376 const uint64_t qiov_aligned_size = ROUND_UP(lr->qiov->size, s->sectorsize); in blk_log_writes_co_do_log() 378 ROUND_UP(lr->zero_size, s->sectorsize); in blk_log_writes_co_do_log()
|
| H A D | qcow2-bitmap.c | 418 return ROUND_UP(size, 8); in calc_dir_entry_size() 1800 bitmaps_size += ROUND_UP(bmclusters * BME_TABLE_ENTRY_SIZE, in qcow2_get_persistent_dirty_bitmap_size() 1806 bitmaps_size += ROUND_UP(bitmap_dir_size, cluster_size); in qcow2_get_persistent_dirty_bitmap_size()
|
| /openbmc/qemu/hw/i386/ |
| H A D | fw_cfg.c | 226 ROUND_UP(FW_CFG_CTL_SIZE, 4) + sizeof(dma_addr_t) : in fw_cfg_add_acpi_dsdt()
|
| /openbmc/qemu/contrib/vhost-user-gpu/ |
| H A D | vugbm.c | 56 return ROUND_UP(buf->width * buf->height * 4, qemu_real_host_page_size()); in udmabuf_get_size()
|
| /openbmc/qemu/hw/nvram/ |
| H A D | xlnx-efuse.c | 52 return ROUND_UP((s->efuse_nr * s->efuse_size) / 8, 4); in efuse_bytes()
|
| /openbmc/qemu/hw/virtio/ |
| H A D | vhost-shadow-virtqueue.c | 634 return ROUND_UP(desc_size + avail_size, qemu_real_host_page_size()); in vhost_svq_driver_area_size() 641 return ROUND_UP(used_size, qemu_real_host_page_size()); in vhost_svq_device_area_size()
|
| H A D | vhost-vdpa.c | 346 iova = ROUND_UP(section->offset_within_address_space, page_size); in vhost_vdpa_listener_region_add() 438 iova = ROUND_UP(section->offset_within_address_space, page_size); in vhost_vdpa_listener_region_del() 1134 size = ROUND_UP(result->size, qemu_real_host_page_size()); in vhost_vdpa_svq_unmap_ring()
|
| /openbmc/qemu/hw/core/ |
| H A D | loader-fit.c | 204 load_addr = ROUND_UP(kernel_end, 64 * KiB) + (10 * MiB); in fit_load_fdt()
|
| /openbmc/qemu/hw/ssi/ |
| H A D | imx_spi.c | 135 burst = ROUND_UP(burst, 8); in imx_spi_burst_length()
|
| /openbmc/qemu/hw/pci-host/ |
| H A D | i440fx.c | 215 hole64_end = ROUND_UP(hole64_start + s->pci_hole64_size, 1ULL << 30); in i440fx_pcihost_get_pci_hole64_end()
|
| /openbmc/qemu/ui/ |
| H A D | vnc.h | 84 #define VNC_MAX_WIDTH ROUND_UP(5120, VNC_DIRTY_PIXELS_PER_BIT)
|
| /openbmc/qemu/bsd-user/ |
| H A D | qemu.h | 51 #define HOST_PAGE_ALIGN(addr) ROUND_UP((addr), qemu_host_page_size)
|
| /openbmc/qemu/dump/ |
| H A D | dump.c | 958 head_size = ROUND_UP(head_size, 4); in note_name_equal() 1751 note_head_size = ROUND_UP(note_head_size, 4); in vmcoreinfo_update_phys_base() 1753 vmci = s->guest_note + note_head_size + ROUND_UP(name_size, 4); in vmcoreinfo_update_phys_base()
|
| /openbmc/qemu/hw/i386/xen/ |
| H A D | xen-hvm.c | 730 size = ROUND_UP(size, page_size); in arch_xen_set_memory()
|