Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_eal/common/
H A Drte_malloc.c60 int socket_arg, const bool trace_ena) in malloc_socket() argument
73 if (rte_malloc_heap_socket_is_external(socket_arg) != 1 && in malloc_socket()
75 socket_arg = SOCKET_ID_ANY; in malloc_socket()
77 ptr = malloc_heap_alloc(type, size, socket_arg, 0, in malloc_socket()
81 rte_eal_trace_mem_malloc(type, size, align, socket_arg, ptr); in malloc_socket()
90 int socket_arg) in rte_malloc_socket() argument
92 return malloc_socket(type, size, align, socket_arg, true); in rte_malloc_socket()
H A Dmalloc_heap.c697 malloc_heap_alloc(const char *type, size_t size, int socket_arg, in malloc_heap_alloc() argument
707 if (!rte_eal_has_hugepages() && socket_arg < RTE_MAX_NUMA_NODES) in malloc_heap_alloc()
708 socket_arg = SOCKET_ID_ANY; in malloc_heap_alloc()
710 if (socket_arg == SOCKET_ID_ANY) in malloc_heap_alloc()
713 socket = socket_arg; in malloc_heap_alloc()
723 if (ret != NULL || socket_arg != SOCKET_ID_ANY) in malloc_heap_alloc()
760 malloc_heap_alloc_biggest(const char *type, int socket_arg, unsigned int flags, in malloc_heap_alloc_biggest() argument
771 socket_arg = SOCKET_ID_ANY; in malloc_heap_alloc_biggest()
773 if (socket_arg == SOCKET_ID_ANY) in malloc_heap_alloc_biggest()
776 socket = socket_arg; in malloc_heap_alloc_biggest()
[all …]
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal.c559 eal_parse_socket_arg(char *strval, volatile uint64_t *socket_arg) in eal_parse_socket_arg() argument
597 socket_arg[i] = val; in eal_parse_socket_arg()