Searched refs:HASHSZ (Results 1 – 2 of 2) sorted by relevance
94 #define HASHSZ 16 macro103 return num & (HASHSZ-1); in hashnum()108 static struct vendor *vendors[HASHSZ] = { NULL, };109 static struct product *products[HASHSZ] = { NULL, };110 static struct class *classes[HASHSZ] = { NULL, };111 static struct subclass *subclasses[HASHSZ] = { NULL, };112 static struct protocol *protocols[HASHSZ] = { NULL, };113 static struct audioterminal *audioterminals[HASHSZ] = { NULL, };114 static struct genericstrtable *hiddescriptors[HASHSZ] = { NULL, };115 static struct genericstrtable *reports[HASHSZ] = { NULL, };[all …]
148 #define HASHSZ 256 macro149 static struct item *hashtab[HASHSZ];168 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in is_defined_config()190 aux->next = hashtab[hash % HASHSZ]; in define_config()191 hashtab[hash % HASHSZ] = aux; in define_config()202 for (i = 0; i < HASHSZ; i++) { in clear_config()