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

Function rte_malloc_socket

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

* Allocate memory on specified heap. */

Source from the content-addressed store, hash-verified

81 * Allocate memory on specified heap.
82 */
83void *
84rte_malloc_socket(const char *type, size_t size, unsigned int align,
85 int socket_arg)
86{
87 return malloc_socket(type, size, align, socket_arg, true);
88}
89
90void *
91eal_malloc_no_trace(const char *type, size_t size, unsigned int align)

Callers 15

rte_dispatcher_createFunction · 0.85
vduse_vring_setupFunction · 0.85
async_channel_registerFunction · 0.85
vhost_user_set_vring_numFunction · 0.85
vhost_user_set_log_baseFunction · 0.85
rte_mallocFunction · 0.85
rte_zmalloc_socketFunction · 0.85
rte_realloc_socketFunction · 0.85
mlx4_mallocv_inlineFunction · 0.85
mlx4_alloc_verbs_bufFunction · 0.85

Calls 1

malloc_socketFunction · 0.85

Tested by 4

test_malloc_basicFunction · 0.68
test_realloc_socketFunction · 0.68
test_alloc_single_socketFunction · 0.68