34 #ifndef _RTE_MALLOC_H_
35 #define _RTE_MALLOC_H_
85 rte_malloc(
const char *type,
size_t size,
unsigned align);
111 rte_zmalloc(
const char *type,
size_t size,
unsigned align);
137 rte_calloc(
const char *type,
size_t num,
size_t size,
unsigned align);
160 rte_realloc(
void *ptr,
size_t size,
unsigned align);
242 rte_calloc_socket(
const char *type,
size_t num,
size_t size,
unsigned align,
int socket);
340 rte_malloc_virt2phy(
const void *addr)
void * rte_malloc(const char *type, size_t size, unsigned align)
void * rte_realloc(void *ptr, size_t size, unsigned 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
size_t heap_totalsz_bytes
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_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)