| 336 | } |
| 337 | |
| 338 | static int |
| 339 | next_elem_is_adjacent(struct malloc_elem *elem) |
| 340 | { |
| 341 | const struct internal_config *internal_conf = |
| 342 | eal_get_internal_configuration(); |
| 343 | |
| 344 | return elem->next == RTE_PTR_ADD(elem, elem->size) && |
| 345 | elem->next->msl == elem->msl && |
| 346 | (!internal_conf->match_allocations || |
| 347 | elem->orig_elem == elem->next->orig_elem); |
| 348 | } |
| 349 | |
| 350 | static int |
| 351 | prev_elem_is_adjacent(struct malloc_elem *elem) |
no test coverage detected