| version 1.75, 2002/03/13 08:12:58 |
version 1.76, 2002/03/13 10:57:18 |
| Line 145 struct pool_item { |
|
| Line 145 struct pool_item { |
|
| /* The cache group pool. */ |
/* The cache group pool. */ |
| static struct pool pcgpool; |
static struct pool pcgpool; |
| |
|
| /* The pool cache group. */ |
|
| #define PCG_NOBJECTS 16 |
|
| struct pool_cache_group { |
|
| TAILQ_ENTRY(pool_cache_group) |
|
| pcg_list; /* link in the pool cache's group list */ |
|
| u_int pcg_avail; /* # available objects */ |
|
| /* pointers to the objects */ |
|
| void *pcg_objects[PCG_NOBJECTS]; |
|
| }; |
|
| |
|
| static void pool_cache_reclaim(struct pool_cache *); |
static void pool_cache_reclaim(struct pool_cache *); |
| |
|
| static int pool_catchup(struct pool *); |
static int pool_catchup(struct pool *); |