| version 1.79, 2002/08/25 23:03:40 |
version 1.80, 2002/09/27 15:37:46 |
| Line 564 pool_destroy(struct pool *pp) |
|
| Line 564 pool_destroy(struct pool *pp) |
|
| #ifdef DIAGNOSTIC |
#ifdef DIAGNOSTIC |
| if (pp->pr_nout != 0) { |
if (pp->pr_nout != 0) { |
| pr_printlog(pp, NULL, printf); |
pr_printlog(pp, NULL, printf); |
| panic("pool_destroy: pool busy: still out: %u\n", |
panic("pool_destroy: pool busy: still out: %u", |
| pp->pr_nout); |
pp->pr_nout); |
| } |
} |
| #endif |
#endif |
| Line 715 pool_get(struct pool *pp, int flags) |
|
| Line 715 pool_get(struct pool *pp, int flags) |
|
| simple_unlock(&pp->pr_slock); |
simple_unlock(&pp->pr_slock); |
| printf("pool_get: %s: curpage NULL, nitems %u\n", |
printf("pool_get: %s: curpage NULL, nitems %u\n", |
| pp->pr_wchan, pp->pr_nitems); |
pp->pr_wchan, pp->pr_nitems); |
| panic("pool_get: nitems inconsistent\n"); |
panic("pool_get: nitems inconsistent"); |
| } |
} |
| #endif |
#endif |
| |
|
| Line 785 pool_get(struct pool *pp, int flags) |
|
| Line 785 pool_get(struct pool *pp, int flags) |
|
| simple_unlock(&pp->pr_slock); |
simple_unlock(&pp->pr_slock); |
| printf("pool_get: %s: items on itemlist, nitems %u\n", |
printf("pool_get: %s: items on itemlist, nitems %u\n", |
| pp->pr_wchan, pp->pr_nitems); |
pp->pr_wchan, pp->pr_nitems); |
| panic("pool_get: nitems inconsistent\n"); |
panic("pool_get: nitems inconsistent"); |
| } |
} |
| #endif |
#endif |
| |
|