Home
last modified time | relevance | path

Searched refs:g_realloc (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/qemu/hw/smbios/
H A Dsmbios_build.h48 smbios_tables = g_realloc(smbios_tables, smbios_tables_len); \
60 smbios_tables = g_realloc(smbios_tables, \
76 smbios_tables = g_realloc(smbios_tables, \
90 smbios_tables = g_realloc(smbios_tables, \
H A Dsmbios_legacy.c64 smbios_entries = g_realloc(smbios_entries, smbios_entries_len + in smbios_add_field()
165 smbios_entries = g_realloc(smbios_entries, smbios_entries_len + in smbios_get_table_legacy()
/openbmc/qemu/scripts/coverity-scan/
H A Dmodel.c210 void *g_realloc(void *ptr, size_t size) in g_realloc() function
254 return g_realloc(ptr, size); in g_try_realloc()
/openbmc/qemu/block/
H A Ddmg.c248 s->types = g_realloc(s->types, new_size / 2); in dmg_read_mish_block()
249 s->offsets = g_realloc(s->offsets, new_size); in dmg_read_mish_block()
250 s->lengths = g_realloc(s->lengths, new_size); in dmg_read_mish_block()
251 s->sectors = g_realloc(s->sectors, new_size); in dmg_read_mish_block()
252 s->sectorcounts = g_realloc(s->sectorcounts, new_size); in dmg_read_mish_block()
374 buffer = g_realloc(buffer, count); in dmg_read_resource_fork()
/openbmc/qemu/system/
H A Dbootdevice.c266 list = g_realloc(list, total + len); in get_boot_devices_list()
277 list = g_realloc(list, total + 5); in get_boot_devices_list()
423 list = g_realloc(list, total + len); in get_boot_devices_lchs_list()
H A Ddevice_tree.c269 path = g_realloc(path, path_len); in qemu_fdt_node_unit_path()
324 path = g_realloc(path, path_len); in qemu_fdt_node_path()
/openbmc/qemu/hw/dma/
H A Dsoc_dma.c52 fifo_buf = g_realloc(fifo_buf, fifo_size = ch->bytes); in transfer_fifo2fifo()
265 dma->memmap = g_realloc(dma->memmap, sizeof(*entry) * in soc_dma_port_add_fifo()
315 dma->memmap = g_realloc(dma->memmap, sizeof(*entry) * in soc_dma_port_add_mem()
/openbmc/qemu/util/
H A Dgetauxval.c75 auxv = a = g_realloc(a, size); in qemu_init_auxval()
H A Dbuffer.c44 buffer->buffer = g_realloc(buffer->buffer, buffer->capacity); in buffer_adj_size()
/openbmc/qemu/scripts/coccinelle/
H A Duse-g_new-etc.cocci50 -g_realloc(p, sizeof(T) * (n))
/openbmc/qemu/ui/
H A Dvnc-clipboard.c63 out = g_realloc(out, out_len); in inflate_buffer()
115 out = g_realloc(out, out_len); in deflate_buffer()
H A Dinput-legacy.c100 up = g_realloc(up, sizeof(*up) * (count+1)); in qmp_send_key()
/openbmc/qemu/replay/
H A Dreplay-net.c40 network_filters = g_realloc(network_filters, in replay_register_net()
H A Dreplay-char.c46 char_drivers = g_realloc(char_drivers, in replay_register_char_driver()
/openbmc/qemu/hw/i386/
H A Dmultiboot.c317 mbs.mb_buf = g_realloc(mbs.mb_buf, mbs.mb_buf_size); in load_multiboot()
346 mbs.mb_buf = g_realloc(mbs.mb_buf, mbs.mb_buf_size); in load_multiboot()
/openbmc/qemu/disas/
H A Dxtensa.c54 buffer = g_realloc(buffer, len); in print_insn_xtensa()
/openbmc/qemu/hw/net/fsl_etsec/
H A Drings.c165 etsec->tx_buffer = g_realloc(etsec->tx_buffer, in tx_padding_and_crc()
239 etsec->tx_buffer = g_realloc(etsec->tx_buffer, in process_tx_bd()
/openbmc/qemu/hw/char/
H A Dxen_console.c80 buffer->data = g_realloc(buffer->data, buffer->capacity); in OBJECT_DECLARE_SIMPLE_TYPE()
99 buffer->data = g_realloc(buffer->data, buffer->max_capacity); in OBJECT_DECLARE_SIMPLE_TYPE()
/openbmc/qemu/io/
H A Dchannel-buffer.c99 bioc->data = g_realloc(bioc->data, bioc->capacity); in qio_channel_buffer_writev()
/openbmc/qemu/hw/acpi/
H A Dcore.c167 acpi_tables = g_realloc(acpi_tables, acpi_tables_len + in acpi_table_install()
287 blob = g_realloc(blob, bloblen + r); in acpi_table_add()
/openbmc/qemu/tests/qtest/
H A Dtpm-emu.c62 s->tpm_msg = g_realloc(s->tpm_msg, s->tpm_msg->len); in tpm_emu_tpm_thread()
/openbmc/qemu/hw/vfio/
H A Dhelpers.c339 region->mmaps = g_realloc(region->mmaps, j * sizeof(VFIOMmap)); in vfio_setup_region_sparse_mmaps()
578 *info = g_realloc(*info, argsz); in vfio_get_region_info()
/openbmc/qemu/hw/core/
H A Dloader-fit.c83 data = g_realloc(uncomp_data, uncomp_len); in fit_load_image_alloc()
/openbmc/qemu/hw/s390x/
H A Ds390-pci-vfio.c51 info = g_realloc(info, argsz); in s390_pci_update_dma_avail()
/openbmc/qemu/hw/net/rocker/
H A Drocker_desc.c63 info->buf = g_realloc(info->buf, size); in desc_get_buf()

123