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

Function rte_zmalloc

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

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

Source from the content-addressed store, hash-verified

135 * Allocate zero'd memory on default heap.
136 */
137void *
138rte_zmalloc(const char *type, size_t size, unsigned align)
139{
140 return rte_zmalloc_socket(type, size, align, SOCKET_ID_ANY);
141}
142
143/*
144 * Allocate zero'd memory on specified heap.

Callers 15

rte_lpm6_createFunction · 0.85
rte_lpm_createFunction · 0.85
init_dispatch_ringFunction · 0.85
ff_kni_initFunction · 0.85
ff_kni_allocFunction · 0.85
rte_mempool_create_emptyFunction · 0.85
rte_fib6_createFunction · 0.85
rte_fib_createFunction · 0.85
rte_ring_create_elemFunction · 0.85
rte_stats_bitrate_createFunction · 0.85
rte_member_createFunction · 0.85

Calls 1

rte_zmalloc_socketFunction · 0.85

Tested by 15

test_rawdev_start_stopFunction · 0.68
parse_valuesFunction · 0.68
run_test_caseFunction · 0.68
bler_testFunction · 0.68
throughput_testFunction · 0.68
parse_valuesFunction · 0.68
alloc_rcuFunction · 0.68
init_hashFunction · 0.68
test_trace_perfFunction · 0.68
test_hash_multiwriterFunction · 0.68