Function report | 
Source Code:block\bio.c | 
Create Date:2022-07-28 16:56:25 | 
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:generic_end_io_acct
Proto:void generic_end_io_acct(struct request_queue *q, int req_op, struct hd_struct *part, unsigned long start_time)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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() | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |