Home
last modified time | relevance | path

Searched refs:HASHSIZE (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/include/
H A Dmpool.h47 #define HASHSIZE 128 macro
48 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE)
66 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
/netbsd-src/games/battlestar/
H A Dparse.c43 #define HASHSIZE 256 macro
45 #define HASHMASK (HASHSIZE - 1)
51 static struct wlist *hashtab[HASHSIZE];
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dhash.c46 return h % HASHSIZE; in hashp()
67 for (i = 0; i < HASHSIZE; i++) in getlist()
113 for (i = 0; i < HASHSIZE; i++) in dellist()
576 (void *) list, (void *) list->list, HASHSIZE, (void *) list->next); in printlist()
579 (unsigned long) list, (unsigned long) list->list, HASHSIZE, in printlist()
H A Dhash.h17 #define HASHSIZE 151 macro
46 Node *hasharray[HASHSIZE];
/netbsd-src/usr.bin/rdist/
H A Dlookup.c54 static struct syment *hashtab[HASHSIZE];
138 n %= HASHSIZE; in lookup()
H A Ddefs.h78 #define HASHSIZE 1021 macro
/netbsd-src/usr.bin/sockstat/
H A Dsockstat.c95 #define HASHSIZE 1009 macro
96 struct socklist sockhash[HASHSIZE];
401 hash = (int)(kp[i].ki_sockaddr % HASHSIZE);
465 hash = (int)(f->ki_fdata % HASHSIZE);
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dht.c43 #define HASHSIZE(bits) (UINT64_C(1) << (bits))
129 while (newcount >= HASHSIZE(newbits) && newbits <= HT_MAX_BITS) { in memcasecmp()
213 ht->size[idx] = HASHSIZE(ht->hashbits[idx]); in hashtable_rehash_one()
42 #define HASHSIZE( global() macro
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dht.c42 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro
169 while (newcount >= HASHSIZE(newbits) && newbits <= HT_MAX_BITS) { in rehash_bits()
254 ht->size[idx] = HASHSIZE(ht->hashbits[idx]); in hashtable_new()
/netbsd-src/sbin/restore/
H A Ddirs.c72 #define HASHSIZE 1000 macro
73 #define INOHASH(val) (val % HASHSIZE)
80 static struct inotab *inotab[HASHSIZE];
/netbsd-src/usr.bin/m4/
H A Dmdef.h124 #define HASHSIZE 199 /* maximum size of hashtab */ macro
H A Dmain.c64 ndptr hashtab[HASHSIZE]; /* hash table for macros etc. */
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Drbt.c74 #define HASHSIZE( global() macro
H A Drbtdb.c321 #define HASHSIZE( global() macro
H A Dresolver.c234 #define HASHSIZE( global() macro
H A Dzone.c18525 #define HASHSIZE( global() macro
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Drbt.c80 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro
1081 size_t size = HASHSIZE(rbt->hashbits) * sizeof(dns_rbtnode_t *); in dns_rbt_destroy2()
2378 size = HASHSIZE(rbt->hashbits) * sizeof(dns_rbtnode_t *); in inithash()
2389 while (newcount >= HASHSIZE(newbits) && newbits < RBT_HASH_MAX_BITS) { in rehash_bits()
2410 oldsize = HASHSIZE(oldbits); in rehash()
2414 newsize = HASHSIZE(rbt->hashbits); in rehash()
2449 if (rbt->nodecount >= (HASHSIZE(rbt->hashbits) * RBT_HASH_OVERCOMMIT)) { in hash_node()
H A Drbtdb.c359 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro
1346 size = HASHSIZE(version->glue_table_bits) * in allocate_version()
10095 for (i = 0; i < HASHSIZE(version->glue_table_bits); i++) { in free_gluetable()
10111 size = HASHSIZE(version->glue_table_bits) * in free_gluetable()
10123 while (newcount >= HASHSIZE(newbits) && in rehash_bits()
10142 oldcount = HASHSIZE(oldbits); in rehash_gluetable()
10146 newsize = HASHSIZE(newbits) * sizeof(version->glue_table[0]); in rehash_gluetable()
10180 size_t overcommit = HASHSIZE(version->glue_table_bits) * in maybe_rehash_gluetable()
H A Dzone.c18465 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro
18475 while (count >= HASHSIZE(newbits) && newbits < KEYMGMT_BITS_MAX) { in hash_bits_grow()
18484 while (count <= HASHSIZE(newbits) && newbits > KEYMGMT_BITS_MIN) { in hash_bits_shrink()
18501 size = HASHSIZE(mgmt->bits); in zonemgr_keymgmt_init()
18518 size = HASHSIZE(mgmt->bits); in zonemgr_keymgmt_destroy()
18544 size = HASHSIZE(bits); in zonemgr_keymgmt_resize()
18570 newsize = HASHSIZE(newbits); in zonemgr_keymgmt_resize()
/netbsd-src/usr.bin/tsort/
H A Dtsort.c80 #define HASHSIZE 53 /* doesn't need to be big */ macro
/netbsd-src/lib/libc/db/mpool/
H A Dmpool.c98 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A DChangeLog-200014292 * cpphash.c (HASHSIZE): Increase to 4096.
26317 all_include_files of type 'struct htab *'. Delete HASHSIZE
26342 (HASHSIZE): new macro.
28928 HASHSIZE parameter; return an unsigned int.
28930 used. Calculate HASHSIZE modulus here.
28931 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-20187020 * stabsread.h (HASHSIZE, hashname, symnum, next_symbol_text)
7023 * buildsym.h (HASHSIZE, symnum, next_symbol_text)
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-20187020 * stabsread.h (HASHSIZE, hashname, symnum, next_symbol_text)
7023 * buildsym.h (HASHSIZE, symnum, next_symbol_text)
/netbsd-src/external/public-domain/sqlite/dist/
H A Dsqlite3.c208652 #define HASHSIZE 97
208720 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
209152 return ((unsigned)iNode) % HASHSIZE;