/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()
|
/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/tests/unit/ |
H A D | test-util-sockets.c | 84 cur_mon = g_malloc(1); /* Fake a monitor */ in test_socket_fd_pass_name_good() 116 cur_mon = g_malloc(1); /* Fake a monitor */ in test_socket_fd_pass_name_bad() 215 cur_mon = g_malloc(1); /* Fake a monitor */ in test_socket_fd_pass_num_nocli()
|
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()
|
H A D | test-iov.c | 9 struct iovec *iov = g_malloc(niov * sizeof(*iov)); in iov_random() 13 iov[i].iov_base = g_malloc(iov[i].iov_len); in iov_random() 72 ibuf = g_malloc(sz + 8) + 4; in test_to_from_buf_1() 74 obuf = g_malloc(sz + 8) + 4; in test_to_from_buf_1() 169 buf = g_malloc(sz); in test_io()
|
H A D | test-replication.c | 62 cmp_buf = g_malloc(pattern_count); in test_blk_read() 66 pattern_buf = g_malloc(count); in test_blk_read() 103 pattern_buf = g_malloc(count); in test_blk_write()
|
/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/tests/migration/ |
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()
|
/openbmc/qemu/disas/ |
H A D | objdump.c | 14 g_autofree uint8_t *buf = g_malloc(n); in print_insn_objdump()
|
/openbmc/qemu/include/ |
H A D | glib-compat.h | 97 new_mem = g_malloc(byte_size); in g_memdup2_qemu()
|
/openbmc/qemu/include/qapi/ |
H A D | util.h | 40 typeof(list) _tmp = g_malloc(sizeof(*(list))); \
|
/openbmc/qemu/hw/core/ |
H A D | eif.c | 526 iov_ptr = g_malloc(sizeof(struct iovec)); in read_eif_file() 566 iov_ptr = g_malloc(sizeof(struct iovec)); in read_eif_file() 598 iov_ptr = g_malloc(sizeof(struct iovec)); in read_eif_file() 701 iov_ptr = g_malloc(sizeof(struct iovec)); in read_eif_file()
|
/openbmc/qemu/hw/xtensa/ |
H A D | xtfpga.c | 163 ram = g_malloc(sizeof(*ram)); in xtfpga_net_init() 294 system_io = g_malloc(sizeof(*system_io)); in xtfpga_init() 299 MemoryRegion *io = g_malloc(sizeof(*io)); in xtfpga_init() 451 MemoryRegion *flash_io = g_malloc(sizeof(*flash_io)); in xtfpga_init()
|