函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_get_entity

函数原型:static void bfq_get_entity(struct bfq_entity *entity)

返回类型:void

参数:

类型参数名称
struct bfq_entity *entity
533  bfqq等于bfq_entity_to_bfqq(entity)
535  如果bfqq
536  ce counter 自加
537  bfq_log_bfqq(parent bfq_data , bfqq, "get_entity: %p %d", bfqq, ce counter )
539  否则bfqg_and_blkg_get(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_group, entity))
调用者
名称描述
__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