Lines Matching refs:bucket_table

38 		       const struct bucket_table *tbl,  in head_hashfn()
53 int lockdep_rht_bucket_is_held(const struct bucket_table *tbl, u32 hash) in lockdep_rht_bucket_is_held()
85 static void nested_bucket_table_free(const struct bucket_table *tbl) in nested_bucket_table_free()
100 static void bucket_table_free(const struct bucket_table *tbl) in bucket_table_free()
110 bucket_table_free(container_of(head, struct bucket_table, rcu)); in bucket_table_free_rcu()
138 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc()
143 struct bucket_table *tbl; in nested_bucket_table_alloc()
166 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc()
170 struct bucket_table *tbl = NULL; in bucket_table_alloc()
202 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table()
203 struct bucket_table *tbl) in rhashtable_last_table()
205 struct bucket_table *new_tbl; in rhashtable_last_table()
219 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_rehash_one()
220 struct bucket_table *new_tbl = rhashtable_last_table(ht, old_tbl); in rhashtable_rehash_one()
268 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_rehash_chain()
287 struct bucket_table *old_tbl, in rhashtable_rehash_attach()
288 struct bucket_table *new_tbl) in rhashtable_rehash_attach()
296 if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL, in rhashtable_rehash_attach()
305 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_rehash_table()
306 struct bucket_table *new_tbl; in rhashtable_rehash_table()
343 struct bucket_table *old_tbl, in rhashtable_rehash_alloc()
346 struct bucket_table *new_tbl; in rhashtable_rehash_alloc()
380 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_shrink()
401 struct bucket_table *tbl; in rht_deferred_worker()
431 struct bucket_table *tbl) in rhashtable_insert_rehash()
433 struct bucket_table *old_tbl; in rhashtable_insert_rehash()
434 struct bucket_table *new_tbl; in rhashtable_insert_rehash()
480 struct bucket_table *tbl, unsigned int hash, in rhashtable_lookup_one()
529 static struct bucket_table *rhashtable_insert_one(struct rhashtable *ht, in rhashtable_insert_one()
531 struct bucket_table *tbl, in rhashtable_insert_one()
536 struct bucket_table *new_tbl; in rhashtable_insert_one()
583 struct bucket_table *new_tbl; in rhashtable_try_insert()
584 struct bucket_table *tbl; in rhashtable_try_insert()
782 struct bucket_table *tbl = iter->walker.tbl; in __rhashtable_walk_find_next()
927 struct bucket_table *tbl = iter->walker.tbl; in rhashtable_walk_stop()
1011 struct bucket_table *tbl; in rhashtable_init()
1127 struct bucket_table *tbl, *next_tbl; in rhashtable_free_and_destroy()
1167 struct rhash_lock_head **__rht_bucket_nested(const struct bucket_table *tbl, in __rht_bucket_nested()
1196 struct rhash_lock_head **rht_bucket_nested(const struct bucket_table *tbl, in rht_bucket_nested()
1208 struct bucket_table *tbl, in rht_bucket_nested_insert()