Home
last modified time | relevance | path

Searched refs:hash_tab (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/staging/tidspbridge/gen/
Dgh.c47 struct gh_t_hash_tab *hash_tab; in gh_create() local
49 hash_tab = kzalloc(sizeof(struct gh_t_hash_tab), GFP_KERNEL); in gh_create()
50 if (hash_tab == NULL) in gh_create()
52 hash_tab->max_bucket = max_bucket; in gh_create()
53 hash_tab->val_size = val_size; in gh_create()
54 hash_tab->hash = hash; in gh_create()
55 hash_tab->match = match; in gh_create()
56 hash_tab->delete = delete == NULL ? noop : delete; in gh_create()
58 hash_tab->buckets = (struct element **) in gh_create()
60 if (hash_tab->buckets == NULL) { in gh_create()
[all …]
/linux-2.6.39/drivers/staging/tidspbridge/include/dspbridge/
Dgh.h25 extern void gh_delete(struct gh_t_hash_tab *hash_tab);
27 extern void *gh_find(struct gh_t_hash_tab *hash_tab, void *key);
29 extern void *gh_insert(struct gh_t_hash_tab *hash_tab, void *key, void *value);
31 void gh_iterate(struct gh_t_hash_tab *hash_tab,