Home
last modified time | relevance | path

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

/dragonfly/include/
H A Dmpool.h47 #define HASHSIZE 128 macro
48 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)
66 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
/dragonfly/games/battlestar/
H A Dparse.c35 #define HASHSIZE 256 macro
37 #define HASHMASK (HASHSIZE - 1)
43 static struct wlist *hashtab[HASHSIZE];
/dragonfly/usr.bin/sockstat/
H A Dsockstat.c87 #define HASHSIZE 1009 macro
88 static struct sock *sockhash[HASHSIZE];
285 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_inet()
350 hash = (int)((uintptr_t)sock->socket % HASHSIZE); in gather_unix()
487 hash = (int)((uintptr_t)xf->f_data % HASHSIZE); in display()
524 for (hash = 0; hash < HASHSIZE; ++hash) { in display()
/dragonfly/sys/netgraph7/
H A Dng_vlan.c135 #define HASHSIZE 16 macro
142 struct filterhead hashtable[HASHSIZE];
168 for (i = 0; i < HASHSIZE; i++) in ng_vlan_constructor()
289 for (i = 0; i < HASHSIZE; i++) { in ng_vlan_rcvmsg()
320 for (i = 0, chain = priv->hashtable; i < HASHSIZE; in ng_vlan_rcvmsg()
/dragonfly/contrib/cvs-1.12/src/
H A Dhash.c44 return h % HASHSIZE; in hashp()
65 for (i = 0; i < HASHSIZE; i++) in getlist()
111 for (i = 0; i < HASHSIZE; i++) in dellist()
574 (void *) list, (void *) list->list, HASHSIZE, (void *) list->next); in printlist()
577 (unsigned long) list, (unsigned long) list->list, HASHSIZE, in printlist()
H A Dhash.h17 #define HASHSIZE 151 macro
46 Node *hasharray[HASHSIZE];
/dragonfly/sys/netgraph/etf/
H A Dng_etf.c142 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro
154 struct filterhead hashtable[HASHSIZE];
190 for (i = 0; i < HASHSIZE; i++) { in ng_etf_constructor()
473 for (i = 0; i < HASHSIZE; i++) { in ng_etf_disconnect()
/dragonfly/sys/netgraph7/etf/
H A Dng_etf.c140 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro
152 struct filterhead hashtable[HASHSIZE];
188 for (i = 0; i < HASHSIZE; i++) { in ng_etf_constructor()
461 for (i = 0; i < HASHSIZE; i++) { in ng_etf_disconnect()
/dragonfly/contrib/gdb-7/gdb/
H A Dstabsread.h41 EXTERN struct symbol *global_sym_chain[HASHSIZE];
H A Dbuildsym.h45 #define HASHSIZE 127 /* Size of things hashed via macro
H A Dstabsread.c4631 for (hash = 0; hash < HASHSIZE; hash++) in scan_file_globals()
4636 if (hash >= HASHSIZE) in scan_file_globals()
4718 for (hash = 0; hash < HASHSIZE; hash++) in scan_file_globals()
H A Dbuildsym.c1459 return (hash(name,strlen(name)) % HASHSIZE); in hashname()
H A Dcoffread.c133 static struct symbol *opaque_type_chain[HASHSIZE];
/dragonfly/sbin/restore/
H A Ddirs.c61 #define HASHSIZE 1000 macro
62 #define INOHASH(val) (val % HASHSIZE)
69 static struct inotab *inotab[HASHSIZE];
/dragonfly/usr.bin/du/
H A Ddu.c52 #define HASHSIZE 256 /* power of 2 only */ macro
53 #define HASHMASK (HASHSIZE - 1)
/dragonfly/usr.bin/tsort/
H A Dtsort.c68 #define HASHSIZE 53 /* doesn't need to be big */ macro
/dragonfly/lib/libc/db/mpool/
H A Dmpool.c83 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()