Function report |
Source Code:include\linux\rhashtable.h |
Create Date:2022-07-28 06:07:17 |
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, please use rhashtable_remove_fast() instead
Proto:static inline int __rhashtable_remove_fast_one(struct rhashtable *ht, struct bucket_table *tbl, struct rhash_head *obj, const struct rhashtable_params params, bool rhlist)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rhashtable * | ht | |
struct bucket_table * | tbl | |
struct rhash_head * | obj | |
const struct rhashtable_params | params | |
bool | rhlist |
1005 | bkt = rht_bucket_var(tbl, hash) |
1008 | pprev = NULL |
1021 | If Not rhlist Then Continue |
1024 | Do |
1030 | If Not list Then Continue |
1033 | list = rht_dereference_bucket(next, tbl, hash) |
1035 | err = 0 |
1036 | Break |
1039 | obj = rht_dereference_bucket(next, tbl, hash) |
1040 | err = 1 |
1042 | If rhlist Then |
1051 | If pprev Then |
1053 | rht_unlock(tbl, bkt) |
1054 | Else |
1055 | rht_assign_unlock(tbl, bkt, obj) |
1057 | Go to unlocked |
1060 | rht_unlock(tbl, bkt) |
1061 | unlocked : |
1062 | If err > 0 Then |
1063 | atomic_dec( & nelems) |
1067 | err = 0 |
1070 | Return err |
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 |