Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rns true if the in-service queue gets freed

Proto:bool __bfq_bfqd_reset_in_service(struct bfq_data *bfqd)

Type:bool

Parameter:

TypeParameterName
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  If Not * Flag, true if the entity is on a tree (either the active or * the idle one of its service_tree) or is in service. Then
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  If ref == 1 Then Return true
1647  Return false
Caller
NameDescribe
__bfq_bfqq_expire