Lines Matching refs:bucketnum

179 	unsigned int			bucketnum;
1148 LOCK(&res->buckets[fctx->bucketnum].lock);
1154 UNLOCK(&res->buckets[fctx->bucketnum].lock);
1325 task = res->buckets[fctx->bucketnum].task;
1646 task = res->buckets[fctx->bucketnum].task;
2125 unsigned int bucketnum;
2137 bucketnum = fctx->bucketnum;
2138 LOCK(&res->buckets[bucketnum].lock);
2170 UNLOCK(&res->buckets[bucketnum].lock);
2503 res->buckets[fctx->bucketnum].task,
3100 unsigned int bucketnum;
3120 bucketnum = fctx->bucketnum;
3122 ISC_LIST_UNLINK(res->buckets[bucketnum].fctxs, fctx, link);
3128 if (res->buckets[bucketnum].exiting &&
3129 ISC_LIST_EMPTY(res->buckets[bucketnum].fctxs))
3287 isc_task_send(fctx->res->buckets[fctx->bucketnum].task,
3297 unsigned int bucketnum;
3306 bucketnum = fctx->bucketnum;
3335 LOCK(&res->buckets[bucketnum].lock);
3354 UNLOCK(&res->buckets[bucketnum].lock);
3368 unsigned int bucketnum;
3376 bucketnum = fctx->bucketnum;
3380 LOCK(&res->buckets[bucketnum].lock);
3420 UNLOCK(&res->buckets[bucketnum].lock);
3515 unsigned int options, unsigned int bucketnum, fetchctx_t **fctxp)
3529 * Caller must be holding the lock for bucket number 'bucketnum'.
3533 mctx = res->buckets[bucketnum].mctx;
3563 fctx->bucketnum = bucketnum;
3719 res->buckets[bucketnum].task, fctx_timeout,
3743 ISC_LIST_APPEND(res->buckets[bucketnum].fctxs, fctx, link);
3938 unsigned int bucketnum;
3946 bucketnum = fctx->bucketnum;
3948 LOCK(&res->buckets[bucketnum].lock);
3964 UNLOCK(&res->buckets[bucketnum].lock);
4010 LOCK(&res->buckets[fctx->bucketnum].lock);
4032 isc_uint32_t bucketnum = fctx->bucketnum;
4035 UNLOCK(&res->buckets[bucketnum].lock);
4135 UNLOCK(&res->buckets[fctx->bucketnum].lock);
4263 UNLOCK(&res->buckets[fctx->bucketnum].lock);
4280 UNLOCK(&res->buckets[fctx->bucketnum].lock);
4355 UNLOCK(&res->buckets[fctx->bucketnum].lock);
4535 task = res->buckets[fctx->bucketnum].task;
4931 LOCK(&fctx->res->buckets[fctx->bucketnum].lock);
4954 UNLOCK(&fctx->res->buckets[fctx->bucketnum].lock);
5101 res->buckets[fctx->bucketnum].task);
5110 LOCK(&res->buckets[fctx->bucketnum].lock);
5162 UNLOCK(&res->buckets[fctx->bucketnum].lock);
6183 unsigned int bucketnum;
6204 bucketnum = fctx->bucketnum;
6270 LOCK(&res->buckets[bucketnum].lock);
6284 LOCK(&res->buckets[bucketnum].lock);
6286 UNLOCK(&res->buckets[bucketnum].lock);
7130 LOCK(&fctx->res->buckets[fctx->bucketnum].lock);
7132 UNLOCK(&fctx->res->buckets[fctx->bucketnum].lock);
7802 unsigned int bucketnum;
7835 bucketnum = dns_name_fullhash(name, ISC_FALSE) % res->nbuckets;
7841 LOCK(&res->buckets[bucketnum].lock);
7843 if (res->buckets[bucketnum].exiting) {
7849 for (fctx = ISC_LIST_HEAD(res->buckets[bucketnum].fctxs);
7885 options, bucketnum, &fctx);
7903 isc_task_send(res->buckets[bucketnum].task, &event);
7915 UNLOCK(&res->buckets[bucketnum].lock);
7943 LOCK(&res->buckets[fctx->bucketnum].lock);
7973 UNLOCK(&res->buckets[fctx->bucketnum].lock);
7982 unsigned int bucketnum;
7994 bucketnum = fctx->bucketnum;
7995 LOCK(&res->buckets[bucketnum].lock);
8013 UNLOCK(&res->buckets[bucketnum].lock);
8036 LOCK(&res->buckets[fctx->bucketnum].lock);
8060 UNLOCK(&res->buckets[fctx->bucketnum].lock);