Home
last modified time | relevance | path

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

/freebsd-12.1/include/
H A Dmpool.h47 #define HASHSIZE 128 macro
48 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)
66 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
/freebsd-12.1/lib/libthr/thread/
H A 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.1/sys/netgraph/
H A 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.1/usr.bin/sockstat/
H A Dsockstat.c125 #define HASHSIZE 1009 macro
126 static struct sock *sockhash[HASHSIZE];
430 HASHSIZE); in gather_sctp()
558 HASHSIZE); in gather_sctp()
720 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_inet()
815 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_unix()
1064 for (hash = 0; hash < HASHSIZE; ++hash) { in displaysock()
1181 hash = (int)((uintptr_t)xf->xf_data % HASHSIZE); in display()
1207 for (hash = 0; hash < HASHSIZE; hash++) { in display()
/freebsd-12.1/contrib/gdb/gdb/
H A Dstabsread.h44 EXTERN struct symbol *global_sym_chain[HASHSIZE];
H A Dbuildsym.h46 #define HASHSIZE 127 /* Size of things hashed via macro
H A Dbuildsym.c1091 return (hash(name,strlen(name)) % HASHSIZE); in hashname()
H A 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()
H A Dcoffread.c125 static struct symbol *opaque_type_chain[HASHSIZE];
/freebsd-12.1/sbin/restore/
H A Ddirs.c70 #define HASHSIZE 1000 macro
71 #define INOHASH(val) (val % HASHSIZE)
78 static struct inotab *inotab[HASHSIZE];
/freebsd-12.1/stand/ficl/
H A Dficl.h680 #if !defined HASHSIZE /* Default size of hash table. For most uniform */
681 #define HASHSIZE 241 /* performance, use a prime number! */ macro
H A Dficl.c116 pSys->dp = dictCreateHashed((unsigned)nDictCells, HASHSIZE); in ficlInitSystemEx()
/freebsd-12.1/lib/libc/db/mpool/
H A Dmpool.c88 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()
/freebsd-12.1/contrib/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
/freebsd-12.1/crypto/heimdal/lib/sqlite/
H A Dsqlite3.c127167 #define HASHSIZE 128
127181 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
127432 ) % HASHSIZE;
/freebsd-12.1/contrib/sqlite3/
H A Dsqlite3.c187299 #define HASHSIZE 97
187365 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
187769 return ((unsigned)iNode) % HASHSIZE;