Function report |
Source Code:lib\rhashtable.c |
Create Date:2022-07-28 06:25:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rhashtable_lookup_one
Proto:static void *rhashtable_lookup_one(struct rhashtable *ht, struct rhash_lock_head **bkt, struct bucket_table *tbl, unsigned int hash, const void *key, struct rhash_head *obj)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rhashtable * | ht | |
| struct rhash_lock_head ** | bkt | |
| struct bucket_table * | tbl | |
| unsigned int | hash | |
| const void * | key | |
| struct rhash_head * | obj |
| 487 | struct rhash_head __rcu * * pprev = NULL |
| 491 | elasticity = Maximum chain length before rehash* The maximum (not average) chain length grows with the size of the hash* table, at a rate of (log N)/(log log N) |
| 496 | elasticity-- |
| 512 | head = rht_dereference_bucket(next, tbl, hash) |
| 516 | Else rht_assign_locked(bkt, obj) |
| 520 | Return NULL |
| 523 | If elasticity <= 0 Then Return ERR_PTR( - EAGAIN) |
| Name | Describe |
|---|---|
| rhashtable_try_insert |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |