Check all the chunks in a treebin. */
| 3345 | |
| 3346 | /* Check all the chunks in a treebin. */ |
| 3347 | static void do_check_treebin(mstate m, bindex_t i) { |
| 3348 | tbinptr* tb = treebin_at(m, i); |
| 3349 | tchunkptr t = *tb; |
| 3350 | int empty = (m->treemap & (1U << i)) == 0; |
| 3351 | if (t == 0) |
| 3352 | assert(empty); |
| 3353 | if (!empty) |
| 3354 | do_check_tree(m, t); |
| 3355 | } |
| 3356 | |
| 3357 | /* Check all the chunks in a smallbin. */ |
| 3358 | static void do_check_smallbin(mstate m, bindex_t i) { |
no test coverage detected