函数逻辑报告 |
Source Code:include\linux\rhashtable.h |
Create Date:2022-07-27 07:05:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Internal function, please use rhashtable_replace_fast() instead
函数原型: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)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 如果pprev则 |
| 1179 | rht_unlock(tbl, bkt) |
| 1180 | 否则 |
| 1181 | rht_assign_unlock(tbl, bkt, obj_new) |
| 1183 | err等于0 |
| 1184 | 转到:unlocked |
| 1187 | rht_unlock(tbl, bkt) |
| 1189 | unlocked : |
| 1190 | 返回:err |
| 名称 | 描述 |
|---|---|
| rhashtable_replace_fast | hashtable_replace_fast - replace an object in hash table*@ht: hash table*@obj_old: pointer to hash head inside object being replaced*@obj_new: pointer to hash head inside object which is new*@params: hash table parameters* Replacing an object doesn't |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |