Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:56:23 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:generic_start_io_acct
Proto:void generic_start_io_acct(struct request_queue *q, int op, unsigned long sectors, struct hd_struct *part)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
int | op | |
unsigned long | sectors | |
struct hd_struct * | part |
1774 | sgrp = op_stat_group(op) |
1778 | update_io_ticks(part, jiffies) |
1779 | part_stat_inc(part, ios[sgrp]) |
1780 | part_stat_add(part, sectors[sgrp], sectors) |
1781 | part_inc_in_flight(q, part, op_is_write(op)) |
1783 | 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 |