Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_entity_service_tree

Proto:struct bfq_service_tree *bfq_entity_service_tree(struct bfq_entity *entity)

Type:struct bfq_service_tree

Parameter:

TypeParameterName
struct bfq_entity *entity
704  sched_data = the scheduler queue this entity belongs to
705  idx = bfq_class_idx(entity)
707  Return array of service trees, one per ioprio_class + idx
Caller
NameDescribe
__bfq_entity_update_weight_prioUpdate weight and priority of entity
bfq_bfqq_servedq_bfqq_served - update the scheduler status after selection for* service.*@bfqq: the queue being served.*@served: bytes to transfer.* NOTE: this can be optimized, as the timestamps of upper level entities
__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
__bfq_activate_requeue_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.