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

Function env_malloc

dpdk/lib/table/rte_swx_table_wm.c:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include <rte_malloc.h>
21
22static void *
23env_malloc(size_t size, size_t alignment, int numa_node)
24{
25 return rte_zmalloc_socket(NULL, size, alignment, numa_node);
26}
27
28static void
29env_free(void *start, size_t size __rte_unused)

Callers 1

table_createFunction · 0.70

Calls 1

rte_zmalloc_socketFunction · 0.85

Tested by

no test coverage detected