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

Function rte_calloc

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

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

Source from the content-addressed store, hash-verified

153 * Allocate zero'd memory on default heap.
154 */
155void *
156rte_calloc(const char *type, size_t num, size_t size, unsigned align)
157{
158 return rte_zmalloc(type, num * size, align);
159}
160
161/*
162 * Resize allocated memory on specified heap.

Callers 15

rte_service_initFunction · 0.85
fsdev_allocate_one_devFunction · 0.85
mlx5_crypto_gcm_qp_setupFunction · 0.85
dpaa2_sec_dev_initFunction · 0.85
cnxk_gpio_probeFunction · 0.85
ifpga_register_msix_irqFunction · 0.85
eth_ionic_dev_initFunction · 0.85
mana_mp_mr_createFunction · 0.85
mana_probe_portFunction · 0.85
enic_flow_add_filterFunction · 0.85

Calls 1

rte_zmallocFunction · 0.85

Tested by 10

test_memzone_freeFunction · 0.68
capabilities_inspectFunction · 0.68
test_crosscheckFunction · 0.68
test_mempool_basic_exFunction · 0.68
test_stack_push_popFunction · 0.68
test_stack_basicFunction · 0.68