Searched refs:HASHSIZE (Results 1 – 17 of 17) sorted by relevance
47 #define HASHSIZE 128 macro48 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)66 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
35 #define HASHSIZE 256 macro37 #define HASHMASK (HASHSIZE - 1)43 static struct wlist *hashtab[HASHSIZE];
87 #define HASHSIZE 1009 macro88 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()
135 #define HASHSIZE 16 macro142 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()
44 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()
17 #define HASHSIZE 151 macro46 Node *hasharray[HASHSIZE];
142 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro154 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()
140 #define HASHSIZE 16 /* Dont change this without changing HASH() */ macro152 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()
41 EXTERN struct symbol *global_sym_chain[HASHSIZE];
45 #define HASHSIZE 127 /* Size of things hashed via macro
4631 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()
1459 return (hash(name,strlen(name)) % HASHSIZE); in hashname()
133 static struct symbol *opaque_type_chain[HASHSIZE];
61 #define HASHSIZE 1000 macro62 #define INOHASH(val) (val % HASHSIZE)69 static struct inotab *inotab[HASHSIZE];
52 #define HASHSIZE 256 /* power of 2 only */ macro53 #define HASHMASK (HASHSIZE - 1)
68 #define HASHSIZE 53 /* doesn't need to be big */ macro
83 for (entry = 0; entry < HASHSIZE; ++entry) in mpool_open()