/bind-9.11.3/lib/isccc/ |
H A D | symtab.c | 96 free_elt(isccc_symtab_t *symtab, unsigned int bucket, elt_t *elt) { argument 97 ISC_LIST_UNLINK(symtab->table[bucket], elt, link); 189 unsigned int bucket; local 195 FIND(symtab, key, type, bucket, elt); 210 unsigned int bucket; local 217 FIND(symtab, key, type, bucket, elt); 223 ISC_LIST_UNLINK(symtab->table[bucket], elt, link); 242 ISC_LIST_PREPEND(symtab->table[bucket], elt, link); 249 unsigned int bucket; local 255 FIND(symtab, key, type, bucket, el [all...] |
/bind-9.11.3/lib/isc/ |
H A D | symtab.c | 164 unsigned int bucket; local 170 FIND(symtab, key, type, bucket, elt); 225 unsigned int bucket; local 232 FIND(symtab, key, type, bucket, elt); 238 UNLINK(symtab->table[bucket], elt, link); 265 PREPEND(symtab->table[bucket], elt, link); 275 unsigned int bucket; local 281 FIND(symtab, key, type, bucket, elt); 289 UNLINK(symtab->table[bucket], elt, link);
|
/bind-9.11.3/lib/dns/ |
H A D | acache.c | 478 int bucket; local 489 bucket = isc_hash_function(&db, sizeof(db), ISC_TRUE, NULL) % DBBUCKETS; 491 for (dbentry = ISC_LIST_HEAD(acache->dbbucket[bucket]); 1248 int bucket; local 1280 bucket = isc_hash_function(&db, sizeof(db), ISC_TRUE, NULL) % DBBUCKETS; 1282 ISC_LIST_APPEND(acache->dbbucket[bucket], dbentry, link); 1294 int bucket; local 1368 bucket = isc_hash_function(&db, sizeof(db), ISC_TRUE, NULL) % DBBUCKETS; 1370 ISC_LIST_UNLINK(acache->dbbucket[bucket], dbentry, link);
|
H A D | rbt.c | 1621 * Walk all the nodes in the hash bucket pointed 2393 unsigned int bucket; local 2398 bucket = HASHVAL(node) % rbt->hashsize; 2399 bucket_node = rbt->hashtable[bucket]; 2402 rbt->hashtable[bucket] = HASHNEXT(node);
|
H A D | dispatch.c | 126 unsigned int bucket; member in struct:dns_dispentry 168 unsigned int bucket; member in struct:dispsocket 440 unsigned int bucket; local 442 bucket = 0; 444 while (bucket < qid->qid_nbuckets) { 445 ret = ISC_LIST_HEAD(qid->qid_table[bucket]); 448 bucket++; 461 unsigned int bucket; local 467 bucket = resp->bucket; 631 socket_search(dns_qid_t *qid, isc_sockaddr_t *dest, in_port_t port, unsigned int bucket) argument 668 unsigned int bucket = 0; local 870 entry_search(dns_qid_t *qid, isc_sockaddr_t *dest, dns_messageid_t id, in_port_t port, unsigned int bucket) argument 1040 unsigned int bucket; local 1331 unsigned int bucket; local 3190 unsigned int bucket; local 3459 unsigned int bucket; local [all...] |
H A D | adb.c | 80 #define DNS_ADB_INVALIDBUCKET (-1) /*%< invalid bucket address */ 124 * XXXRTH Have a per-bucket structure that contains all of these? 138 * XXXRTH Have a per-bucket structure that contains all of these? 562 unsigned int i, n, bucket; local 625 bucket = isc_sockaddr_hash(&e->sockaddr, ISC_TRUE) % n; 626 e->lock_bucket = bucket; 627 ISC_LIST_APPEND(newentries[bucket], e, plink); 630 newentry_refcnt[bucket]++; 636 bucket = isc_sockaddr_hash(&e->sockaddr, ISC_TRUE) % n; 637 e->lock_bucket = bucket; 719 unsigned int i, n, bucket; local 1013 int bucket; local 1122 link_name(dns_adb_t *adb, int bucket, dns_adbname_t *name) argument 1135 int bucket; local 1157 link_entry(dns_adb_t *adb, int bucket, dns_adbentry_t *entry) argument 1188 int bucket; local 1221 unsigned int bucket; local 1266 unsigned int bucket; local 1613 int bucket; local 1630 int bucket; local 2041 int bucket; local 2083 int bucket; local 2183 int bucket; local 2337 check_stale_name(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument 2415 cleanup_names(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument 2445 cleanup_entries(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument 2950 int bucket; local 3293 int bucket; local 3351 int bucket; local 3827 int bucket; local 4087 int bucket; local 4124 int bucket; local 4143 int bucket; local 4186 int bucket; local 4288 int bucket; local 4323 int bucket; local 4348 int bucket; local 4385 int bucket; local 4432 int bucket; local 4461 int bucket; local 4482 int bucket; local 4514 int bucket; local 4545 int bucket; local 4568 int bucket; local 4621 int bucket; local 4685 int bucket; local 4797 int bucket; local 4811 int bucket; local [all...] |
H A D | rbtdb.c | 683 * be node_lock_count linked lists here. Nodes in bucket 1 will be 1982 "delete_node(): %p %s (bucket %d)", 2220 int bucket = node->locknum; local 2223 nodelock = &rbtdb->node_locks[bucket]; 2276 * bucket which we will free later. 2360 ISC_LIST_APPEND(rbtdb->deadnodes[bucket], node, 2369 ISC_LIST_APPEND(rbtdb->deadnodes[bucket], node, deadlink); 10361 * entry, and we specifically avoid purging entries in the same LRU bucket as
|
H A D | resolver.c | 265 /*% Locked by appropriate bucket lock. */ 864 unsigned int bucket; local 874 bucket = fctx->bucketnum; 878 LOCK(&res->buckets[bucket].lock); 880 UNLOCK(&res->buckets[bucket].lock); 1326 * Caller must be holding the appropriate bucket lock. 3806 * Caller must be holding the bucket lock. 3980 * The caller must be holding the appropriate bucket lock. 4026 * without the bucket lock held, since that could cause deadlock. 4040 * with the ADB, we must do this before we lock the bucket loc [all...] |