Searched defs:pool (Results 1 - 5 of 5) sorted by relevance
/bind-9.6-ESV-R11/lib/isc/tests/ |
H A D | taskpool_test.c | 43 isc_taskpool_t *pool = NULL; local 50 result = isc_taskpool_create(taskmgr, mctx, 8, 2, &pool); 52 ATF_REQUIRE_EQ(isc_taskpool_size(pool), 8); 54 isc_taskpool_destroy(&pool); 55 ATF_REQUIRE_EQ(pool, NULL); 98 /* resizing to larger size should make a new pool */ 119 isc_taskpool_t *pool = NULL; local 127 result = isc_taskpool_create(taskmgr, mctx, 2, 2, &pool); 129 ATF_REQUIRE_EQ(isc_taskpool_size(pool), 2); 131 /* two tasks in pool; mak [all...] |
/bind-9.6-ESV-R11/lib/isc/ |
H A D | taskpool.c | 49 isc_taskpool_t *pool; local 52 pool = isc_mem_get(mctx, sizeof(*pool)); 53 if (pool == NULL) 56 pool->mctx = NULL; 57 isc_mem_attach(mctx, &pool->mctx); 58 pool->ntasks = ntasks; 59 pool->quantum = quantum; 60 pool->tmgr = tmgr; 61 pool 79 isc_taskpool_t *pool = NULL; local 104 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp) argument 111 isc_taskpool_size(isc_taskpool_t *pool) argument 121 isc_taskpool_t *pool; local 166 isc_taskpool_t *pool = *poolp; local [all...] |
H A D | entropy.c | 62 * Size of entropy pool in 32-bit words. This _MUST_ be a power of 2. 93 isc_uint32_t cursor; /*%< current add point in the pool */ 97 isc_uint32_t pool[RND_POOLWORDS]; /*%< random pool data */ member in struct:__anon150 107 isc_entropypool_t pool; member in struct:isc_entropy 165 * The random pool "taps" 231 entropy += ent->pool.entropy; 233 ent->pool.entropy = ISC_MIN(entropy, RND_POOLBITS); 237 * Decrement the amount of entropy the pool has. 241 entropy = ISC_MIN(entropy, ent->pool 656 isc_entropypool_init(isc_entropypool_t *pool) argument 665 isc_entropypool_invalidate(isc_entropypool_t *pool) argument [all...] |
H A D | mem.c | 178 ISC_LINK(isc_mempool_t) link; /*%< next pool in this mem context */ 181 size_t size; /*%< size of each item on this pool */ 188 unsigned int gets; /*%< # of requests to this pool */ 1245 const isc_mempool_t *pool; local 1266 * Note that since a pool can be locked now, these stats might be 1267 * somewhat off if the pool is in active use at the time the stats 1272 pool = ISC_LIST_HEAD(ctx->pools); 1273 if (pool != NULL) { 1296 while (pool != NULL) { 1299 pool [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | zone.c | 10965 isc_taskpool_t *pool = NULL; local 10971 * the task pool. More than that, and we'll scale at one 10977 /* Create or resize the zone task pool. */ 10980 ntasks, 2, &pool); 10982 result = isc_taskpool_expand(&zmgr->zonetasks, ntasks, &pool); 10985 zmgr->zonetasks = pool;
|
Completed in 1774 milliseconds