函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_update_fin_time_enqueue

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

返回类型:void

参数:

类型参数名称
struct bfq_entity *entity
struct bfq_service_tree *st
boolbackshifted
907  bfqq等于bfq_entity_to_bfqq(entity)
914  st等于Update weight and priority of entity
915  q_calc_finish - assign the finish time to an entity.*@entity: the entity to act upon.*@service: the service to be charged to the entity.
950  如果backshiftedq_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly.
951  delta等于scheduler virtual time B-WF2Q+ start and finish timestamps [sectors/weight]
953  如果bfqqdelta除等于actor by which the weight of this queue is multiplied
956  B-WF2Q+ start and finish timestamps [sectors/weight] 加等于delta
957  B-WF2Q+ start and finish timestamps [sectors/weight] 加等于delta
960  q_active_insert - insert an entity in the active tree of its* group/device
调用者
名称描述
__bfq_activate_entity__bfq_activate_entity - handle activation of entity.*@entity: the entity being activated.*@non_blocking_wait_rq: true if entity was waiting for a request* Called for a 'true' activation, i.e., if entity is not active and
__bfq_requeue_entity__bfq_requeue_entity - handle requeueing or repositioning of an entity