函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_entity_to_bfqq

函数原型:struct bfq_queue *bfq_entity_to_bfqq(struct bfq_entity *entity)

返回类型:struct bfq_queue

参数:

类型参数名称
struct bfq_entity *entity
264  struct bfq_queue * bfqq = NULL
266  如果非* For non-leaf nodes in the hierarchy, the associated * scheduler queue, %NULL on leaf nodes.bfqq等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(entity, structbfq_queue, entity)
269  返回:bfqq
调用者
名称描述
bfq_class_idx
bfq_calc_finishq_calc_finish - assign the finish time to an entity.*@entity: the entity to act upon.*@service: the service to be charged to the entity.
bfq_idle_extractq_idle_extract - extract an entity from the idle tree.*@st: the service tree of the owning @entity.*@entity: the entity being removed.
bfq_active_insertq_active_insert - insert an entity in the active tree of its* group/device
bfq_get_entity
bfq_active_extractq_active_extract - remove an entity from the active tree.*@st: the service_tree containing the tree.*@entity: the entity being removed.
bfq_idle_insertq_idle_insert - insert an entity into the idle tree.*@st: the service tree containing the tree.*@entity: the entity to insert.
bfq_forget_entityq_forget_entity - do not consider entity any longer for scheduling*@st: the service tree.*@entity: the entity being removed.*@is_in_service: true if entity is currently the in-service entity.* Forget everything about @entity
__bfq_entity_update_weight_prioUpdate weight and priority of entity
bfq_update_fin_time_enqueue
bfq_get_next_queueGet next queue for service.
bfq_init_entity