Home
last modified time | relevance | path

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

/freebsd-12-stable/include/
Dmpool.h47 #define HASHSIZE 128 macro
48 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)
66 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
/freebsd-12-stable/lib/libthr/thread/
Dthr_sleepq.c36 #define HASHSIZE (1 << HASHSHIFT) macro
40 & (HASHSIZE - 1)))
50 static struct sleepqueue_chain sc_table[HASHSIZE];
57 for (i = 0; i < HASHSIZE; ++i) { in _sleepq_init()
/freebsd-12-stable/sys/netgraph/
Dng_etf.c141 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro
153 struct filterhead hashtable[HASHSIZE];
186 for (i = 0; i < HASHSIZE; i++) { in ng_etf_constructor()
459 for (i = 0; i < HASHSIZE; i++) { in ng_etf_disconnect()
/freebsd-12-stable/usr.bin/sockstat/
Dsockstat.c128 #define HASHSIZE 1009 macro
129 static struct sock *sockhash[HASHSIZE];
433 HASHSIZE); in gather_sctp()
561 HASHSIZE); in gather_sctp()
724 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_inet()
819 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_unix()
1068 for (hash = 0; hash < HASHSIZE; ++hash) { in displaysock()
1200 hash = (int)((uintptr_t)xf->xf_data % HASHSIZE); in display()
1226 for (hash = 0; hash < HASHSIZE; hash++) { in display()
/freebsd-12-stable/contrib/gdb/gdb/
Dstabsread.h44 EXTERN struct symbol *global_sym_chain[HASHSIZE];
Dbuildsym.h46 #define HASHSIZE 127 /* Size of things hashed via macro
Dbuildsym.c1091 return (hash(name,strlen(name)) % HASHSIZE); in hashname()
Dstabsread.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()
Dcoffread.c125 static struct symbol *opaque_type_chain[HASHSIZE];
/freebsd-12-stable/sbin/restore/
Ddirs.c70 #define HASHSIZE 1000 macro
71 #define INOHASH(val) (val % HASHSIZE)
78 static struct inotab *inotab[HASHSIZE];
/freebsd-12-stable/stand/ficl/
Dficl.h680 #if !defined HASHSIZE /* Default size of hash table. For most uniform */
681 #define HASHSIZE 241 /* performance, use a prime number! */ macro
Dficl.c116 pSys->dp = dictCreateHashed((unsigned)nDictCells, HASHSIZE); in ficlInitSystemEx()
/freebsd-12-stable/lib/libc/db/mpool/
Dmpool.c88 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()
/freebsd-12-stable/contrib/gcc/
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
/freebsd-12-stable/crypto/heimdal/lib/sqlite/
Dsqlite3.c127167 #define HASHSIZE 128
127181 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
127432 ) % HASHSIZE;
/freebsd-12-stable/contrib/sqlite3/
Dsqlite3.c206560 #define HASHSIZE 97
206628 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
207060 return ((unsigned)iNode) % HASHSIZE;