Lines Matching refs:old_tbl
232 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
233 struct bucket_table *new_tbl = rhashtable_last_table(ht, old_tbl);
245 rht_for_each_from(entry, rht_ptr(bkt, old_tbl, old_hash),
246 old_tbl, old_hash) {
248 next = rht_dereference_bucket(entry->next, old_tbl, old_hash);
283 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
284 struct rhash_lock_head __rcu **bkt = rht_bucket_var(old_tbl, old_hash);
290 flags = rht_lock(old_tbl, bkt);
297 rht_unlock(old_tbl, bkt, flags);
303 struct bucket_table *old_tbl,
312 if (cmpxchg((struct bucket_table **)&old_tbl->future_tbl, NULL,
321 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
327 new_tbl = rht_dereference(old_tbl->future_tbl, ht);
331 for (old_hash = 0; old_hash < old_tbl->size; old_hash++) {
342 list_for_each_entry(walker, &old_tbl->walkers, list)
352 call_rcu(&old_tbl->rcu, bucket_table_free_rcu);
359 struct bucket_table *old_tbl,
371 err = rhashtable_rehash_attach(ht, old_tbl, new_tbl);
396 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht);
405 if (old_tbl->size <= size)
408 if (rht_dereference(old_tbl->future_tbl, ht))
411 return rhashtable_rehash_alloc(ht, old_tbl, size);
449 struct bucket_table *old_tbl;
454 old_tbl = rht_dereference_rcu(ht->tbl, ht);
463 else if (old_tbl != tbl)