Searched refs:qemu_malloc (Results 1 – 25 of 65) sorted by relevance
123
42 void *qemu_malloc(size_t size) in qemu_malloc() function79 ptr = qemu_malloc(len + 1); in qemu_strdup()93 new = qemu_malloc(size + 1); in qemu_strndup()
58 acl = qemu_malloc(sizeof(*acl)); in qemu_acl_init()119 entry = qemu_malloc(sizeof(*entry)); in qemu_acl_append()145 entry = qemu_malloc(sizeof(*entry)); in qemu_acl_insert()
43 qstring = qemu_malloc(sizeof(*qstring)); in qstring_from_substr()48 qstring->string = qemu_malloc(qstring->capacity + 1); in qstring_from_substr()
34 qlist = qemu_malloc(sizeof(*qlist)); in qlist_new()67 entry = qemu_malloc(sizeof(*entry)); in qlist_append_obj()
268 ptr = qemu_malloc(size); in load_at()380 p = qemu_malloc(size); in zalloc()505 data = qemu_malloc(hdr->ih_size); in load_uimage()519 data = qemu_malloc(max_bytes); in load_uimage()
75 packet = qemu_malloc(packet_size); in queued_packet_create()165 NetShaper shaper = qemu_malloc(sizeof(*shaper)); in netshaper_create()462 NetDelay delay = qemu_malloc(sizeof(*delay)); in netdelay_create()550 session = qemu_malloc( sizeof(*session) ); in netdelay_send_aux()
34 qb = qemu_malloc(sizeof(*qb)); in qbool_from_int()
34 qf = qemu_malloc(sizeof(*qf)); in qfloat_from_double()
33 qi = qemu_malloc(sizeof(*qi)); in qint_from_int()
102 bh = qemu_malloc(sizeof(*bh)); in async_context_pop()
151 qemu_malloc(gen_opc_tpc2gpc_pairs * 2 * sizeof(target_ulong)); in cpu_gen_code()
129 MMRangeMapEntry* rdesc = qemu_malloc(sizeof(MMRangeMapEntry)); in mmrangemap_insert()192 (MMRangeMapEntry*)qemu_malloc(sizeof(MMRangeMapEntry)); in mmrangemap_copy()198 new_entry->desc.path = qemu_malloc(strlen(entry->desc.path) + 1); in mmrangemap_copy()
168 AllocMapEntry* adesc = qemu_malloc(sizeof(AllocMapEntry)); in allocmap_insert()231 (AllocMapEntry*)qemu_malloc(sizeof(AllocMapEntry)); in allocmap_copy()241 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong)); in allocmap_copy()
71 ThreadDesc* new_thread = (ThreadDesc*)qemu_malloc(sizeof(ThreadDesc)); in create_new_thread()101 ProcDesc* new_proc = (ProcDesc*)qemu_malloc(sizeof(ProcDesc)); in create_new_process()272 proc->image_path = qemu_malloc(strlen(image_path) + 1); in procdesc_set_image_path()385 qemu_malloc(thread->call_stack_max * sizeof(ThreadCallStackEntry)); in memcheck_on_call()408 qemu_malloc(strlen(rdesc->path) + 1); in memcheck_on_call()718 desc.path = qemu_malloc(strlen(path) + 1); in memcheck_mmap_exepath()788 tail.path = qemu_malloc(strlen(desc.path) + 1); in memcheck_unmap()
418 addr_array->addr = qemu_malloc(sizeof(target_ulong)); in addrarray_add()447 new_arr = qemu_malloc(sizeof(target_ulong) * (addr_array->num + 1)); in addrarray_add()
73 s->offsets = qemu_malloc(offsets_size); in cloop_open()88 s->compressed_block = qemu_malloc(max_compressed_block_size+1); in cloop_open()89 s->uncompressed_block = qemu_malloc(s->block_size); in cloop_open()
99 sn->id_str = qemu_malloc(id_str_size + 1); in qcow2_read_snapshots()105 sn->name = qemu_malloc(name_size + 1); in qcow2_read_snapshots()279 l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t)); in qcow2_snapshot_create()293 snapshots1 = qemu_malloc((s->nb_snapshots + 1) * sizeof(QCowSnapshot)); in qcow2_snapshot_create()
290 rgd_buf = qemu_malloc(gd_size); in vmdk_snapshot_create()309 gd_buf = qemu_malloc(gd_size); in vmdk_snapshot_create()411 s->l1_table = qemu_malloc(l1_size); in vmdk_open()419 s->l1_backup_table = qemu_malloc(l1_size); in vmdk_open()427 s->l2_cache = qemu_malloc(s->l2_size * L2_CACHE_SIZE * sizeof(uint32_t)); in vmdk_open()
173 s->compressed_chunk = qemu_malloc(max_compressed_size+1); in dmg_open()174 s->uncompressed_chunk = qemu_malloc(512*max_sectors_per_chunk); in dmg_open()
132 s->l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t)); in qcow_open()142 s->l2_cache = qemu_malloc(s->l2_size * L2_CACHE_SIZE * sizeof(uint64_t)); in qcow_open()145 s->cluster_cache = qemu_malloc(s->cluster_size); in qcow_open()148 s->cluster_data = qemu_malloc(s->cluster_size); in qcow_open()867 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128); in qcow_write_compressed()
64 s->refcount_block_cache = qemu_malloc(s->cluster_size); in qcow2_refcount_init()66 s->refcount_table = qemu_malloc(refcount_table_size2); in qcow2_refcount_init()778 l2_table = qemu_malloc(l2_size); in qcow2_update_snapshot_refcount()944 l2_table = qemu_malloc(l2_size); in check_refcounts_l2()1040 l1_table = qemu_malloc(l1_size2); in check_refcounts_l1()
91 s->catalog_bitmap = qemu_malloc(s->catalog_size * 4); in parallels_open()
208 copy = qemu_malloc(sizeof(value)); in fw_cfg_add_i16()217 copy = qemu_malloc(sizeof(value)); in fw_cfg_add_i32()226 copy = qemu_malloc(sizeof(value)); in fw_cfg_add_i64()
92 corecmd->cmd_param_buf = qemu_malloc(size); in _alloc_cmd_param_buf()230 (UICmdGetNetSpeedResp*)qemu_malloc(resp.resp_data_size); in _coreCmdImpl_handle_command()274 (UICmdGetNetDelayResp*)qemu_malloc(resp.resp_data_size); in _coreCmdImpl_handle_command()
152 (UICmdChangeDispBrightness*)qemu_malloc(cmd_size); in _uiCmdProxy_brightness_change_callback()