函数逻辑报告 |
Source Code:lib\test_rhashtable.c |
Create Date:2022-07-27 07:29:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_ht
函数原型:static unsigned int __init print_ht(struct rhltable *rhlt)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rhltable * | rhlt |
| 489 | buff[512]等于"" |
| 490 | cnt等于0 |
| 494 | mutex_lock( & mutex) |
| 495 | tbl等于rht_dereference(tbl, ht) |
| 500 | pos等于rht_ptr_exclusive(buckets + i) |
| 501 | next = !rht_is_a_nulls(pos) ? rht_dereference(next, ht) : NULL |
| 503 | 如果非rht_is_a_nulls(pos)则 |
| 504 | 输出格式化串 |
| 507 | 当非rht_is_a_nulls(pos)循环 |
| 509 | 输出格式化串 |
| 510 | 循环 |
| 520 | pos = next, next = !rht_is_a_nulls(pos) ? rht_dereference(next, ht) : NULL |
| 524 | 输出格式化串 |
| 527 | printk(r conditions "\n---- ht: ----%s\n-------------\n", buff) |
| 528 | mutex_unlock( & mutex) |
| 530 | 返回:cnt |
| 名称 | 描述 |
|---|---|
| test_insert_dup |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |