Home
last modified time | relevance | path

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

/freebsd-14-stable/include/
HDmpool.h46 #define HASHSIZE 128 macro
47 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)
65 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
/freebsd-14-stable/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()
/freebsd-14-stable/sys/netgraph/
HDng_etf.c139 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro
151 struct filterhead hashtable[HASHSIZE];
182 for (i = 0; i < HASHSIZE; i++) { in ng_etf_constructor()
455 for (i = 0; i < HASHSIZE; i++) { in ng_etf_disconnect()
/freebsd-14-stable/sbin/fsck_ffs/
HDsuj.c99 struct blkhd sc_blkhash[HASHSIZE];
100 struct inohd sc_inohash[HASHSIZE];
109 static LIST_HEAD(cghd, suj_cg) cghash[HASHSIZE];
1557 for (i = 0; i < HASHSIZE; i++) in cg_build()
1572 for (i = 0; i < HASHSIZE; i++) { in cg_trunc()
1592 for (i = 0; i < HASHSIZE; i++) { in cg_adj_blk()
1611 for (i = 0; i < HASHSIZE; i++) in cg_check_blk()
1626 for (i = 0; i < HASHSIZE; i++) in cg_check_ino()
1637 for (i = 0; i < HASHSIZE; i++) in cg_apply()
2540 for (i = 0; i < HASHSIZE; i++) in initsuj()
HDfsck.h142 #define HASHSIZE 2048 macro
143 #define HASH(x) ((x * 2654435761) & (HASHSIZE - 1))
HDfsutil.c81 static LIST_HEAD(bufhash, bufarea) bufhashhd[HASHSIZE]; /* buffer hash list */
198 for (i = 0; i < HASHSIZE; i++) in bufinit()
/freebsd-14-stable/sbin/restore/
HDdirs.c68 #define HASHSIZE 1000 macro
69 #define INOHASH(val) (val % HASHSIZE)
76 static struct inotab *inotab[HASHSIZE];
/freebsd-14-stable/stand/ficl/
HDficl.h679 #if !defined HASHSIZE /* Default size of hash table. For most uniform */
680 #define HASHSIZE 241 /* performance, use a prime number! */ macro
HDficl.c115 pSys->dp = dictCreateHashed((unsigned)nDictCells, HASHSIZE); in ficlInitSystemEx()
/freebsd-14-stable/lib/libc/db/mpool/
HDmpool.c85 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()
/freebsd-14-stable/contrib/sqlite3/
HDsqlite3.c210448 #define HASHSIZE 97
210516 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
210948 return ((unsigned)iNode) % HASHSIZE;