函数逻辑报告 |
Source Code:block\bio.c |
Create Date:2022-07-27 18:31:38 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:generic_end_io_acct
函数原型:void generic_end_io_acct(struct request_queue *q, int req_op, struct hd_struct *part, unsigned long start_time)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
int | req_op | |
struct hd_struct * | part | |
unsigned long | start_time |
1791 | duration等于now减start_time |
1792 | sgrp等于op_stat_group(req_op) |
1796 | update_io_ticks(part, now) |
1797 | part_stat_add(part, nsecs[sgrp], jiffies_to_nsecs(duration)) |
1798 | part_stat_add(part, time_in_queue, duration) |
1799 | part_dec_in_flight(q, part, op_is_write(req_op)) |
1801 | part_stat_unlock() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |