Home
last modified time | relevance | path

Searched refs:max_bucket (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/staging/tidspbridge/gen/
Dgh.c28 u16 max_bucket; member
42 struct gh_t_hash_tab *gh_create(u16 max_bucket, u16 val_size, in gh_create() argument
52 hash_tab->max_bucket = max_bucket; in gh_create()
59 kzalloc(sizeof(struct element *) * max_bucket, GFP_KERNEL); in gh_create()
65 for (i = 0; i < max_bucket; i++) in gh_create()
81 for (i = 0; i < hash_tab->max_bucket; i++) { in gh_delete()
105 elem = hash_tab->buckets[(*hash_tab->hash) (key, hash_tab->max_bucket)]; in gh_find()
134 i = (*hash_tab->hash) (key, hash_tab->max_bucket); in gh_insert()
169 for (i = 0; i < hash_tab->max_bucket; i++) { in gh_iterate()
/linux-3.4.99/drivers/staging/tidspbridge/include/dspbridge/
Dgh.h21 extern struct gh_t_hash_tab *gh_create(u16 max_bucket, u16 val_size,
/linux-3.4.99/drivers/staging/tidspbridge/pmgr/
Ddbll.c186 static u16 name_hash(void *key, u16 max_bucket);
796 static u16 name_hash(void *key, u16 max_bucket) in name_hash() argument
809 ret = hash % max_bucket; in name_hash()