函数逻辑报告 | 
Source Code:block\bfq-wf2q.c | 
Create Date:2022-07-27 19:35:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Update weight and priority of entity
函数原型:struct bfq_service_tree *__bfq_entity_update_weight_prio(struct bfq_service_tree *old_st, struct bfq_entity *entity, bool update_class_too)
返回类型:struct bfq_service_tree
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct bfq_service_tree * | old_st | |
| struct bfq_entity * | entity | |
| bool | update_class_too | 
| 736 | bfqq等于bfq_entity_to_bfqq(entity) | 
| 745 | 如果bfqq则bfqd等于parent bfq_data | 
| 756 | smp_rmb() | 
| 762 | 打印错误信息("update_weight_prio: new_weight %d\n", next weight if a change is in progress ) | 
| 775 | 如果bfqq且update_class_too则current ioprio and ioprio class 等于xt ioprio and ioprio class if a change is in progress | 
| 782 | 如果非bfqq或current ioprio and ioprio class 恒等于xt ioprio and ioprio class if a change is in progress 则 flag, set to request a weight, ioprio or ioprio_class change 等于0 | 
| 795 | new_weight等于 original weight, used to implement weight boosting 乘如果bfqq则actor by which the weight of this queue is multiplied 否则1 | 
| 802 | 如果prev_weight不等于new_weight且bfqq则 | 
| 822 | 返回:new_st | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |