Home
last modified time | relevance | path

Searched refs:g_try_malloc0 (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/scripts/coccinelle/
H A Duse-g_new-etc.cocci20 -g_try_malloc0(sizeof(T))
44 -g_try_malloc0(sizeof(T) * (n))
/openbmc/qemu/scripts/coverity-scan/
H A Dmodel.c237 void *g_try_malloc0(size_t size) in g_try_malloc0() function
/openbmc/qemu/hw/intc/
H A Ds390_flic_kvm.c425 buf = g_try_malloc0(len); in kvm_flic_save()
482 buf = g_try_malloc0(len); in kvm_flic_load()
/openbmc/qemu/bsd-user/
H A Delfload.c161 pag = g_try_malloc0(TARGET_PAGE_SIZE); in copy_elf_strings()
/openbmc/qemu/hw/vfio/
H A Dhelpers.c266 vbmap->bitmap = g_try_malloc0(vbmap->size); in vfio_bitmap_alloc()
H A Dmigration.c475 migration->data_buffer = g_try_malloc0(migration->data_buffer_size); in vfio_save_setup()
H A Dcommon.c962 feature = g_try_malloc0(feature_size); in vfio_device_feature_dma_logging_start_create()
/openbmc/qemu/block/
H A Dvdi.c861 bmap = g_try_malloc0(bmap_size); in vdi_co_do_create()
H A Dqcow2-snapshot.c828 sn_l1_table = g_try_malloc0(cur_l1_bytes); in qcow2_snapshot_goto()
H A Dqcow2-bitmap.c763 dir = g_try_malloc0(dir_size); in bitmap_list_store()
H A Dvhdx.c1753 s->bat = g_try_malloc0(length); in vhdx_create_bat()
H A Discsi.c1250 iscsilun->zeroblock = g_try_malloc0(iscsilun->block_size); in iscsi_co_pwrite_zeroes()
H A Dqcow2-refcount.c1269 l1_table = g_try_malloc0(l1_size2); in qcow2_update_snapshot_refcount()
/openbmc/qemu/migration/
H A Dram.c2650 XBZRLE.zero_target_page = g_try_malloc0(TARGET_PAGE_SIZE); in xbzrle_init()
2662 XBZRLE.encoded_buf = g_try_malloc0(TARGET_PAGE_SIZE); in xbzrle_init()