#include <rte_eal_memconfig.h>
+#define MIN_DATA_SIZE (RTE_CACHE_LINE_SIZE)
+
/* dummy definition of struct so we can use pointers to it in malloc_elem struct */
struct malloc_heap;
int
malloc_elem_resize(struct malloc_elem *elem, size_t size);
+void
+malloc_elem_hide_region(struct malloc_elem *elem, void *start, size_t len);
+
void
malloc_elem_free_list_remove(struct malloc_elem *elem);
void
malloc_elem_free_list_insert(struct malloc_elem *elem);
+/*
+ * Find biggest IOVA-contiguous zone within an element with specified alignment.
+ */
+size_t
+malloc_elem_find_max_iova_contig(struct malloc_elem *elem, size_t align);
+
#endif /* MALLOC_ELEM_H_ */