Lines Matching refs:bkt

225 				 struct rhash_lock_head __rcu **bkt,  in rhashtable_rehash_one()  argument
241 rht_for_each_from(entry, rht_ptr(bkt, old_tbl, old_hash), in rhashtable_rehash_one()
270 rht_assign_locked(bkt, next); in rhashtable_rehash_one()
280 struct rhash_lock_head __rcu **bkt = rht_bucket_var(old_tbl, old_hash); in rhashtable_rehash_chain() local
284 if (!bkt) in rhashtable_rehash_chain()
286 flags = rht_lock(old_tbl, bkt); in rhashtable_rehash_chain()
288 while (!(err = rhashtable_rehash_one(ht, bkt, old_hash))) in rhashtable_rehash_chain()
293 rht_unlock(old_tbl, bkt, flags); in rhashtable_rehash_chain()
491 struct rhash_lock_head __rcu **bkt, in rhashtable_lookup_one() argument
504 rht_for_each_from(head, rht_ptr(bkt, tbl, hash), tbl, hash) { in rhashtable_lookup_one()
530 rht_assign_locked(bkt, obj); in rhashtable_lookup_one()
542 struct rhashtable *ht, struct rhash_lock_head __rcu **bkt, in rhashtable_insert_one() argument
568 head = rht_ptr(bkt, tbl, hash); in rhashtable_insert_one()
581 rht_assign_locked(bkt, obj); in rhashtable_insert_one()
595 struct rhash_lock_head __rcu **bkt; in rhashtable_try_insert() local
607 bkt = rht_bucket_var(tbl, hash); in rhashtable_try_insert()
609 bkt = rht_bucket_insert(ht, tbl, hash); in rhashtable_try_insert()
610 if (bkt == NULL) { in rhashtable_try_insert()
614 flags = rht_lock(tbl, bkt); in rhashtable_try_insert()
615 data = rhashtable_lookup_one(ht, bkt, tbl, in rhashtable_try_insert()
617 new_tbl = rhashtable_insert_one(ht, bkt, tbl, in rhashtable_try_insert()
622 rht_unlock(tbl, bkt, flags); in rhashtable_try_insert()