| 327 | } |
| 328 | |
| 329 | static void |
| 330 | tidbatch_final(struct tidbatch *tb) |
| 331 | { |
| 332 | |
| 333 | KASSERT(tb->n <= nitems(tb->tab), |
| 334 | ("%s: count too high %d", __func__, tb->n)); |
| 335 | if (tb->n != 0) { |
| 336 | tid_free_batch(tb->tab, tb->n); |
| 337 | } |
| 338 | } |
| 339 | |
| 340 | /* |
| 341 | * Prepare a thread for use. |
no test coverage detected