Home
last modified time | relevance | path

Searched refs:HASHSZ (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/scripts/basic/
H A Dfixdep.c115 #define HASHSZ 256 macro
116 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()
/openbmc/u-boot/scripts/basic/
H A Dfixdep.c149 #define HASHSZ 256 macro
150 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()
/openbmc/linux/tools/usb/usbip/libsrc/
H A Dnames.c64 #define HASHSZ 16 macro
73 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, };