Searched refs:pool (Results 1 - 9 of 9) sorted by relevance
/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/isc/include/isc/ |
H A D | taskpool.h | 28 * \brief A task pool is a mechanism for sharing a small number of tasks 64 * Create a task pool of "ntasks" tasks, each with quantum 77 *\li On success, '*taskp' points to the new task pool. 87 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp); 89 * Attach to a task from the pool. Currently the next task is chosen 90 * from the pool at random. (This may be changed in the future to 95 isc_taskpool_size(isc_taskpool_t *pool); 97 * Returns the number of tasks in the task pool 'pool'. 105 * If 'size' is larger than the number of tasks in the pool pointe [all...] |
/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/win32/ |
H A D | entropy.c | 81 * pool. 101 * partially full pool (say, > 1/4th of the pool) we probably don't 106 * defined as 1/4th of the pool. 119 if ((ent->pool.entropy >= RND_POOLBITS / 4) 120 && (ent->pool.pseudo <= RND_POOLBITS / 4)) 132 needed = ISC_MIN(needed, RND_POOLBITS - ent->pool.entropy);
|
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | entropy.c | 174 * entropy pool fill back up (at least 247 * pool. 266 * partially full pool (say, > 1/4th of the pool) we probably don't 271 * defined as 1/4th of the pool. 284 if ((ent->pool.entropy >= RND_POOLBITS / 4) 285 && (ent->pool.pseudo <= RND_POOLBITS / 4)) 297 needed = ISC_MIN(needed, RND_POOLBITS - ent->pool.entropy);
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | named.conf | 91 use-id-pool yes;
|
/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 308 milliseconds