Lines Matching refs:malloc_elem
21 struct malloc_elem { struct
23 struct malloc_elem *volatile prev; argument
25 struct malloc_elem *volatile next; argument
27 LIST_ENTRY(malloc_elem) free_list;
33 struct malloc_elem *orig_elem; argument
46 malloc_elem_cookies_ok(const struct malloc_elem *elem){ return elem != NULL; } in malloc_elem_cookies_ok() argument
50 set_header(struct malloc_elem *elem __rte_unused){ } in set_header()
54 set_trailer(struct malloc_elem *elem __rte_unused){ } in set_trailer()
69 set_header(struct malloc_elem *elem) in set_header()
76 set_trailer(struct malloc_elem *elem) in set_trailer()
84 malloc_elem_cookies_ok(const struct malloc_elem *elem) in malloc_elem_cookies_ok()
93 static const unsigned MALLOC_ELEM_HEADER_LEN = sizeof(struct malloc_elem);
100 static inline struct malloc_elem *
106 struct malloc_elem *elem = RTE_PTR_SUB(data, MALLOC_ELEM_HEADER_LEN); in malloc_elem_from_data()
116 malloc_elem_init(struct malloc_elem *elem,
120 struct malloc_elem *orig_elem,
124 malloc_elem_insert(struct malloc_elem *elem);
131 malloc_elem_can_hold(struct malloc_elem *elem, size_t size,
138 struct malloc_elem *
139 malloc_elem_alloc(struct malloc_elem *elem, size_t size,
147 struct malloc_elem *
148 malloc_elem_free(struct malloc_elem *elem);
150 struct malloc_elem *
151 malloc_elem_join_adjacent_free(struct malloc_elem *elem);
158 malloc_elem_resize(struct malloc_elem *elem, size_t size);
161 malloc_elem_hide_region(struct malloc_elem *elem, void *start, size_t len);
164 malloc_elem_free_list_remove(struct malloc_elem *elem);
170 malloc_elem_dump(const struct malloc_elem *elem, FILE *f);
182 malloc_elem_free_list_insert(struct malloc_elem *elem);
188 malloc_elem_find_max_iova_contig(struct malloc_elem *elem, size_t align);