* use elem_start_pt to determine if we get meet the size and * alignment request from the current element */
| 277 | * alignment request from the current element |
| 278 | */ |
| 279 | int |
| 280 | malloc_elem_can_hold(struct malloc_elem *elem, size_t size, unsigned align, |
| 281 | size_t bound, bool contig) |
| 282 | { |
| 283 | return elem_start_pt(elem, size, align, bound, contig) != NULL; |
| 284 | } |
| 285 | |
| 286 | /* |
| 287 | * split an existing element into two smaller elements at the given |
no test coverage detected