函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:52:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:part_in_flight
函数原型:unsigned int part_in_flight(struct request_queue *q, struct hd_struct *part)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct request_queue * | q | |
| struct hd_struct * | part |
| 74 | 如果queue_is_mq(q)则 |
| 75 | 返回:blk_mq_in_flight(q, part) |
| 78 | inflight等于0 |
| 80 | inflight加等于part_stat_local_read_cpu(part, in_flight[0], cpu)加part_stat_local_read_cpu(part, in_flight[1], cpu) |
| 86 | 返回:inflight |
| 名称 | 描述 |
|---|---|
| diskstats_show | aggregate disk stat collector. Uses the same stats that the sysfs* entries do, above, but makes them available through one seq_file.* The output looks suspiciously like /proc/partitions with a bunch of* extra fields. |
| part_stat_show |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |