Function report | 
Source Code:block\genhd.c | 
Create Date:2022-07-28 17:17:23 | 
| 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
Proto:unsigned int part_in_flight(struct request_queue *q, struct hd_struct *part)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | |
| struct hd_struct * | part | 
| 74 | If queue_is_mq(q) Then | 
| 75 | Return 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 | Return inflight | 
| Name | Describe | 
|---|---|
| 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 | 
| 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  |