batman-adv: Prefix hash struct and typedef with batadv_
[deliverable/linux.git] / net / batman-adv / hash.c
index 1fb961c8d9a0ec9875ce7001bbfef876cf026af1..0759c707e974f640420f732f56422fc2ebb0fbe5 100644 (file)
@@ -21,7 +21,7 @@
 #include "hash.h"
 
 /* clears the hash */
-static void batadv_hash_init(struct hashtable_t *hash)
+static void batadv_hash_init(struct batadv_hashtable *hash)
 {
        uint32_t i;
 
@@ -32,7 +32,7 @@ static void batadv_hash_init(struct hashtable_t *hash)
 }
 
 /* free only the hashtable and the hash itself. */
-void batadv_hash_destroy(struct hashtable_t *hash)
+void batadv_hash_destroy(struct batadv_hashtable *hash)
 {
        kfree(hash->list_locks);
        kfree(hash->table);
@@ -40,9 +40,9 @@ void batadv_hash_destroy(struct hashtable_t *hash)
 }
 
 /* allocates and clears the hash */
-struct hashtable_t *batadv_hash_new(uint32_t size)
+struct batadv_hashtable *batadv_hash_new(uint32_t size)
 {
-       struct hashtable_t *hash;
+       struct batadv_hashtable *hash;
 
        hash = kmalloc(sizeof(*hash), GFP_ATOMIC);
        if (!hash)
@@ -68,7 +68,7 @@ free_hash:
        return NULL;
 }
 
-void batadv_hash_set_lock_class(struct hashtable_t *hash,
+void batadv_hash_set_lock_class(struct batadv_hashtable *hash,
                                struct lock_class_key *key)
 {
        uint32_t i;
This page took 0.024616 seconds and 5 git commands to generate.