Function report | 
Source Code:block\bfq-wf2q.c | 
Create Date:2022-07-28 17:59:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Update weight and priority of entity
Proto:struct bfq_service_tree *__bfq_entity_update_weight_prio(struct bfq_service_tree *old_st, struct bfq_entity *entity, bool update_class_too)
Type:struct bfq_service_tree
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bfq_service_tree * | old_st | |
| struct bfq_entity * | entity | |
| bool | update_class_too | 
| 736 | bfqq = bfq_entity_to_bfqq(entity) | 
| 745 | If bfqq Then bfqd = parent bfq_data | 
| 756 | smp_rmb() | 
| 762 | pr_crit("update_weight_prio: new_weight %d\n", next weight if a change is in progress ) | 
| 775 | If bfqq && update_class_too Then current ioprio and ioprio class = xt ioprio and ioprio class if a change is in progress | 
| 782 | If Not bfqq || current ioprio and ioprio class == xt ioprio and ioprio class if a change is in progress Then flag, set to request a weight, ioprio or ioprio_class change = 0 | 
| 792 | new_st = bfq_entity_service_tree(entity) | 
| 795 | new_weight = original weight, used to implement weight boosting * If bfqq Then actor by which the weight of this queue is multiplied Else 1 | 
| 802 | If prev_weight != new_weight && bfqq Then | 
| 811 | If prev_weight != new_weight && bfqq && actor by which the weight of this queue is multiplied == 1 Then | 
| 822 | Return new_st | 
| Name | Describe | 
|---|---|
| bfq_update_fin_time_enqueue | |
| bfq_update_wr_data | 
| 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  |