函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:The following function returns false either if every active queue* must receive the same share of the throughput (symmetric scenario),* or, as a special case, if bfqq must receive a share of the* throughput lower than or equal to the share that every

函数原型:static bool bfq_asymmetric_scenario(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:bool

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
680  smallest_weight等于bfqqpointer to the weight counter associated with this entity pointer to the weight counter associated with this entity 恒等于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.(Same as rb_first(), but O(1) ( & * rbtree of weight counters of @bfq_queues, sorted by * weight. Used to keep track of whether all @bfq_queues have * the same weight. The tree contains one counter for each * distinct weight associated to some active and not * weight-raised @bfq_queue (see), structbfq_weight_counter, weights_node)
692  varied_queue_weights等于非smallest_weight且非RB_EMPTY_ROOT( & rb_root)且rb_leftrb_right的值
697  multiple_classes_busy等于* Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[0]且* Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[1]或* Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[0]且* Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[2]或* Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[1]且* Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[2]
702  返回:varied_queue_weightsmultiple_classes_busy
调用者
名称描述
bfq_serv_to_chargesee the definition of bfq_async_charge_factor for details
bfq_arm_slice_timer
idling_needed_for_service_guaranteesThere is a case where idling does not have to be performed for* throughput concerns, but to preserve the throughput share of* the process associated with bfqq