Function report |
Source Code:include\linux\rhashtable.h |
Create Date:2022-07-28 06:07:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Internal function, do not use.
Proto:static inline struct rhash_head *__rhashtable_lookup(struct rhashtable *ht, const void *key, const struct rhashtable_params params)
Type:struct rhash_head
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rhashtable * | ht | |
| const void * | key | |
| const struct rhashtable_params | params |
| 601 | tbl = rht_dereference_rcu(tbl, ht) |
| 602 | restart : |
| 604 | bkt = rht_bucket(tbl, hash) |
| 605 | Do |
| 607 | If If obj_cmpfn Then obj_cmpfn( & arg, rht_obj(ht, he)) Else rhashtable_compare( & arg, rht_obj(ht, he)) Then Continue |
| 611 | Return he |
| 616 | When he != NULLS_MARKER() expects a hash value with the low* bits mostly likely to be significant, and it discards* the msb(bkt) cycle |
| 619 | smp_rmb() |
| 621 | tbl = rht_dereference_rcu(future_tbl, ht) |
| 622 | If Value for the false possibility is greater at compile time(tbl) Then Go to restart |
| 625 | Return NULL |
| 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 |