Home
last modified time | relevance | path

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

/NextBSD/include/
HDmpool.h45 #define HASHSIZE 128 macro
46 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)
64 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
/NextBSD/lib/libthr/thread/
HDthr_sleepq.c33 #define HASHSIZE (1 << HASHSHIFT) macro
37 & (HASHSIZE - 1)))
47 static struct sleepqueue_chain sc_table[HASHSIZE];
54 for (i = 0; i < HASHSIZE; ++i) { in _sleepq_init()
/NextBSD/sys/netgraph/
HDng_etf.c139 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro
151 struct filterhead hashtable[HASHSIZE];
184 for (i = 0; i < HASHSIZE; i++) { in ng_etf_constructor()
457 for (i = 0; i < HASHSIZE; i++) { in ng_etf_disconnect()
/NextBSD/usr.bin/sockstat/
HDsockstat.c114 #define HASHSIZE 1009 macro
115 static struct sock *sockhash[HASHSIZE];
412 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_sctp()
523 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_sctp()
685 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_inet()
780 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_unix()
1004 for (hash = 0; hash < HASHSIZE; ++hash) { in displaysock()
1073 hash = (int)((uintptr_t)xf->xf_data % HASHSIZE); in display()
1099 for (hash = 0; hash < HASHSIZE; hash++) { in display()
/NextBSD/contrib/gdb/gdb/
HDstabsread.h44 EXTERN struct symbol *global_sym_chain[HASHSIZE];
HDbuildsym.h46 #define HASHSIZE 127 /* Size of things hashed via macro
HDbuildsym.c1091 return (hash(name,strlen(name)) % HASHSIZE); in hashname()
HDstabsread.c4247 for (hash = 0; hash < HASHSIZE; hash++) in scan_file_globals()
4252 if (hash >= HASHSIZE) in scan_file_globals()
4336 for (hash = 0; hash < HASHSIZE; hash++) in scan_file_globals()
HDcoffread.c125 static struct symbol *opaque_type_chain[HASHSIZE];
/NextBSD/sbin/restore/
HDdirs.c68 #define HASHSIZE 1000 macro
69 #define INOHASH(val) (val % HASHSIZE)
76 static struct inotab *inotab[HASHSIZE];
/NextBSD/sys/boot/ficl/
HDficl.h680 #if !defined HASHSIZE /* Default size of hash table. For most uniform */
681 #define HASHSIZE 241 /* performance, use a prime number! */ macro
HDficl.c116 pSys->dp = dictCreateHashed((unsigned)nDictCells, HASHSIZE); in ficlInitSystemEx()
/NextBSD/lib/libc/db/mpool/
HDmpool.c86 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()
/NextBSD/contrib/gcc/
HDChangeLog-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
/NextBSD/crypto/heimdal/lib/sqlite/
HDsqlite3.c127167 #define HASHSIZE 128
127181 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
127432 ) % HASHSIZE;
/NextBSD/contrib/sqlite3/
HDsqlite3.c152692 #define HASHSIZE 97
152743 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
153041 return iNode % HASHSIZE;