函数逻辑报告 |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-27 19:32:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:For a queue that becomes empty, device idling is allowed only if* this function returns true for that queue
函数原型:static bool bfq_better_to_idle(struct bfq_queue *bfqq)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bfq_queue * | bfqq |
4182 | bfqd等于parent bfq_data |
4186 | 如果此条件成立可能性小(为编译器优化)(!bfqq_process_refs(bfqq))则返回:false |
4200 | 如果 maximum idling time 恒等于0或非bfq_bfqq_sync(bfqq)或bfq_class_idle(bfqq)则返回:false |
4207 | idling_needed_for_service_guar等于There is a case where idling does not have to be performed for* throughput concerns, but to preserve the throughput share of* the process associated with bfqq |
名称 | 描述 |
---|---|
bfq_bfqq_must_idle | If the in-service queue is empty but the function bfq_better_to_idle* returns true, then:* 1) the queue must remain in service and cannot be expired, and* 2) the device must be idled to wait for the possible arrival of a new* request for the queue |
bfq_select_queue | Select a queue for service. If we have a current queue in service,* check whether to continue servicing it, or retrieve and set a new one. |
bfq_completed_request |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |