Home
last modified time | relevance | path

Searched refs:old_tbl (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/lib/
H A Drhashtable.c228 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_rehash_one() local
229 struct bucket_table *new_tbl = rhashtable_last_table(ht, old_tbl); in rhashtable_rehash_one()
240 rht_for_each_from(entry, rht_ptr(bkt, old_tbl, old_hash), in rhashtable_rehash_one()
241 old_tbl, old_hash) { in rhashtable_rehash_one()
243 next = rht_dereference_bucket(entry->next, old_tbl, old_hash); in rhashtable_rehash_one()
277 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_rehash_chain() local
278 struct rhash_lock_head __rcu **bkt = rht_bucket_var(old_tbl, old_hash); in rhashtable_rehash_chain()
283 rht_lock(old_tbl, bkt); in rhashtable_rehash_chain()
290 rht_unlock(old_tbl, bkt); in rhashtable_rehash_chain()
296 struct bucket_table *old_tbl, in rhashtable_rehash_attach()
295 rhashtable_rehash_attach(struct rhashtable *ht, struct bucket_table *old_tbl, struct bucket_table *new_tbl) rhashtable_rehash_attach() argument
314 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); rhashtable_rehash_table() local
351 rhashtable_rehash_alloc(struct rhashtable *ht, struct bucket_table *old_tbl, unsigned int size) rhashtable_rehash_alloc() argument
389 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); rhashtable_shrink() local
442 struct bucket_table *old_tbl; rhashtable_insert_rehash() local
[all...]
/kernel/linux/linux-6.6/lib/
H A Drhashtable.c228 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_rehash_one() local
229 struct bucket_table *new_tbl = rhashtable_last_table(ht, old_tbl); in rhashtable_rehash_one()
241 rht_for_each_from(entry, rht_ptr(bkt, old_tbl, old_hash), in rhashtable_rehash_one()
242 old_tbl, old_hash) { in rhashtable_rehash_one()
244 next = rht_dereference_bucket(entry->next, old_tbl, old_hash); in rhashtable_rehash_one()
279 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); in rhashtable_rehash_chain() local
280 struct rhash_lock_head __rcu **bkt = rht_bucket_var(old_tbl, old_hash); in rhashtable_rehash_chain()
286 flags = rht_lock(old_tbl, bkt); in rhashtable_rehash_chain()
293 rht_unlock(old_tbl, bkt, flags); in rhashtable_rehash_chain()
299 struct bucket_table *old_tbl, in rhashtable_rehash_attach()
298 rhashtable_rehash_attach(struct rhashtable *ht, struct bucket_table *old_tbl, struct bucket_table *new_tbl) rhashtable_rehash_attach() argument
317 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); rhashtable_rehash_table() local
354 rhashtable_rehash_alloc(struct rhashtable *ht, struct bucket_table *old_tbl, unsigned int size) rhashtable_rehash_alloc() argument
392 struct bucket_table *old_tbl = rht_dereference(ht->tbl, ht); rhashtable_shrink() local
445 struct bucket_table *old_tbl; rhashtable_insert_rehash() local
[all...]

Completed in 3 milliseconds