Searched refs:HASHSZ (Results 1 – 3 of 3) sorted by relevance
115 #define HASHSZ 256 macro116 static struct item *config_hashtab[HASHSZ], *file_hashtab[HASHSZ];143 aux->next = hashtab[hash % HASHSZ]; in add_to_hashtable()144 hashtab[hash % HASHSZ] = aux; in add_to_hashtable()156 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in in_hashtable()
149 #define HASHSZ 256 macro150 static struct item *hashtab[HASHSZ];169 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in is_defined_config()191 aux->next = hashtab[hash % HASHSZ]; in define_config()192 hashtab[hash % HASHSZ] = aux; in define_config()
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, };