| 367 | } |
| 368 | |
| 369 | void |
| 370 | delete_unrhdr(struct unrhdr *uh) |
| 371 | { |
| 372 | |
| 373 | check_unrhdr(uh, __LINE__); |
| 374 | KASSERT(uh->busy == 0, ("unrhdr has %u allocations", uh->busy)); |
| 375 | KASSERT(uh->alloc == 0, ("UNR memory leak in delete_unrhdr")); |
| 376 | KASSERT(TAILQ_FIRST(&uh->ppfree) == NULL, |
| 377 | ("unrhdr has postponed item for free")); |
| 378 | Free(uh); |
| 379 | } |
| 380 | |
| 381 | void |
| 382 | clear_unrhdr(struct unrhdr *uh) |
no test coverage detected