16 #include <rte_compat.h> 57 rte_malloc(
const char *type,
size_t size,
unsigned align);
83 rte_zmalloc(
const char *type,
size_t size,
unsigned align);
109 rte_calloc(
const char *type,
size_t num,
size_t size,
unsigned align);
132 rte_realloc(
void *ptr,
size_t size,
unsigned int align);
156 void * __rte_experimental
239 rte_calloc_socket(
const char *type,
size_t num,
size_t size,
unsigned align,
int socket);
333 int __rte_experimental
335 rte_iova_t iova_addrs[],
unsigned int n_pages,
size_t page_sz);
364 int __rte_experimental
388 int __rte_experimental
412 int __rte_experimental
431 int __rte_experimental
454 int __rte_experimental
468 int __rte_experimental
483 int __rte_experimental
513 void __rte_experimental
547 rte_malloc_virt2phy(
const void *addr)
int __rte_experimental rte_malloc_heap_socket_is_external(int socket_id)
void * rte_malloc(const char *type, size_t size, unsigned align)
int __rte_experimental rte_malloc_heap_memory_attach(const char *heap_name, void *va_addr, size_t len)
int __rte_experimental rte_malloc_heap_destroy(const char *heap_name)
int __rte_experimental rte_malloc_heap_memory_remove(const char *heap_name, void *va_addr, size_t len)
int __rte_experimental rte_malloc_heap_memory_add(const char *heap_name, void *va_addr, size_t len, rte_iova_t iova_addrs[], unsigned int n_pages, size_t page_sz)
void * rte_realloc(void *ptr, size_t size, unsigned int align)
void * rte_zmalloc_socket(const char *type, size_t size, unsigned align, int socket)
void * rte_malloc_socket(const char *type, size_t size, unsigned align, int socket)
void * rte_zmalloc(const char *type, size_t size, unsigned align)
int rte_malloc_validate(const void *ptr, size_t *size)
size_t greatest_free_size
int __rte_experimental rte_malloc_heap_create(const char *heap_name)
size_t heap_totalsz_bytes
void *__rte_experimental rte_realloc_socket(void *ptr, size_t size, unsigned int align, int socket)
size_t heap_allocsz_bytes
int rte_malloc_set_limit(const char *type, size_t max)
void * rte_calloc(const char *type, size_t num, size_t size, unsigned align)
rte_iova_t rte_malloc_virt2iova(const void *addr)
int __rte_experimental rte_malloc_heap_get_socket(const char *name)
void __rte_experimental rte_malloc_dump_heaps(FILE *f)
int __rte_experimental rte_malloc_heap_memory_detach(const char *heap_name, void *va_addr, size_t len)
int rte_malloc_get_socket_stats(int socket, struct rte_malloc_socket_stats *socket_stats)
void * rte_calloc_socket(const char *type, size_t num, size_t size, unsigned align, int socket)
void rte_malloc_dump_stats(FILE *f, const char *type)