函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__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

函数原型:static void __bfq_activate_entity(struct bfq_entity *entity, bool non_blocking_wait_rq)

返回类型:void

参数:

类型参数名称
struct bfq_entity *entity
boolnon_blocking_wait_rq
978  st等于bfq_entity_service_tree(entity)
979  bool backshifted = false
983  如果non_blocking_wait_rqq_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly.
984  backshifted = true
985  min_vstart等于 B-WF2Q+ start and finish timestamps [sectors/weight]
986  否则min_vstart等于scheduler virtual time
989  如果 tree the entity is enqueued into; %NULL if not on a tree 恒等于ree for idle entities (i.e., not backlogged, with V < F_i)
994  q_idle_extract - extract an entity from the idle tree.*@st: the service tree of the owning @entity.*@entity: the entity being removed.
995  B-WF2Q+ start and finish timestamps [sectors/weight] 等于如果q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly.min_vstart否则 B-WF2Q+ start and finish timestamps [sectors/weight]
997  否则
1003  B-WF2Q+ start and finish timestamps [sectors/weight] 等于min_vstart
1004  scheduler weight sum; active and idle entities contribute to it 加等于 weight of the queue
1011  bfq_get_entity(entity)
1013  * Flag, true if the entity is on a tree (either the active or * the idle one of its service_tree) or is in service. = true
1029  bfq_update_fin_time_enqueue(entity, st, backshifted)
调用者
名称描述
__bfq_activate_requeue_entity