函数逻辑报告 |
Source Code:lib\test_rhashtable.c |
Create Date:2022-07-27 07:29:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:test_rhashtable
函数原型:static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, unsigned int entries)
返回类型:s64
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rhashtable * | ht | |
struct test_obj * | array | |
unsigned int | entries |
213 | insert_retries等于0 |
221 | start等于ktime_get_ns() |
226 | err等于insert_retry(ht, obj, test_rht_params) |
227 | 如果err大于0则insert_retries加等于err |
233 | 如果insert_retries则打印信息(" %u insertions retried due to memory pressure\n", insert_retries) |
237 | test_bucket_stats(ht, entries) |
239 | test_rht_lookup(ht, array, entries) |
242 | test_bucket_stats(ht, entries) |
246 | struct test_obj_val key = {id = i * 2, } |
250 | 如果id不等于TEST_INSERT_FAIL则 |
257 | cond_resched() |
260 | end等于ktime_get_ns() |
名称 | 描述 |
---|---|
test_rht_init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |