HomeSort by: relevance | last modified time | path
    Searched refs:HASH (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/net/agr/
if_agrether_hash.c 34 #include <sys/hash.h>
48 #define HASH(p, l, h) hash32_buf((p), (l), (h))
76 uint32_t hash = HASH32_BUF_INIT; local in function:agrether_hashmbuf
83 return hash;
86 hash = HASH(&eh->ether_dhost, sizeof(eh->ether_dhost), hash);
87 hash = HASH(&eh->ether_shost, sizeof(eh->ether_shost), hash);
    [all...]
  /src/common/lib/libc/atomic/
atomic_init_testset.c 62 #define HASH(PTR) (((uintptr_t)(PTR) >> 3) & 127)
180 lock = &atomic_locks[HASH(ptr)];
198 lock = &atomic_locks[HASH(ptr)];
216 lock = &atomic_locks[HASH(ptr)];
233 lock = &atomic_locks[HASH(ptr)];
  /src/usr.bin/make/unit-tests/
varmod-select-words.mk 20 HASH= \#
30 mod-squarebrackets-hash \
76 mod-squarebrackets-hash:
168 @echo 'HASH="${HASH}" == "#" ?'
169 @echo 'LIST:[$${HASH}]="${LIST:[${HASH}]}"'
182 @echo 'LIST:[$${LIST:[$${HASH}]}]="${LIST:[${LIST:[${HASH}]}]}"'
varmod-select-words.exp 114 HASH="#" == "#" ?
115 LIST:[${HASH}]="6"
128 LIST:[${LIST:[${HASH}]}]="six"
  /src/usr.bin/make/
hash.c 1 /* $NetBSD: hash.c,v 1.80 2025/04/22 19:28:50 rillig Exp $ */
72 /* Hash tables with string keys and pointer values. */
76 /* "@(#)hash.c 8.1 (Berkeley) 6/6/93" */
77 MAKE_RCSID("$NetBSD: hash.c,v 1.80 2025/04/22 19:28:50 rillig Exp $");
85 /* This hash function matches Gosling's Emacs and java.lang.String. */
100 /* This hash function matches Gosling's Emacs and java.lang.String. */
120 DEBUG4(HASH, "HashTable_Find: %p h=%08x key=%.*s\n",
125 if (he->hash == h &&
134 /* Set up the hash table. */
150 * Remove everything from the hash table and free up the memory for the key
    [all...]
main.c 2081 if (DEBUG(HASH)) {
  /src/usr.sbin/npf/npfctl/
npf_scan.l 113 hash return HASH;
130 "ip-hash" return IPHASH;
npf_parse.y 127 %token HASH
371 | HASH
373 warnx("warning - table type \"hash\" is deprecated and may be "
  /src/usr.sbin/lockstat/
main.c 136 #define HASH(a) (&bucket[((a) >> 6) & (__arraycount(bucket) - 1)])
637 bp = HASH(lb->lb_lock);
  /src/sys/dev/usb/
ohci.c 1575 /* remove xfer's TDs from the hash */
1888 * To make the translation possible (and fast) we use a hash table of
1890 * hash value.
1893 #define HASH(a) (((a) >> 4) % OHCI_HASH_SIZE)
1898 int h = HASH(std->physaddr);
1918 int h = HASH(a);
1933 int h = HASH(sitd->physaddr);
1963 int h = HASH(a);

Completed in 41 milliseconds