Lines Matching refs:max_bucket
31 u16 max_bucket;
47 struct gh_t_hash_tab *gh_create(u16 max_bucket, u16 val_size,
58 hash_tab->max_bucket = max_bucket;
65 gs_alloc(sizeof(struct element *) * max_bucket);
71 for (i = 0; i < max_bucket; i++)
87 for (i = 0; i < hash_tab->max_bucket; i++) {
99 * hash_tab->max_bucket);
125 elem = hash_tab->buckets[(*hash_tab->hash) (key, hash_tab->max_bucket)];
164 i = (*hash_tab->hash) (key, hash_tab->max_bucket);
207 for (i = 0; i < hash_tab->max_bucket; i++) {