/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | ntp_proto.c | 71 * pool soliciting restriction duration (s) 420 * This was observed testing with pool, where sys_maxclock == 12 1119 * manycastclient) or to a unicast address (for pool). The 1125 * If the packet is authentic and the manycastclient or pool 1127 * copy pertinent variables from the manycastclient or pool 1179 * After each ephemeral pool association is spun, 1180 * accelerate the next poll for the pool solicitor so 1181 * the pool will fill promptly. 4284 * pool_xmit - resolve hostname or send unicast solicitation for pool. 4288 struct peer *pool /* poo 4413 struct peer * pool; /* pool solicitor association */ local [all...] |
/freebsd-10.1-release/sys/dev/hyperv/utilities/ |
H A D | hv_kvp.c | 426 umsg->kvp_hdr.pool = hmsg->kvp_hdr.pool;
|
/freebsd-10.1-release/crypto/openssl/crypto/bn/ |
H A D | bn_ctx.c | 82 /* How many bignums are in each "pool item"; */ 139 BN_POOL pool; member in struct:bignum_ctx 156 BN_POOL_ITEM *item = ctx->pool.head; 206 BN_POOL_reset(&ctx->pool); 222 BN_POOL_init(&ret->pool); 236 BN_POOL_ITEM *pool = ctx->pool.head; local 237 fprintf(stderr, "BN_CTX_free, stack-size=%d, pool-bignums=%d\n", 238 ctx->stack.size, ctx->pool.size); 240 while (pool) { [all...] |
/freebsd-10.1-release/sys/netpfil/pf/ |
H A D | pf_ioctl.c | 2253 struct pf_pool *pool; local 2258 pool = pf_get_pool(pp->anchor, pp->ticket, pp->r_action, 2260 if (pool == NULL) { 2265 TAILQ_FOREACH(pa, &pool->list, entries) 2273 struct pf_pool *pool; local 2278 pool = pf_get_pool(pp->anchor, pp->ticket, pp->r_action, 2280 if (pool == NULL) { 2285 pa = TAILQ_FIRST(&pool->list); 2303 struct pf_pool *pool; local 2346 pool [all...] |
/freebsd-10.1-release/etc/ |
H A D | ntp.conf | 16 # See http://www.pool.ntp.org/ for details. Note, the pool encourages 18 # to the pool. See http://www.pool.ntp.org/join.html if you are interested. 22 server 0.freebsd.pool.ntp.org iburst 23 server 1.freebsd.pool.ntp.org iburst 24 server 2.freebsd.pool.ntp.org iburst 25 #server 3.freebsd.pool.ntp.org iburst 33 # server 0.CC.pool.ntp.org iburst 34 # server 1.CC.pool [all...] |
/freebsd-10.1-release/contrib/ntp/sntp/libevent/ |
H A D | evrpc-internal.h | 52 * this is shared between the base and the pool, so that we can reuse 85 /* A pool for holding evhttp_connection objects */ 173 /* pool on which this rpc request is being made */ 174 struct evrpc_pool *pool; member in struct:evrpc_request_wrapper
|
H A D | evrpc.c | 201 static void evrpc_pool_schedule(struct evrpc_pool *pool); 509 struct evrpc_pool *pool = mm_calloc(1, sizeof(struct evrpc_pool)); local 510 if (pool == NULL) 513 TAILQ_INIT(&pool->connections); 514 TAILQ_INIT(&pool->requests); 516 TAILQ_INIT(&pool->paused_requests); 518 TAILQ_INIT(&pool->input_hooks); 519 TAILQ_INIT(&pool->output_hooks); 521 pool->base = base; 522 pool 537 evrpc_pool_free(struct evrpc_pool *pool) argument 579 evrpc_pool_add_connection(struct evrpc_pool *pool, struct evhttp_connection *connection) argument 612 evrpc_pool_remove_connection(struct evrpc_pool *pool, struct evhttp_connection *connection) argument 619 evrpc_pool_set_timeout(struct evrpc_pool *pool, int timeout_in_secs) argument 637 evrpc_pool_find_connection(struct evrpc_pool *pool) argument 662 struct evrpc_pool *pool = ctx->pool; local 722 struct evrpc_pool *pool = ctx->pool; local 801 struct evrpc_pool *pool = ctx->pool; local 822 evrpc_make_request_ctx( struct evrpc_pool *pool, void *request, void *reply, const char *rpcname, void (*req_marshal)(struct evbuffer*, void *), void (*rpl_clear)(void *), int (*rpl_unmarshal)(void *, struct evbuffer *), void (*cb)(struct evrpc_status *, void *, void *, void *), void *cbarg) argument 862 struct evrpc_pool *pool = ctx->pool; local 917 struct evrpc_pool *pool = ctx->pool; local 954 evrpc_pool_schedule(struct evrpc_pool *pool) argument 1079 evrpc_send_request_generic(struct evrpc_pool *pool, void *request, void *reply, void (*cb)(struct evrpc_status *, void *, void *, void *), void *cb_arg, const char *rpcname, void (*req_marshal)(struct evbuffer *, void *), void (*rpl_clear)(void *), int (*rpl_unmarshal)(void *, struct evbuffer *)) argument 1158 evrpc_request_set_pool(struct evrpc_request_wrapper *ctx, struct evrpc_pool *pool) argument [all...] |
/freebsd-10.1-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_rpc.c | 312 struct evrpc_pool *pool; local 314 pool = evrpc_pool_new(NULL); 315 assert(pool != NULL); 320 evrpc_pool_add_connection(pool, evcon); 322 return (pool); 451 struct evrpc_pool *pool = NULL; local 465 pool = rpc_pool_with_connection(port); 466 tt_assert(pool); 468 assert(evrpc_add_hook(pool, EVRPC_OUTPUT, rpc_hook_add_meta, NULL)); 469 assert(evrpc_add_hook(pool, EVRPC_INPU 537 struct evrpc_pool *pool = NULL; local 637 struct evrpc_pool *pool = NULL; local 689 struct evrpc_pool *pool = NULL; local [all...] |
/freebsd-10.1-release/contrib/ntp/sntp/libevent/include/event2/ |
H A D | rpc.h | 191 struct evrpc_pool *pool, void *request, void *reply, 207 * @param pool the evrpc_pool over which to make the request 214 pool, request, reply, cb, cbarg) \ 215 evrpc_make_request_ctx(pool, request, reply, \ 234 int evrpc_send_request_##rpcname(struct evrpc_pool *pool, \ 239 return evrpc_send_request_generic(pool, request, reply, \ 364 * @param pool the evrpc_pool that contains the connection objects over which 374 #define EVRPC_MAKE_REQUEST(name, pool, request, reply, cb, cbarg) \ 375 evrpc_send_request_##name((pool), (request), (reply), (cb), (cbarg)) 390 /** creates an rpc connection pool [all...] |
/freebsd-10.1-release/contrib/ntp/lib/isc/ |
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:__anon63 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 | 181 ISC_LINK(isc__mempool_t) link; /*%< next pool in this mem context */ 184 size_t size; /*%< size of each item on this pool */ 191 unsigned int gets; /*%< # of requests to this pool */ 1428 const isc__mempool_t *pool; local 1449 * Note that since a pool can be locked now, these stats might be 1450 * somewhat off if the pool is in active use at the time the stats 1455 pool = ISC_LIST_HEAD(ctx->pools); 1456 if (pool != NULL) { 1479 while (pool != NULL) { 1481 pool [all...] |
H A D | taskpool.c | 49 isc_taskpool_t *pool; local 52 pool = isc_mem_get(mctx, sizeof(*pool)); 53 if (pool == NULL) 55 pool->mctx = mctx; 56 pool->ntasks = ntasks; 57 pool->quantum = quantum; 58 pool->tmgr = tmgr; 59 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *)); 60 if (pool 77 isc_taskpool_t *pool = NULL; local 102 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp) argument 109 isc_taskpool_size(isc_taskpool_t *pool) argument 119 isc_taskpool_t *pool; local 164 isc_taskpool_t *pool = *poolp; local 176 isc_taskpool_setprivilege(isc_taskpool_t *pool, isc_boolean_t priv) argument [all...] |
/freebsd-10.1-release/contrib/ntp/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...] |
/freebsd-10.1-release/contrib/ntp/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 158 isc_taskpool_t *pool = NULL; local [all...] |
/freebsd-10.1-release/contrib/ntp/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);
|
/freebsd-10.1-release/contrib/ntp/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);
|
/freebsd-10.1-release/contrib/expat/lib/ |
H A D | xmlparse.c | 267 STRING_POOL pool; member in struct:__anon11 416 poolAppend(STRING_POOL *pool, const ENCODING *enc, 419 poolStoreString(STRING_POOL *pool, const ENCODING *enc, 421 static XML_Bool FASTCALL poolGrow(STRING_POOL *pool); 423 poolCopyString(STRING_POOL *pool, const XML_Char *s); 425 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n); 427 poolAppendString(STRING_POOL *pool, const XML_Char *s); 447 #define poolStart(pool) ((pool)->start) 448 #define poolEnd(pool) ((poo 4941 storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, const char *ptr, const char *end, STRING_POOL *pool) argument 4957 appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, const char *ptr, const char *end, STRING_POOL *pool) argument 5113 STRING_POOL *pool = &(dtd->entityValuePool); local 6116 poolInit(STRING_POOL *pool, const XML_Memory_Handling_Suite *ms) argument 6127 poolClear(STRING_POOL *pool) argument 6147 poolDestroy(STRING_POOL *pool) argument 6164 poolAppend(STRING_POOL *pool, const ENCODING *enc, const char *ptr, const char *end) argument 6180 poolCopyString(STRING_POOL *pool, const XML_Char *s) argument 6192 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) argument 6206 poolAppendString(STRING_POOL *pool, const XML_Char *s) argument 6217 poolStoreString(STRING_POOL *pool, const ENCODING *enc, const char *ptr, const char *end) argument 6229 poolGrow(STRING_POOL *pool) argument [all...] |
/freebsd-10.1-release/usr.sbin/mptutil/ |
H A D | mpt_config.c | 803 find_volume_spare_pool(int fd, const char *name, int *pool) argument 822 * Check for an existing pool other than pool 0 (used for 827 *pool = 1 << (ffs(info->VolumeSettings.HotSparePool & 834 * Try to find a free pool. First, figure out which pools are 856 /* Find the pool with the lowest use count. */ 863 /* Add this pool to the volume. */ 872 warnx("Failed to add spare pool %d to %s", new_pool, 878 *pool = (1 << new_pool); 889 int error, fd, i, nsdisks, pool; local [all...] |
/freebsd-10.1-release/share/examples/hast/ |
H A D | ucarp_down.sh | 36 # ZFS pool name. Required only when fstype == ZFS. 37 pool="test" 75 zpool list | egrep -q "^${pool} " 77 # Forcibly export file pool. 78 out=`zpool export -f "${pool}" 2>&1` 80 logger -p local0.error -t hast "Unable to export pool for resource ${resource}: ${out}." 83 logger -p local0.debug -t hast "ZFS pool for resource ${resource} exported."
|
H A D | ucarp_up.sh | 36 # ZFS pool name. Required only when fstype == ZFS. 37 pool="test" 92 # Import ZFS pool. Do it forcibly as it remembers hostid of 94 out=`zpool import -f "${pool}" 2>&1` 96 logger -p local0.error -t hast "ZFS pool import for resource ${resource} failed: ${out}." 99 logger -p local0.debug -t hast "ZFS pool for resource ${resource} imported."
|
/freebsd-10.1-release/contrib/tcpdump/ |
H A D | print-sflow.c | 96 u_int8_t pool[4]; member in struct:sflow_flow_sample_t 109 u_int8_t pool[4]; member in struct:sflow_expanded_flow_sample_t 767 printf(" seqnum %u, type %u, idx %u, rate %u, pool %u, drops %u, input %u output %u records %u", 772 EXTRACT_32BITS(sflow_flow_sample->pool), 797 printf(" seqnum %u, type %u, idx %u, rate %u, pool %u, drops %u, records %u", 802 EXTRACT_32BITS(sflow_expanded_flow_sample->pool),
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | AttributeList.cpp | 66 assert(cur && "reclaiming empty pool!"); 87 void AttributePool::takePool(AttributeList *pool) { argument 88 assert(pool); 90 // Fast path: this pool is empty. 92 Head = pool; 96 // Reverse the pool onto the current head. This optimizes for the 97 // pattern of pulling a lot of pools into a single pool. 99 AttributeList *next = pool->NextInPool; 100 pool->NextInPool = Head; 101 Head = pool; [all...] |
H A D | SemaDeclAttr.cpp | 5175 // We emit all the active diagnostics in this pool or any of its 5176 // parents. In general, we'll get one pool for the decl spec 5177 // and a child pool for each declarator; in a decl group like: 5182 const DelayedDiagnosticPool *pool = &poppedPool; local 5185 i = pool->pool_begin(), e = pool->pool_end(); i != e; ++i) { 5207 } while ((pool = pool->getParent())); 5211 /// been delayed in the current context instead of in the given pool. 5212 /// Essentially, this just moves them to the current pool 5213 redelayDiagnostics(DelayedDiagnosticPool &pool) argument [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | AttributeList.h | 473 /// individual attributes which are deallocated with the pool. 521 /// Reclaim all the attributes in the given pool chain, which is 542 // We don't care about the order of the pool. 548 void takePool(AttributeList *pool); 551 /// Create a new pool for a factory. 554 /// Move the given pool's allocations to this pool. 555 AttributePool(AttributePool &pool) : Factory(pool.Factory), Head(pool 821 mutable AttributePool pool; member in class:clang::AttributeList::ParsedAttributes [all...] |
H A D | DelayedDiagnostic.h | 245 /// Does this pool, or any of its ancestors, contain any diagnostics? 250 /// Add a diagnostic to this pool. 255 /// Steal the diagnostics from the given pool. 256 void steal(DelayedDiagnosticPool &pool) { argument 257 if (pool.Diagnostics.empty()) return; 260 Diagnostics = llvm_move(pool.Diagnostics); 262 Diagnostics.append(pool.pool_begin(), pool.pool_end()); 264 pool.Diagnostics.clear(); 275 /// Add a diagnostic to the current delay pool [all...] |