Lines Matching defs:old_tbl
240 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
241 struct bucket_table *new_tbl = rhashtable_last_table(ht, old_tbl);
253 rht_for_each_from(entry, rht_ptr(bkt, old_tbl, old_hash),
254 old_tbl, old_hash) {
256 next = rht_dereference_bucket(entry->next, old_tbl, old_hash);
291 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
292 struct rhash_lock_head __rcu **bkt = rht_bucket_var(old_tbl, old_hash);
298 flags = rht_lock(old_tbl, bkt);
305 rht_unlock(old_tbl, bkt, flags);
311 struct bucket_table *old_tbl,
320 if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL,
329 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
335 new_tbl = rht_dereference(old_tbl->future_tbl, ht);
339 for (old_hash = 0; old_hash < old_tbl->size; old_hash++) {
350 list_for_each_entry(walker, &old_tbl->walkers, list)
360 call_rcu(&old_tbl->rcu, bucket_table_free_rcu);
367 struct bucket_table *old_tbl,
380 err = rhashtable_rehash_attach(ht, old_tbl, new_tbl);
406 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
415 if (old_tbl->size <= size)
418 if (rht_dereference(old_tbl->future_tbl, ht))
421 return rhashtable_rehash_alloc(ht, old_tbl, size);
482 struct bucket_table *old_tbl;
487 old_tbl = rht_dereference_rcu(ht->tbl, ht);
496 else if (old_tbl != tbl)