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

/freebsd-13-stable/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-stable/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) {
/freebsd-13-stable/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++) {
457 for (i = 0; i < HASHSIZE; i++) {
/freebsd-13-stable/usr.bin/sockstat/
H A Dsockstat.c129 #define HASHSIZE 1009 macro
130 static struct sock *sockhash[HASHSIZE];
434 HASHSIZE);
562 HASHSIZE);
727 hash = (int)((uintptr_t)sock->socket % HASHSIZE);
822 hash = (int)((uintptr_t)sock->socket % HASHSIZE);
1071 for (hash = 0; hash < HASHSIZE; ++hash) {
1206 hash = (int)((uintptr_t)xf->xf_data % HASHSIZE);
1232 for (hash = 0; hash < HASHSIZE; hash++) {
/freebsd-13-stable/sbin/restore/
H A Ddirs.c70 #define HASHSIZE 1000 macro
71 #define INOHASH(val) (val % HASHSIZE)
78 static struct inotab *inotab[HASHSIZE];
/freebsd-13-stable/sbin/fsck_ffs/
H A Dfsck.h147 #define HASHSIZE 2048 macro
148 #define HASH(x) ((x * 2654435761) & (HASHSIZE - 1))
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++)
1510 for (i = 0; i < HASHSIZE; i++) {
1530 for (i = 0; i < HASHSIZE; i++) {
1549 for (i = 0; i < HASHSIZE; i++)
1564 for (i = 0; i < HASHSIZE; i++)
1575 for (i = 0; i < HASHSIZE; i++)
2440 for (i = 0; i < HASHSIZE;
[all...]
H A Dfsutil.c83 static LIST_HEAD(bufhash, bufarea) bufhashhd[HASHSIZE]; /* buffer hash list */
194 for (i = 0; i < HASHSIZE; i++)
/freebsd-13-stable/stand/ficl/
H A Dficl.h150 ** - Make the main hash table a bigger prime (HASHSIZE)
680 #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);
/freebsd-13-stable/lib/libc/db/mpool/
H A Dmpool.c88 for (entry = 0; entry < HASHSIZE; ++entry)
/freebsd-13-stable/contrib/sqlite3/
H A Dsqlite3.c191309 #define HASHSIZE macro
[all...]

Completed in 803 milliseconds