Function report |
Source Code:include\linux\rhashtable.h |
Create Date:2022-07-28 06:07:19 |
| 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_replace_fast() instead
Proto:static inline int __rhashtable_replace_fast(struct rhashtable *ht, struct bucket_table *tbl, struct rhash_head *obj_old, struct rhash_head *obj_new, const struct rhashtable_params params)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rhashtable * | ht | |
| struct bucket_table * | tbl | |
| struct rhash_head * | obj_old | |
| struct rhash_head * | obj_new | |
| const struct rhashtable_params | params |
| 1163 | bkt = rht_bucket_var(tbl, hash) |
| 1167 | pprev = NULL |
| 1177 | If pprev Then |
| 1179 | rht_unlock(tbl, bkt) |
| 1180 | Else |
| 1181 | rht_assign_unlock(tbl, bkt, obj_new) |
| 1183 | err = 0 |
| 1184 | Go to unlocked |
| 1187 | rht_unlock(tbl, bkt) |
| 1189 | unlocked : |
| 1190 | 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 |