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

Function env_malloc

dpdk/lib/table/rte_swx_table_em.c:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include <rte_malloc.h>
29
30static void *
31env_malloc(size_t size, size_t alignment, int numa_node)
32{
33 return rte_zmalloc_socket(NULL, size, alignment, numa_node);
34}
35
36static void
37env_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