Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
hash.h File Reference
#include <linux/list.h>

Go to the source code of this file.

Data Structures

struct  batadv_hashtable
 

Typedefs

typedef int(* batadv_hashdata_compare_cb )(const struct hlist_node *, const void *)
 
typedef uint32_t(* batadv_hashdata_choose_cb )(const void *, uint32_t)
 
typedef void(* batadv_hashdata_free_cb )(struct hlist_node *, void *)
 

Functions

struct batadv_hashtablebatadv_hash_new (uint32_t size)
 
void batadv_hash_set_lock_class (struct batadv_hashtable *hash, struct lock_class_key *key)
 
void batadv_hash_destroy (struct batadv_hashtable *hash)
 

Typedef Documentation

typedef uint32_t(* batadv_hashdata_choose_cb)(const void *, uint32_t)

Definition at line 35 of file hash.h.

typedef int(* batadv_hashdata_compare_cb)(const struct hlist_node *, const void *)

Definition at line 28 of file hash.h.

typedef void(* batadv_hashdata_free_cb)(struct hlist_node *, void *)

Definition at line 36 of file hash.h.

Function Documentation

void batadv_hash_destroy ( struct batadv_hashtable hash)

Definition at line 35 of file hash.c.

struct batadv_hashtable* batadv_hash_new ( uint32_t  size)
read

Definition at line 43 of file hash.c.

void batadv_hash_set_lock_class ( struct batadv_hashtable hash,
struct lock_class_key key 
)

Definition at line 71 of file hash.c.