| Function report | 
| Source Code: block\bfq-wf2q.c | Create Date:2022-07-28 17:59:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:q_update_next_in_service - update sd->next_in_service*@sd: sched_data for which to perform the update
Proto:static bool bfq_update_next_in_service(struct bfq_sched_data *sd, struct bfq_entity *new_entity, bool expiration)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bfq_sched_data * | sd | |
| struct bfq_entity * | new_entity | |
| bool | expiration | 
| 79 | bool parent_sched_may_change = false | 
| 80 | bool change_without_lookup = false | 
| 93 | If new_entity && new_entity != head-of-line entity (see comments above) Then | 
| 100 | change_without_lookup = true | 
| 107 | If next_in_service Then | 
| 123 | If change_without_lookup Then next_in_service = new_entity | 
| 127 | If Not change_without_lookup Then next_in_service = bfq_lookup_next_entity(sd, expiration) | 
| 130 | If next_in_service Then | 
| 140 | If Not next_in_service Then Return parent_sched_may_change | 
| 143 | Return parent_sched_may_change | 
| Name | Describe | 
|---|---|
| bfq_activate_requeue_entity | q_activate_requeue_entity - activate or requeue an entity representing a* bfq_queue, and activate, requeue or reposition* all ancestors for which such an update becomes* necessary | 
| bfq_deactivate_entity | q_deactivate_entity - deactivate an entity representing a bfq_queue | 
| bfq_get_next_queue | Get next queue for service. | 
| 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 |