Home
last modified time | relevance | path

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

/freebsd-13.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-13.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-13.1/sys/netgraph/
H A Dng_etf.c141 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro
153 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()
/freebsd-13.1/usr.bin/sockstat/
H A Dsockstat.c132 #define HASHSIZE 1009 macro
133 static struct sock *sockhash[HASHSIZE];
437 HASHSIZE); in gather_sctp()
565 HASHSIZE); in gather_sctp()
731 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_inet()
826 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_unix()
1075 for (hash = 0; hash < HASHSIZE; ++hash) { in displaysock()
1221 hash = (int)((uintptr_t)xf->xf_data % HASHSIZE); in display()
1247 for (hash = 0; hash < HASHSIZE; hash++) { in display()
/freebsd-13.1/sbin/fsck_ffs/
H A Dsuj.c99 struct blkhd sc_blkhash[HASHSIZE];
100 struct inohd sc_inohash[HASHSIZE];
109 static LIST_HEAD(cghd, suj_cg) cghash[HASHSIZE];
1495 for (i = 0; i < HASHSIZE; i++) in cg_build()
1510 for (i = 0; i < HASHSIZE; i++) { in cg_trunc()
1530 for (i = 0; i < HASHSIZE; i++) { in cg_adj_blk()
1549 for (i = 0; i < HASHSIZE; i++) in cg_check_blk()
1564 for (i = 0; i < HASHSIZE; i++) in cg_check_ino()
1575 for (i = 0; i < HASHSIZE; i++) in cg_apply()
2440 for (i = 0; i < HASHSIZE; i++) in initsuj()
H A Dfsck.h147 #define HASHSIZE 2048 macro
148 #define HASH(x) ((x * 2654435761) & (HASHSIZE - 1))
H A Dfsutil.c83 static LIST_HEAD(bufhash, bufarea) bufhashhd[HASHSIZE]; /* buffer hash list */
194 for (i = 0; i < HASHSIZE; i++) in bufinit()
/freebsd-13.1/sbin/restore/
H A Ddirs.c70 #define HASHSIZE 1000 macro
71 #define INOHASH(val) (val % HASHSIZE)
78 static struct inotab *inotab[HASHSIZE];
/freebsd-13.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-13.1/lib/libc/db/mpool/
H A Dmpool.c88 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()
/freebsd-13.1/contrib/sqlite3/
H A Dsqlite3.c194075 #define HASHSIZE 97
194143 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
194569 return ((unsigned)iNode) % HASHSIZE;