Searched refs:heap_name (Results 1 – 7 of 7) sorted by relevance
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | rte_malloc.c | 405 if (heap_name == NULL || va_addr == NULL || in rte_malloc_heap_memory_add() 419 heap = find_named_heap(heap_name); in rte_malloc_heap_memory_add() 434 heap_name, heap->socket_id); in rte_malloc_heap_memory_add() 467 heap = find_named_heap(heap_name); in rte_malloc_heap_memory_remove() 517 heap = find_named_heap(heap_name); in sync_memory() 585 if (heap_name == NULL || in rte_malloc_heap_create() 600 if (strncmp(heap_name, tmp->name, in rte_malloc_heap_create() 603 heap_name); in rte_malloc_heap_create() 622 ret = malloc_heap_create(heap, heap_name); in rte_malloc_heap_create() 635 if (heap_name == NULL || in rte_malloc_heap_destroy() [all …]
|
| H A D | malloc_heap.h | 60 malloc_heap_create(struct malloc_heap *heap, const char *heap_name);
|
| H A D | malloc_heap.c | 1274 malloc_heap_create(struct malloc_heap *heap, const char *heap_name) in malloc_heap_create() argument 1299 strlcpy(heap->name, heap_name, RTE_HEAP_NAME_MAX_LEN); in malloc_heap_create() 1343 char heap_name[RTE_HEAP_NAME_MAX_LEN]; in rte_eal_malloc_heap_init() local 1346 snprintf(heap_name, sizeof(heap_name), in rte_eal_malloc_heap_init() 1348 strlcpy(heap->name, heap_name, RTE_HEAP_NAME_MAX_LEN); in rte_eal_malloc_heap_init()
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_malloc.h | 344 rte_malloc_heap_memory_add(const char *heap_name, void *va_addr, size_t len, 376 rte_malloc_heap_memory_remove(const char *heap_name, void *va_addr, size_t len); 401 rte_malloc_heap_memory_attach(const char *heap_name, void *va_addr, size_t len); 426 rte_malloc_heap_memory_detach(const char *heap_name, void *va_addr, size_t len); 446 rte_malloc_heap_create(const char *heap_name); 470 rte_malloc_heap_destroy(const char *heap_name);
|
| /f-stack/dpdk/app/test/ |
| H A D | test_external_mem.c | 272 const char *heap_name = "heap"; in test_malloc_basic() local 278 if (rte_malloc_heap_create(heap_name) != 0) { in test_malloc_basic() 285 socket_id = rte_malloc_heap_get_socket(heap_name); in test_malloc_basic() 301 if (rte_malloc_heap_memory_add(heap_name, addr, len, in test_malloc_basic() 328 if (rte_malloc_heap_memory_remove(heap_name, addr, len) >= 0 || in test_malloc_basic() 334 if (rte_malloc_heap_destroy(heap_name) >= 0 || rte_errno != EBUSY) { in test_malloc_basic() 370 if (rte_malloc_heap_memory_remove(heap_name, addr, len) != 0) { in test_malloc_basic() 375 if (rte_malloc_heap_destroy(heap_name) != 0) { in test_malloc_basic() 387 rte_malloc_heap_memory_remove(heap_name, addr, len); in test_malloc_basic() 388 rte_malloc_heap_destroy(heap_name); in test_malloc_basic()
|
| H A D | test_malloc.c | 619 const char *heap_name = "realloc_heap"; in test_realloc() local 634 if (rte_malloc_heap_create(heap_name) != 0) { in test_realloc() 639 realloc_heap_socket = rte_malloc_heap_get_socket(heap_name); in test_realloc() 650 heap_name, mem, mem_sz, NULL, 0, page_sz) != 0) { in test_realloc() 665 rte_malloc_heap_memory_remove(heap_name, mem, mem_sz); in test_realloc() 669 rte_malloc_heap_destroy(heap_name); in test_realloc()
|
| /f-stack/dpdk/doc/guides/rel_notes/ |
| H A D | release_18_11.rst | 477 - Structure ``rte_malloc_heap`` now has a ``heap_name`` member
|