if (bat_priv->claim_hash)
                return 0;
 
-       bat_priv->claim_hash = hash_new(128);
-       bat_priv->backbone_hash = hash_new(32);
+       bat_priv->claim_hash = batadv_hash_new(128);
+       bat_priv->backbone_hash = batadv_hash_new(32);
 
        if (!bat_priv->claim_hash || !bat_priv->backbone_hash)
                return -ENOMEM;
 
        if (bat_priv->claim_hash) {
                bla_purge_claims(bat_priv, primary_if, 1);
-               hash_destroy(bat_priv->claim_hash);
+               batadv_hash_destroy(bat_priv->claim_hash);
                bat_priv->claim_hash = NULL;
        }
        if (bat_priv->backbone_hash) {
                bla_purge_backbone_gw(bat_priv, 1);
-               hash_destroy(bat_priv->backbone_hash);
+               batadv_hash_destroy(bat_priv->backbone_hash);
                bat_priv->backbone_hash = NULL;
        }
        if (primary_if)
 
 }
 
 /* free only the hashtable and the hash itself. */
-void hash_destroy(struct hashtable_t *hash)
+void batadv_hash_destroy(struct hashtable_t *hash)
 {
        kfree(hash->list_locks);
        kfree(hash->table);
 }
 
 /* allocates and clears the hash */
-struct hashtable_t *hash_new(uint32_t size)
+struct hashtable_t *batadv_hash_new(uint32_t size)
 {
        struct hashtable_t *hash;
 
 
 };
 
 /* allocates and clears the hash */
-struct hashtable_t *hash_new(uint32_t size);
+struct hashtable_t *batadv_hash_new(uint32_t size);
 
 /* set class key for all locks */
 void batadv_hash_set_lock_class(struct hashtable_t *hash,
                                struct lock_class_key *key);
 
 /* free only the hashtable and the hash itself. */
-void hash_destroy(struct hashtable_t *hash);
+void batadv_hash_destroy(struct hashtable_t *hash);
 
 /* remove the hash structure. if hashdata_free_cb != NULL, this function will be
  * called to remove the elements inside of the hash.  if you don't remove the
                spin_unlock_bh(list_lock);
        }
 
-       hash_destroy(hash);
+       batadv_hash_destroy(hash);
 }
 
 /**
 
        if (bat_priv->orig_hash)
                return 0;
 
-       bat_priv->orig_hash = hash_new(1024);
+       bat_priv->orig_hash = batadv_hash_new(1024);
 
        if (!bat_priv->orig_hash)
                goto err;
                spin_unlock_bh(list_lock);
        }
 
-       hash_destroy(hash);
+       batadv_hash_destroy(hash);
 }
 
 /* this function finds or creates an originator entry for the given
 
        if (bat_priv->tt_local_hash)
                return 0;
 
-       bat_priv->tt_local_hash = hash_new(1024);
+       bat_priv->tt_local_hash = batadv_hash_new(1024);
 
        if (!bat_priv->tt_local_hash)
                return -ENOMEM;
                spin_unlock_bh(list_lock);
        }
 
-       hash_destroy(hash);
+       batadv_hash_destroy(hash);
 
        bat_priv->tt_local_hash = NULL;
 }
        if (bat_priv->tt_global_hash)
                return 0;
 
-       bat_priv->tt_global_hash = hash_new(1024);
+       bat_priv->tt_global_hash = batadv_hash_new(1024);
 
        if (!bat_priv->tt_global_hash)
                return -ENOMEM;
                spin_unlock_bh(list_lock);
        }
 
-       hash_destroy(hash);
+       batadv_hash_destroy(hash);
 
        bat_priv->tt_global_hash = NULL;
 }
 
 
        spin_lock_bh(&bat_priv->vis_hash_lock);
 
-       bat_priv->vis_hash = hash_new(256);
+       bat_priv->vis_hash = batadv_hash_new(256);
        if (!bat_priv->vis_hash) {
                pr_err("Can't initialize vis_hash\n");
                goto err;