MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_calloc_socket

Function rte_calloc_socket

dpdk/lib/eal/common/rte_malloc.c:146–150  ·  view source on GitHub ↗

* Allocate zero'd memory on specified heap. */

Source from the content-addressed store, hash-verified

144 * Allocate zero'd memory on specified heap.
145 */
146void *
147rte_calloc_socket(const char *type, size_t num, size_t size, unsigned align, int socket)
148{
149 return rte_zmalloc_socket(type, num * size, align, socket);
150}
151
152/*
153 * Allocate zero'd memory on default heap.

Callers 15

vhost_user_iotlb_initFunction · 0.85
rte_bbdev_setup_queuesFunction · 0.85
do_eth_dev_ring_createFunction · 0.85
mlx4_mr_btree_initFunction · 0.85
ionic_qcq_allocFunction · 0.85
ionic_lif_allocFunction · 0.85
mana_mr_btree_initFunction · 0.85
rte_pmd_init_internalsFunction · 0.85
cxgbe_cfg_queuesFunction · 0.85
sfc_ef10_essb_rx_qcreateFunction · 0.85
sfc_tx_configureFunction · 0.85
sfc_efx_tx_qcreateFunction · 0.85

Calls 1

rte_zmalloc_socketFunction · 0.85

Tested by 3

poll_burstFunction · 0.68
test_pmd_perfFunction · 0.68
test_alloc_single_socketFunction · 0.68