Check all the chunks in a treebin. */
| 2733 | |
| 2734 | /* Check all the chunks in a treebin. */ |
| 2735 | static void do_check_treebin(mstate m, bindex_t i) { |
| 2736 | tbinptr* tb = treebin_at(m, i); |
| 2737 | tchunkptr t = *tb; |
| 2738 | int empty = (m->treemap & (1U << i)) == 0; |
| 2739 | if (t == 0) |
| 2740 | assert(empty); |
| 2741 | if (!empty) |
| 2742 | do_check_tree(m, t); |
| 2743 | } |
| 2744 | |
| 2745 | /* Check all the chunks in a smallbin. */ |
| 2746 | static void do_check_smallbin(mstate m, bindex_t i) { |
no test coverage detected