Home
last modified time | relevance | path

Searched refs:qemu_malloc (Results 1 – 25 of 65) sorted by relevance

123

/external/qemu/
Dqemu-malloc.c42 void *qemu_malloc(size_t size) in qemu_malloc() function
79 ptr = qemu_malloc(len + 1); in qemu_strdup()
93 new = qemu_malloc(size + 1); in qemu_strndup()
Dacl.c58 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()
Dqstring.c43 qstring = qemu_malloc(sizeof(*qstring)); in qstring_from_substr()
48 qstring->string = qemu_malloc(qstring->capacity + 1); in qstring_from_substr()
Dqlist.c34 qlist = qemu_malloc(sizeof(*qlist)); in qlist_new()
67 entry = qemu_malloc(sizeof(*entry)); in qlist_append_obj()
Dloader.c268 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()
Dshaper.c75 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()
Dqbool.c34 qb = qemu_malloc(sizeof(*qb)); in qbool_from_int()
Dqfloat.c34 qf = qemu_malloc(sizeof(*qf)); in qfloat_from_double()
Dqint.c33 qi = qemu_malloc(sizeof(*qi)); in qint_from_int()
Dasync.c102 bh = qemu_malloc(sizeof(*bh)); in async_context_pop()
Dtranslate-all.c151 qemu_malloc(gen_opc_tpc2gpc_pairs * 2 * sizeof(target_ulong)); in cpu_gen_code()
/external/qemu/memcheck/
Dmemcheck_mmrange_map.c129 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()
Dmemcheck_malloc_map.c168 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()
Dmemcheck_proc_management.c71 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()
Dmemcheck_common.h418 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()
/external/qemu/block/
Dcloop.c73 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()
Dqcow2-snapshot.c99 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()
Dvmdk.c290 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()
Ddmg.c173 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()
Dqcow.c132 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()
Dqcow2-refcount.c64 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()
Dparallels.c91 s->catalog_bitmap = qemu_malloc(s->catalog_size * 4); in parallels_open()
/external/qemu/hw/
Dfw_cfg.c208 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()
/external/qemu/android/protocol/
Dcore-commands-impl.c92 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()
Dui-commands-proxy.c152 (UICmdChangeDispBrightness*)qemu_malloc(cmd_size); in _uiCmdProxy_brightness_change_callback()

123