Lines Matching defs:hash
37 #include "hash.h"
46 /* hash class keys */
59 struct batadv_hashtable *hash = bat_priv->orig_hash;
64 if (!hash)
67 index = batadv_choose_orig(data, hash->size);
68 head = &hash->table[index];
89 * batadv_compare_orig() - comparing function used in the originator hash table
863 struct batadv_hashtable *hash = bat_priv->orig_hash;
870 if (!hash)
877 for (i = 0; i < hash->size; i++) {
878 head = &hash->table[i];
879 list_lock = &hash->list_locks[i];
890 batadv_hash_destroy(hash);
1228 struct batadv_hashtable *hash = bat_priv->orig_hash;
1235 if (!hash)
1239 for (i = 0; i < hash->size; i++) {
1240 head = &hash->table[i];
1241 list_lock = &hash->list_locks[i];