函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-wf2q.c Create Date:2022-07-27 19:35:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:q_active_extract - remove an entity from the active tree.*@st: the service_tree containing the tree.*@entity: the entity being removed.

函数原型:static void bfq_active_extract(struct bfq_service_tree *st, struct bfq_entity *entity)

返回类型:void

参数:

类型参数名称
struct bfq_service_tree *st
struct bfq_entity *entity
582  bfqq等于bfq_entity_to_bfqq(entity)
590  node等于q_find_deepest - find the deepest node that an extraction can modify.*@node: the node being removed.* Do the first step of an extraction in an rb tree, looking for the* node that will replace @node, and returning the deepest node that
591  q_extract - remove an entity from a tree.*@root: the tree root.*@entity: the entity to remove.
593  如果nodeq_update_active_tree - update min_start for the whole active tree
601  如果bfqq删除链表项
调用者
名称描述
__bfq_requeue_entity__bfq_requeue_entity - handle requeueing or repositioning of an entity
__bfq_deactivate_entity__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.
bfq_get_next_queueGet next queue for service.