Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-wf2q.c Create Date:2022-07-28 17:59:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_entity_to_bfqq

Proto:struct bfq_queue *bfq_entity_to_bfqq(struct bfq_entity *entity)

Type:struct bfq_queue

Parameter:

TypeParameterName
struct bfq_entity *entity
264  struct bfq_queue * bfqq = NULL
266  If Not * For non-leaf nodes in the hierarchy, the associated * scheduler queue, %NULL on leaf nodes. Then 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  Return bfqq
Caller
NameDescribe
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