Check all the chunks in a treebin. */
| 3431 | |
| 3432 | /* Check all the chunks in a treebin. */ |
| 3433 | static void do_check_treebin(mstate m, bindex_t i) { |
| 3434 | tbinptr* tb = treebin_at(m, i); |
| 3435 | tchunkptr t = *tb; |
| 3436 | int empty = (m->treemap & (1U << i)) == 0; |
| 3437 | if (t == 0) |
| 3438 | assert(empty); |
| 3439 | if (!empty) |
| 3440 | do_check_tree(m, t); |
| 3441 | } |
| 3442 | |
| 3443 | /* Check all the chunks in a smallbin. */ |
| 3444 | static void do_check_smallbin(mstate m, bindex_t i) { |
no test coverage detected