Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:throtl_tg_can_downgrade

Proto:static bool throtl_tg_can_downgrade(struct throtl_grp *tg)

Type:bool

Parameter:

TypeParameterName
struct throtl_grp *tg
1976  td = throtl_data this group belongs to
1977  now = jiffies
1983  If time_after_eq(now, low_upgrade_time + throtl_slice) && time_after_eq(now, g should not be an intermediate node + throtl_slice) && ( Not throtl_tg_is_idle(tg) || Not list_empty - tests whether a list is empty*@head: the list to test. ) Then Return true
1989  Return false
Caller
NameDescribe
throtl_hierarchy_can_downgrade