函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rns true if the in-service queue gets freed

函数原型:bool __bfq_bfqd_reset_in_service(struct bfq_data *bfqd)

返回类型:bool

参数:

类型参数名称
struct bfq_data *bfqd
1612  in_serv_bfqq等于 bfq_queue in service
1613  in_serv_entity等于ity representing this queue in the scheduler
1614  entity等于in_serv_entity
1616  bfq_clear_bfqq_wait_request(in_serv_bfqq)
1617  hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped
1618  bfq_queue in service = NULL
1626  Next two macros are fake loops when cgroups support is not* enabled. I fact, in such a case, there is only one level to go up* (to reach the root group).(entity)
1627  ity in service = NULL
1634  如果非* Flag, true if the entity is on a tree (either the active or * the idle one of its service_tree) or is in service.
1641  ref等于ce counter
1642  Task holds one reference to the queue, dropped when task exits. Each rq* in-flight on this queue also holds a reference, dropped when rq is freed.* Scheduler lock must be held here. Recall not to use bfqq after calling* this function on it.
1643  如果ref恒等于1则返回:true
1647  返回:false
调用者
名称描述
__bfq_bfqq_expire