函数逻辑报告 |
Source Code:lib\rhashtable.c |
Create Date:2022-07-27 07:22:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:rhashtable_rehash_one
函数原型:static int rhashtable_rehash_one(struct rhashtable *ht, struct rhash_lock_head **bkt, unsigned int old_hash)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rhashtable * | ht | |
| struct rhash_lock_head ** | bkt | |
| unsigned int | old_hash |
| 219 | old_tbl等于rht_dereference(tbl, ht) |
| 220 | new_tbl等于rhashtable_last_table(ht, old_tbl) |
| 223 | struct rhash_head __rcu * * pprev = NULL |
| 233 | err等于0 |
| 234 | next等于rht_dereference_bucket(next, old_tbl, old_hash) |
| 236 | 如果rht_is_a_nulls(next)则退出 |
| 245 | new_hash等于head_hashfn(ht, new_tbl, entry) |
| 253 | rht_assign_unlock(new_tbl, & buckets[new_hash], entry) |
| 257 | 否则rht_assign_locked(bkt, next) |
| 261 | out : |
| 262 | 返回:err |
| 名称 | 描述 |
|---|---|
| rhashtable_rehash_chain |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |