Searched refs:g_malloc_n (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/scripts/coverity-scan/ |
H A D | model.c | 91 void *g_malloc_n(size_t nmemb, size_t size) in g_malloc_n() function 157 return g_malloc_n(nmemb, size); in g_try_malloc_n()
|
/openbmc/qemu/tests/fp/ |
H A D | fp-test.c | 899 round_modes = g_malloc_n(n_round_modes, sizeof(*round_modes)); in parse_args() 913 test_ops = g_malloc_n(n_test_ops, sizeof(*test_ops)); in parse_args() 919 test_ops = g_malloc_n(n_test_ops, sizeof(*test_ops)); in parse_args()
|
/openbmc/qemu/audio/ |
H A D | sndioaudio.c | 431 self->pfds = g_malloc_n(nfds, sizeof(struct pollfd)); in sndio_init() 437 self->pindexes = g_malloc_n(nfds, sizeof(struct pollindex)); in sndio_init()
|
/openbmc/qemu/tests/bench/ |
H A D | qtree-bench.c | 81 size_t *keys = g_malloc_n(n_elems, sizeof(*keys)); in init_empty_tree_and_keys()
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties.c | 673 *arrayptr = g_malloc_n(*alenptr, prop->arrayfieldsize); in set_prop_array()
|
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 864 table = g_malloc_n(n->rss_data.indirections_len, in vhost_vdpa_net_load_rss()
|
/openbmc/qemu/hw/nvme/ |
H A D | ctrl.c | 3304 iocb->bounce = g_malloc_n(le16_to_cpu(sns->id_ns.mssrl), in nvme_do_copy() 3365 iocb->ranges = g_malloc_n(nr, len); in nvme_copy()
|