Lines Matching refs:buckets
218 * internal task buckets. We use multiple tasks to distribute various
325 static isc_result_t qid_allocate(dns_dispatchmgr_t *mgr, unsigned int buckets,
2032 unsigned int maxrequests, unsigned int buckets,
2040 REQUIRE(buckets < 2097169); /* next prime > 65536 * 32 */
2041 REQUIRE(increment > buckets);
2102 result = qid_allocate(mgr, buckets, increment, &mgr->qid, ISC_TRUE);
2294 qid_allocate(dns_dispatchmgr_t *mgr, unsigned int buckets,
2303 REQUIRE(buckets < 2097169); /* next prime > 65536 * 32 */
2304 REQUIRE(increment > buckets);
2312 buckets * sizeof(dns_displist_t));
2320 qid->sock_table = isc_mem_get(mgr->mctx, buckets *
2324 buckets * sizeof(dns_displist_t));
2334 buckets * sizeof(dispsocketlist_t));
2337 buckets * sizeof(dns_displist_t));
2342 for (i = 0; i < buckets; i++) {
2348 qid->qid_nbuckets = buckets;
2504 unsigned int buckets, unsigned int increment,
2524 * qid_allocate() checks buckets and increment for us.
2533 result = qid_allocate(mgr, buckets, increment, &disp->qid, ISC_FALSE);
2596 unsigned int buckets, unsigned int increment,
2609 REQUIRE(buckets < 2097169); /* next prime > 65536 * 32 */
2610 REQUIRE(increment > buckets);
2615 maxrequests, buckets, increment);