Home
last modified time | relevance | path

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

123

/external/qemu/
Dqemu-malloc.c54 void *qemu_malloc(size_t size) in qemu_malloc() function
75 ptr = qemu_malloc(size); in qemu_mallocz()
84 ptr = qemu_malloc(len + 1); in qemu_strdup()
98 new = qemu_malloc(size + 1); in qemu_strndup()
Dacl.c59 acl = qemu_malloc(sizeof(*acl)); in qemu_acl_init()
120 entry = qemu_malloc(sizeof(*entry)); in qemu_acl_append()
146 entry = qemu_malloc(sizeof(*entry)); in qemu_acl_insert()
Dqstring.c42 qstring = qemu_malloc(sizeof(*qstring)); in qstring_from_substr()
47 qstring->string = qemu_malloc(qstring->capacity + 1); in qstring_from_substr()
Dqlist.c33 qlist = qemu_malloc(sizeof(*qlist)); in qlist_new()
66 entry = qemu_malloc(sizeof(*entry)); in qlist_append_obj()
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()
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()
Dqbool.c42 qb = qemu_malloc(sizeof(*qb)); in qbool_from_int()
Dqfloat.c42 qf = qemu_malloc(sizeof(*qf)); in qfloat_from_double()
Dqint.c32 qi = qemu_malloc(sizeof(*qi)); in qint_from_int()
Diolooper-select.c24 IoLooper* iol = qemu_malloc(sizeof(*iol)); in iolooper_new()
Dtranslate-all.c148 qemu_malloc(gen_opc_tpc2gpc_pairs * 2 * sizeof(target_ulong)); in cpu_gen_code()
/external/qemu/memcheck/
Dmemcheck_proc_management.c76 ThreadDesc* new_thread = (ThreadDesc*)qemu_malloc(sizeof(ThreadDesc)); in create_new_thread()
106 ProcDesc* new_proc = (ProcDesc*)qemu_malloc(sizeof(ProcDesc)); in create_new_process()
277 proc->image_path = qemu_malloc(strlen(image_path) + 1); in procdesc_set_image_path()
390 qemu_malloc(thread->call_stack_max * sizeof(ThreadCallStackEntry)); in memcheck_on_call()
413 qemu_malloc(strlen(rdesc->path) + 1); in memcheck_on_call()
723 desc.path = qemu_malloc(strlen(path) + 1); in memcheck_mmap_exepath()
793 tail.path = qemu_malloc(strlen(desc.path) + 1); in memcheck_unmap()
Dmemcheck_mmrange_map.c135 MMRangeMapEntry* rdesc = qemu_malloc(sizeof(MMRangeMapEntry)); in mmrangemap_insert()
198 (MMRangeMapEntry*)qemu_malloc(sizeof(MMRangeMapEntry)); in mmrangemap_copy()
204 new_entry->desc.path = qemu_malloc(strlen(entry->desc.path) + 1); in mmrangemap_copy()
Dmemcheck_malloc_map.c174 AllocMapEntry* adesc = qemu_malloc(sizeof(AllocMapEntry)); in allocmap_insert()
237 (AllocMapEntry*)qemu_malloc(sizeof(AllocMapEntry)); in allocmap_copy()
247 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong)); in allocmap_copy()
Dmemcheck_common.h424 addr_array->addr = qemu_malloc(sizeof(target_ulong)); in addrarray_add()
453 new_arr = qemu_malloc(sizeof(target_ulong) * (addr_array->num + 1)); in addrarray_add()
/external/qemu/block/
Dcloop.c79 s->offsets=(uint64_t*)qemu_malloc(offsets_size); in cloop_open()
92 s->compressed_block = qemu_malloc(max_compressed_block_size+1); in cloop_open()
93 s->uncompressed_block = qemu_malloc(s->block_size); in cloop_open()
Dqcow2-refcount.c42 s->refcount_block_cache = qemu_malloc(s->cluster_size); in qcow2_refcount_init()
44 s->refcount_table = qemu_malloc(refcount_table_size2); in qcow2_refcount_init()
480 l1_table = qemu_malloc(l1_size2); in qcow2_update_snapshot_refcount()
494 l2_table = qemu_malloc(l2_size); in qcow2_update_snapshot_refcount()
642 l2_table = qemu_malloc(l2_size); in check_refcounts_l2()
732 l1_table = qemu_malloc(l1_size2); in check_refcounts_l1()
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()
269 l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t)); in qcow2_snapshot_create()
280 snapshots1 = qemu_malloc((s->nb_snapshots + 1) * sizeof(QCowSnapshot)); in qcow2_snapshot_create()
Dvmdk.c279 rgd_buf = qemu_malloc(gd_size); in vmdk_snapshot_create()
291 gd_buf = qemu_malloc(gd_size); in vmdk_snapshot_create()
429 s->l1_table = qemu_malloc(l1_size); in vmdk_open()
437 s->l1_backup_table = qemu_malloc(l1_size); in vmdk_open()
445 s->l2_cache = qemu_malloc(s->l2_size * L2_CACHE_SIZE * sizeof(uint32_t)); in vmdk_open()
Ddmg.c163 s->compressed_chunk = qemu_malloc(max_compressed_size+1); in dmg_open()
164 s->uncompressed_chunk = qemu_malloc(512*max_sectors_per_chunk); in dmg_open()
Dqcow2.c215 s->l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t)); in qcow_open()
223 s->l2_cache = qemu_malloc(s->l2_size * L2_CACHE_SIZE * sizeof(uint64_t)); in qcow_open()
224 s->cluster_cache = qemu_malloc(s->cluster_size); in qcow_open()
226 s->cluster_data = qemu_malloc(QCOW_MAX_CRYPT_CLUSTERS * s->cluster_size in qcow_open()
852 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128); in qcow_write_compressed()
Dqcow.c135 s->l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t)); in qcow_open()
145 s->l2_cache = qemu_malloc(s->l2_size * L2_CACHE_SIZE * sizeof(uint64_t)); in qcow_open()
148 s->cluster_cache = qemu_malloc(s->cluster_size); in qcow_open()
151 s->cluster_data = qemu_malloc(s->cluster_size); in qcow_open()
851 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128); in qcow_write_compressed()
Dparallels.c104 s->catalog_bitmap = qemu_malloc(s->catalog_size * 4); in parallels_open()
/external/qemu/android/
Dcharmap.c639 char_map->entries = qemu_malloc(sizeof(AKeyEntry) * map_size); in parse_kcm_file()
656 new_map = qemu_malloc(sizeof(AKeyEntry) * map_size); in parse_kcm_file()
700 android_charmaps = qemu_malloc(sizeof(AKeyCharmap*) * in android_charmap_setup()
712 android_charmaps = qemu_malloc(sizeof(AKeyCharmap*) * in android_charmap_setup()
/external/qemu/elff/
Delff-common.h40 return qemu_malloc(size); in new()

123