are all blocks in a page freed? note: needs up-to-date used count, (as the `xthread_free` list may not be empty). see `_mi_page_collect_free`.
| 589 | // are all blocks in a page freed? |
| 590 | // note: needs up-to-date used count, (as the `xthread_free` list may not be empty). see `_mi_page_collect_free`. |
| 591 | static inline bool mi_page_all_free(const mi_page_t* page) { |
| 592 | mi_assert_internal(page != NULL); |
| 593 | return (page->used == 0); |
| 594 | } |
| 595 | |
| 596 | // are there any available blocks? |
| 597 | static inline bool mi_page_has_any_available(const mi_page_t* page) { |
no outgoing calls
no test coverage detected