Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:17:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:part_in_flight_rw
Proto:void part_in_flight_rw(struct request_queue *q, struct hd_struct *part, unsigned int inflight[2])
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| struct hd_struct * | part | |
| unsigned int | inflight |
| 94 | If queue_is_mq(q) Then |
| 95 | blk_mq_in_flight_rw(q, part, inflight) |
| 96 | Return |
| 99 | inflight[0] = 0 |
| 100 | inflight[1] = 0 |
| 101 | for_each_possible_cpu(cpu) |
| 102 | inflight[0] += part_stat_local_read_cpu(part, in_flight[0], cpu) |
| 103 | inflight[1] += part_stat_local_read_cpu(part, in_flight[1], cpu) |
| Name | Describe |
|---|---|
| part_inflight_show |
| 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 |