Searched refs:HASHSZ (Results 1 – 2 of 2) sorted by relevance
117 #define HASHSZ 256 macro118 static struct item *config_hashtab[HASHSZ], *file_hashtab[HASHSZ];142 aux->next = hashtab[hash % HASHSZ]; in add_to_hashtable()143 hashtab[hash % HASHSZ] = aux; in add_to_hashtable()155 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in in_hashtable()
64 #define HASHSZ 16 macro73 return num & (HASHSZ-1); in hashnum()77 static struct vendor *vendors[HASHSZ] = { NULL, };78 static struct product *products[HASHSZ] = { NULL, };79 static struct class *classes[HASHSZ] = { NULL, };80 static struct subclass *subclasses[HASHSZ] = { NULL, };81 static struct protocol *protocols[HASHSZ] = { NULL, };