Home
last modified time | relevance | path

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

/freebsd/include/
H A Dmpool.h44 #define HASHSIZE 128 macro
45 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)
63 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
/freebsd/lib/libthr/thread/
H A Dthr_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/sys/netgraph/
H A Dng_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/sbin/fsck_ffs/
H A Dsuj.c97 struct blkhd sc_blkhash[HASHSIZE];
98 struct inohd sc_inohash[HASHSIZE];
107 static LIST_HEAD(cghd, suj_cg) cghash[HASHSIZE];
1555 for (i = 0; i < HASHSIZE; i++) in cg_build()
1570 for (i = 0; i < HASHSIZE; i++) { in cg_trunc()
1590 for (i = 0; i < HASHSIZE; i++) { in cg_adj_blk()
1609 for (i = 0; i < HASHSIZE; i++) in cg_check_blk()
1624 for (i = 0; i < HASHSIZE; i++) in cg_check_ino()
1635 for (i = 0; i < HASHSIZE; i++) in cg_apply()
2538 for (i = 0; i < HASHSIZE; i++) in initsuj()
H A Dfsck.h145 #define HASHSIZE 2048 macro
146 #define HASH(x) ((x * 2654435761) & (HASHSIZE - 1))
H A Dfsutil.c74 static LIST_HEAD(bufhash, bufarea) bufhashhd[HASHSIZE]; /* buffer hash list */
191 for (i = 0; i < HASHSIZE; i++) in bufinit()
/freebsd/sbin/restore/
H A Ddirs.c62 #define HASHSIZE 1000 macro
63 #define INOHASH(val) (val % HASHSIZE)
70 static struct inotab *inotab[HASHSIZE];
/freebsd/stand/ficl/
H A Dficl.h679 #if !defined HASHSIZE /* Default size of hash table. For most uniform */
680 #define HASHSIZE 241 /* performance, use a prime number! */ macro
H A Dficl.c115 pSys->dp = dictCreateHashed((unsigned)nDictCells, HASHSIZE); in ficlInitSystemEx()
/freebsd/lib/libc/db/mpool/
H A Dmpool.c82 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c210458 #define HASHSIZE 97
210526 RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */
210958 return ((unsigned)iNode) % HASHSIZE;