Home
last modified time | relevance | path

Searched refs:socket_arg (Results 1 – 3 of 3) sorted by relevance

/dpdk/lib/eal/common/
H A Drte_malloc.c55 int socket_arg, const bool trace_ena) in malloc_socket() argument
68 if (rte_malloc_heap_socket_is_external(socket_arg) != 1 && in malloc_socket()
70 socket_arg = SOCKET_ID_ANY; in malloc_socket()
72 ptr = malloc_heap_alloc(type, size, socket_arg, 0, in malloc_socket()
76 rte_eal_trace_mem_malloc(type, size, align, socket_arg, ptr); in malloc_socket()
85 int socket_arg) in rte_malloc_socket() argument
87 return malloc_socket(type, size, align, socket_arg, true); in rte_malloc_socket()
H A Dmalloc_heap.c724 malloc_heap_alloc(const char *type, size_t size, int socket_arg, in malloc_heap_alloc() argument
734 if (!rte_eal_has_hugepages() && socket_arg < RTE_MAX_NUMA_NODES) in malloc_heap_alloc()
735 socket_arg = SOCKET_ID_ANY; in malloc_heap_alloc()
737 if (socket_arg == SOCKET_ID_ANY) in malloc_heap_alloc()
740 socket = socket_arg; in malloc_heap_alloc()
750 if (ret != NULL || socket_arg != SOCKET_ID_ANY) in malloc_heap_alloc()
787 malloc_heap_alloc_biggest(const char *type, int socket_arg, unsigned int flags, in malloc_heap_alloc_biggest() argument
798 socket_arg = SOCKET_ID_ANY; in malloc_heap_alloc_biggest()
800 if (socket_arg == SOCKET_ID_ANY) in malloc_heap_alloc_biggest()
803 socket = socket_arg; in malloc_heap_alloc_biggest()
[all …]
/dpdk/lib/eal/linux/
H A Deal.c463 eal_parse_socket_arg(char *strval, volatile uint64_t *socket_arg) in eal_parse_socket_arg() argument
499 socket_arg[i] = val; in eal_parse_socket_arg()