Lines Matching refs:bucket
142 unsigned int bucket;
184 unsigned int bucket;
603 unsigned int bucket;
605 bucket = 0;
607 while (bucket < qid->qid_nbuckets) {
608 ret = ISC_LIST_HEAD(qid->qid_table[bucket]);
611 bucket++;
624 unsigned int bucket;
630 bucket = resp->bucket;
631 bucket++;
632 while (bucket < qid->qid_nbuckets) {
633 ret = ISC_LIST_HEAD(qid->qid_table[bucket]);
636 bucket++;
780 unsigned int bucket)
784 REQUIRE(bucket < qid->qid_nbuckets);
786 dispsock = ISC_LIST_HEAD(qid->sock_table[bucket]);
815 unsigned int bucket = 0;
866 bucket = dns_hash(qid, dest, 0, port);
867 if (socket_search(qid, dest, port, bucket) != NULL)
898 dispsock->bucket = bucket;
899 ISC_LIST_APPEND(qid->sock_table[bucket], dispsock, blink);
941 ISC_LIST_UNLINK(qid->sock_table[dispsock->bucket], dispsock,
980 ISC_LIST_UNLINK(qid->sock_table[dispsock->bucket], dispsock,
1005 in_port_t port, unsigned int bucket)
1009 REQUIRE(bucket < qid->qid_nbuckets);
1011 res = ISC_LIST_HEAD(qid->qid_table[bucket]);
1131 unsigned int bucket;
1276 bucket = dns_hash(qid, &ev->address, id, disp->localport);
1280 bucket);
1282 "search for response in bucket %d: %s",
1283 bucket, (resp == NULL ? "not found" : "found"));
1422 unsigned int bucket;
1532 bucket = dns_hash(qid, &tcpmsg->address, id, disp->localport);
1534 resp = entry_search(qid, &tcpmsg->address, id, disp->localport, bucket);
1536 "search for response in bucket %d: %s",
1537 bucket, (resp == NULL ? "not found" : "found"));
2963 unsigned int bucket;
3054 bucket = dns_hash(qid, dest, id, localport);
3057 if (entry_search(qid, dest, id, localport, bucket) == NULL) {
3063 bucket = dns_hash(qid, dest, id, localport);
3088 res->bucket = bucket;
3099 ISC_LIST_APPEND(qid->qid_table[bucket], res, link);
3110 ISC_LIST_UNLINK(qid->qid_table[bucket], res, link);
3174 unsigned int bucket;
3220 bucket = res->bucket;
3223 ISC_LIST_UNLINK(qid->qid_table[bucket], res, link);