| /openbmc/qemu/hw/uefi/ |
| H A D | var-service-json.c | 37 dest = g_malloc(len * 2 + 1); in generate_hexstr() 127 var->name = g_malloc(var->name_size); in uefi_vars_from_qapi() 134 var->data = data = g_malloc(var->data_size); in uefi_vars_from_qapi() 144 var->digest = g_malloc(var->digest_size); in uefi_vars_from_qapi() 234 str = g_malloc(len + 1); in uefi_vars_json_load()
|
| H A D | var-service-pkcs7.c | 36 sdata->data = g_malloc(sdata->size); in build_signed_data() 85 wrap.data = g_malloc(wrap.size); in wrap_pkcs7() 112 pkcs7->data = g_malloc(pkcs7->size); in build_pkcs7() 193 cn = g_malloc(cn_size); in build_digest_authvar() 406 *digest = g_malloc(*digest_size); in uefi_vars_check_pkcs7_2()
|
| H A D | var-service-siglist.c | 32 c = g_malloc(sizeof(*c) + size); in uefi_vars_siglist_add_x509() 55 h = g_malloc(sizeof(*h) + 32); in uefi_vars_siglist_add_sha256()
|
| /openbmc/qemu/ui/ |
| H A D | vnc-enc-hextile.c | 53 last_fg = g_malloc(VNC_SERVER_FB_BYTES); in vnc_hextile_send_framebuffer_update() 54 last_bg = g_malloc(VNC_SERVER_FB_BYTES); in vnc_hextile_send_framebuffer_update()
|
| H A D | shader.c | 96 errmsg = g_malloc(length); in qemu_gl_create_compile_shader() 121 errmsg = g_malloc(length); in qemu_gl_create_link_program()
|
| H A D | vnc-clipboard.c | 38 uint8_t *out = g_malloc(out_len); in inflate_buffer() 93 uint8_t *out = g_malloc(out_len); in deflate_buffer() 171 buf = g_malloc(info->types[type].size + 4); in vnc_clipboard_provide()
|
| /openbmc/qemu/qobject/ |
| H A D | qstring.c | 37 qstring = g_malloc(sizeof(*qstring)); in qstring_from_substr() 63 qstring = g_malloc(sizeof(*qstring)); in qstring_from_gstring()
|
| H A D | qlist.c | 31 qlist = g_malloc(sizeof(*qlist)); in qlist_new() 61 entry = g_malloc(sizeof(*entry)); in qlist_append_obj()
|
| H A D | qbool.c | 27 qb = g_malloc(sizeof(*qb)); in qbool_from_bool()
|
| /openbmc/qemu/scripts/coccinelle/ |
| H A D | use-g_new-etc.cocci | 5 -g_malloc(sizeof(T)) 26 -g_malloc(sizeof(T) * (n))
|
| /openbmc/qemu/backends/ |
| H A D | rng.c | 27 req = g_malloc(sizeof(*req)); in rng_backend_request_entropy() 33 req->data = g_malloc(req->size); in rng_backend_request_entropy()
|
| /openbmc/qemu/util/ |
| H A D | envlist.c | 23 envlist = g_malloc(sizeof(*envlist)); in envlist_create() 91 entry = g_malloc(sizeof(*entry)); in envlist_setenv()
|
| H A D | aiocb.c | 33 acb = g_malloc(aiocb_info->aiocb_size); in qemu_aio_get()
|
| H A D | compatfd.c | 61 info = g_malloc(sizeof(*info)); in qemu_signalfd_compat()
|
| H A D | getauxval.c | 58 auxv = a = g_malloc(size); in qemu_init_auxval()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | test-filter-redirector.c | 119 recv_buf = g_malloc(len); in test_redirector_tx() 187 recv_buf = g_malloc(len); in test_redirector_rx()
|
| H A D | npcm7xx_sdhci-test.c | 61 char *rmsg = g_malloc(len); in write_sdread() 93 char *rmsg = g_malloc(len); in sdwrite_read()
|
| /openbmc/qemu/scripts/coverity-scan/ |
| H A D | model.c | 182 void *g_malloc(size_t size) in g_malloc() function 234 return g_malloc(size); in g_try_malloc()
|
| /openbmc/qemu/disas/ |
| H A D | objdump.c | 14 g_autofree uint8_t *buf = g_malloc(n); in print_insn_objdump()
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-xbzrle.c | 93 uint8_t *compressed = g_malloc(XBZRLE_PAGE_SIZE); in test_encode_decode_1_byte() 136 uint8_t *compressed = g_malloc(XBZRLE_PAGE_SIZE); in encode_decode_range()
|
| /openbmc/qemu/hw/hyperv/ |
| H A D | hv-balloon-page_range_tree.c | 40 uint64_t *key = g_malloc(sizeof(*key)); in page_range_tree_insert_new() 41 PageRange *range = g_malloc(sizeof(*range)); in page_range_tree_insert_new()
|
| /openbmc/qemu/include/qapi/ |
| H A D | util.h | 40 typeof(list) _tmp = g_malloc(sizeof(*(list))); \
|
| /openbmc/qemu/include/ |
| H A D | glib-compat.h | 104 new_mem = g_malloc(byte_size); in g_memdup2_qemu()
|
| /openbmc/qemu/crypto/ |
| H A D | rsakey.c | 78 *dst = g_malloc(*dlen); in qcrypto_akcipher_rsakey_export_p8info()
|
| /openbmc/qemu/tests/migration-stress/ |
| H A D | stress.c | 162 g_autofree char *ram = g_malloc(ramsizeMB * 1024 * 1024); in stressone() 165 g_autofree char *data = g_malloc(RAM_PAGE_SIZE); in stressone()
|