HASH
lock = &atomic_locks[HASH(ptr)];
lock = &atomic_locks[HASH(ptr)];
lock = &atomic_locks[HASH(ptr)];
lock = &atomic_locks[HASH(ptr)];
int h = HASH(std->physaddr);
int h = HASH(a);
int h = HASH(sitd->physaddr);
int h = HASH(a);
hash = HASH(&tci, sizeof(tci), hash);
hash = HASH(&ip->ip_src, sizeof(ip->ip_src), hash);
hash = HASH(&ip->ip_dst, sizeof(ip->ip_dst), hash);
hash = HASH(&ip->ip_p, sizeof(ip->ip_p), hash);
hash = HASH(&ip6->ip6_src, sizeof(ip6->ip6_src), hash);
hash = HASH(&ip6->ip6_dst, sizeof(ip6->ip6_dst), hash);
hash = HASH(&flowlabel, sizeof(flowlabel), hash);
hash = HASH(&eh->ether_dhost, sizeof(eh->ether_dhost), hash);
hash = HASH(&eh->ether_shost, sizeof(eh->ether_shost), hash);
DEBUG4(HASH, "HashTable_Find: %p h=%08x key=%.*s\n",
DEBUG4(HASH, "HashTable_Enlarge: %p size=%d entries=%d maxchain=%d\n",
DEBUG4(HASH, "HashTable \"%s\": size=%u entries=%u maxchain=%u\n",
if (DEBUG(HASH)) {
bp = HASH(lb->lb_lock);
%token HASH
| HASH