函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-27 18:52:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:part_in_flight_rw

函数原型:void part_in_flight_rw(struct request_queue *q, struct hd_struct *part, unsigned int inflight[2])

返回类型:void

参数:

类型参数名称
struct request_queue *q
struct hd_struct *part
unsigned intinflight
94  如果queue_is_mq(q)则
95  blk_mq_in_flight_rw(q, part, inflight)
96  返回
99  inflight[0]等于0
100  inflight[1]等于0
101  遍历可用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)
105  如果inflight[0]小于0则inflight[0]等于0
107  如果inflight[1]小于0则inflight[1]等于0
调用者
名称描述
part_inflight_show