Function report |
Source Code:block\bfq-wf2q.c |
Create Date:2022-07-28 17:59:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bfq_deactivate_entity - update sched_data and service trees for* entity, so as to represent entity as inactive*@entity: the entity being deactivated.*@ins_into_idle_tree: if false, the entity will not be put into the* idle tree.
Proto:bool __bfq_deactivate_entity(struct bfq_entity *entity, bool ins_into_idle_tree)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bfq_entity * | entity | |
| bool | ins_into_idle_tree |
| 1179 | If Not * Flag, true if the entity is on a tree (either the active or * the idle one of its service_tree) or is in service. Then Return false |
| 1188 | st = bfq_entity_service_tree(entity) |
| 1189 | is_in_service = entity == ity in service |
| 1193 | If is_in_service Then ity in service = NULL |
| 1195 | Else amount of service received during the last service slot = 0 |
| 1213 | Return true |
| Name | Describe |
|---|---|
| bfq_deactivate_entity | q_deactivate_entity - deactivate an entity representing a bfq_queue |
| 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 |